Enumerar windowsUpdateCatalogItemsList windowsUpdateCatalogItems
Espacio de nombres: microsoft.graphNamespace: microsoft.graph
Importante: Las API de Microsoft Graph en la versión /beta están sujetas a cambios; no se admite el uso de producción.Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.
Nota: la API de Microsoft Graph para Intune requiere una licencia activa de Intune para el espacio empresarial.Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Enume las propiedades y las relaciones de los objetos windowsUpdateCatalogItem.List properties and relationships of the windowsUpdateCatalogItem objects.
Requisitos previosPrerequisites
Se requiere uno de los siguientes permisos para llamar a esta API. Para obtener más información, incluido cómo elegir permisos, vea Permisos.One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Tipo de permisoPermission type | Permisos (de más a menos privilegiados)Permissions (from most to least privileged) |
---|---|
Delegado (cuenta profesional o educativa)Delegated (work or school account) | DeviceManagementConfiguration.ReadWrite.All, DeviceManagementConfiguration.Read.AllDeviceManagementConfiguration.ReadWrite.All, DeviceManagementConfiguration.Read.All |
Delegado (cuenta personal de Microsoft)Delegated (personal Microsoft account) | No admitida.Not supported. |
AplicaciónApplication | DeviceManagementConfiguration.ReadWrite.All, DeviceManagementConfiguration.Read.AllDeviceManagementConfiguration.ReadWrite.All, DeviceManagementConfiguration.Read.All |
Solicitud HTTPHTTP Request
GET /deviceManagement/windowsUpdateCatalogItems
Encabezados de solicitudRequest headers
EncabezadoHeader | ValorValue |
---|---|
AuthorizationAuthorization | Se requiere <token> de portador.Bearer <token> Required. |
AceptarAccept | application/jsonapplication/json |
Cuerpo de la solicitudRequest body
No proporcione un cuerpo de solicitud para este método.Do not supply a request body for this method.
RespuestaResponse
Si se realiza correctamente, este método devuelve un código 200 OK
de respuesta y una colección de objetos windowsUpdateCatalogItem en el cuerpo de la respuesta.If successful, this method returns a 200 OK
response code and a collection of windowsUpdateCatalogItem objects in the response body.
EjemploExample
SolicitudRequest
Aquí tiene un ejemplo de la solicitud.Here is an example of the request.
GET https://graph.microsoft.com/beta/deviceManagement/windowsUpdateCatalogItems
RespuestaResponse
Aquí tiene un ejemplo de la respuesta. Nota: Puede que el objeto de respuesta que aparece aquí se trunque para abreviar. Todas las propiedades se devolverán de una llamada real.Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 263
{
"value": [
{
"@odata.type": "#microsoft.graph.windowsUpdateCatalogItem",
"id": "e887145d-145d-e887-5d14-87e85d1487e8",
"displayName": "Display Name value",
"releaseDateTime": "2017-01-01T00:01:34.7470482-08:00"
}
]
}