Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
v1.0 | Chat List Messages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-messages.md | GET /chats/{chat-id}/messages ## Optional query parameters -You can use the [$top](/graph/query-parameters#top-parameter) query parameter to control the number of items per response. Maximum allowed `$top` value is 50. +This method supports the following [OData query parameters](/graph/query-parameters). ++| Name | Description | +|:-|:| +| [$top](/graph/query-parameters#top-parameter)| Controls the number of items per response. Maximum allowed `$top` value is 50. | +| [$orderBy](/graph/query-parameters#orderBy) | Currently supports **LastModifiedDateTime (default)** and **CreatedDateTime**. | + The other [OData query parameters](/graph/query-parameters) are not currently supported. ## Request headers If successful, this method returns a `200 OK` response code and a collection of ### Request -The following is an example of the request. `$top=2` is passed to retrieve two messages. +The following is an example of the request. `$top=2` is passed to retrieve two messages and `$orderBy=createdDateTime` is passed to sort messages by createdDateTime. # [HTTP](#tab/http) The following is an example of the request. `$top=2` is passed to retrieve two m "name": "get_allchatmessages_1" }--> ```msgraph-interactive-GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages?$top=2 +GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages?$top=2&$orderBy=createdDateTime ``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/get-allchatmessages-1-csharp-snippets.md)] |
v1.0 | Cloudpcprovisioningpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcprovisioningpolicy-get.md | Content-Type: application/json { "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy",- "id": "b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff", - "displayName": "Display Name value", "description": "Description value",- "onPremisesConnectionId": "6bf90392-5fea-459a-9e9d-a2484abbffff", - "imageId": "Image ID value", + "displayName": "Display Name value", + "domainJoinConfiguration": { + "domainJoinType": "hybridAzureADJoin", + "onPremisesConnectionId": "16ee6c71-fc10-438b-88ac-daa1ccafffff" + }, + "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "Image Display Name value",- "imageType": "custom" + "imageId": "Image ID value", + "imageType":"custom", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff" } ``` Content-Type: application/json { "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy",- "id": "b0c2d35f-3385-46c8-a6f5-6c3dfad7ffff", - "displayName": "Display Name value", "description": "Description value",- "onPremisesConnectionId": "6bf90392-5fea-459a-9e9d-a2484abbffff", - "imageId": "Image ID value", + "displayName": "Display Name value", + "domainJoinConfiguration": { + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", + "regionName": null, + "type": "hybridAzureADJoin" + }, + "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "Image Display Name value",- "imageType": "custom", + "imageId": "Image ID value", + "imageType":"custom", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", "assignments": [ { "@odata.type": "microsoft.graph.cloudPcProvisioningPolicyAssignment", |
v1.0 | Cloudpcprovisioningpolicy Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcprovisioningpolicy-update.md | PATCH /deviceManagement/virtualEndpoint/provisioningPolicies/{id} In the request body, supply a JSON representation of the [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) object. -The following table shows the properties that are required when you create the [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md). +The following table shows the properties that can be updated for the [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md). |Property|Type|Description| |:|:|:| The following table shows the properties that are required when you create the [ ## Response -If successful, this method returns a `200 OK` response code and an updated [cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md) object in the response body. +If successful, this method returns a `204 No Content` response code. ## Examples PATCH https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisio Content-Type: application/json {- "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy", - "displayName": "Display Name value", - "description": "Description value", - "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", - "imageId": "Image ID value", - "imageDisplayName": "Image Display Name value", - "imageType": "custom" + "displayName": "HR provisioning policy", + "description": "Provisioning policy for India HR employees", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701b553" } ``` # [C#](#tab/csharp) Content-Type: application/json ### Response -**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response", "truncated": true,- "@odata.type": "microsoft.graph.cloudPcProvisioningPolicy" } -->- ``` http-HTTP/1.1 200 OK -Content-Type: application/json --{ - "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy", - "id": "8931f750-f750-8931-50f7-318950f7ffff", - "displayName": "Display Name value", - "description": "Description value", - "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", - "imageId": "Image ID value", - "imageDisplayName": "Image Display Name value", - "imageType": "custom" -} +HTTP/1.1 204 No Content ``` |
v1.0 | Schedule List Shifts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-list-shifts.md | If successful, this method returns a `200 OK` response code and a collection of ## Example -#### Request +### Request The following is an example of a request that gets all **shift** objects that have a shared version and a draft version between March 11 - March 18, 2019. GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/shifts?$filter=shar -#### Response +### Response The following is an example of the response. |
v1.0 | Virtualendpoint List Provisioningpolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-provisioningpolicies.md | Content-Type: application/json "value": [ { "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy",- "id": "1d164206-bf41-4fd2-8424-a3192d392273", - "displayName": "Display Name value", "description": "Description value",- "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", - "imageId": "Image ID value", + "displayName": "Display Name value", + "domainJoinConfiguration": { + "onPremisesConnectionId": "16ee6c71-fc10-438b-88ac-daa1ccafffff", + "type": "hybridAzureADJoin" + }, + "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "Image Display Name value",- "imageType":"custom" + "imageId": "Image ID value", + "imageType":"custom", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff" } ] } |
v1.0 | Virtualendpoint Post Provisioningpolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-provisioningpolicies.md | POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provision Content-Type: application/json {- "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy", - "displayName": "Display Name value", - "description": "Description value", - "onPremisesConnectionId": "6bf90392-5fea-459a-9e9d-a2484abbffff", - "imageId": "Image ID value", - "imageDisplayName": "Image Display Name value", - "imageType": "gallery" + "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy", + "description": "Description value", + "displayName": "Display Name value", + "domainJoinConfiguration": { + "domainJoinType": "hybridAzureADJoin", + "onPremisesConnectionId": "16ee6c71-fc10-438b-88ac-daa1ccafffff" + }, + "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", + "imageDisplayName": "Windows-10 19h1-evd", + "imageId": "MicrosoftWindowsDesktop_Windows-10_19h1-evd", + "imageType":"gallery", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff" } ``` # [C#](#tab/csharp) Content-Type: application/json { "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy",- "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", - "displayName": "Display Name value", "description": "Description value",- "onPremisesConnectionId": "6bf90392-5fea-459a-9e9d-a2484abbffff", - "imageId": "Image ID value", - "imageDisplayName": "Image Display Name value", - "imageType": "custom" + "displayName": "Display Name value", + "domainJoinConfiguration": { + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", + "type": "hybridAzureADJoin" + }, + "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", + "imageDisplayName": "Windows-10 19h1-evd", + "imageId": "MicrosoftWindowsDesktop_Windows-10_19h1-evd", + "imageType":"gallery", + "onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff" } ``` |
v1.0 | Cloudpcprovisioningpolicy | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpcprovisioningpolicy.md | Represents a Cloud PC provisioning policy. |Property|Type|Description| |:|:|:|-|id|String|Unique identifier for the Cloud PC provisioning policy. Read-only.| -|displayName|String|The display name for the provisioning policy.| |description|String|The provisioning policy description.|-|onPremisesConnectionId|String|The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network thatΓÇÖs validated by the Cloud PC service.| -|imageId|String|The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:<ul><li>publisher: Microsoftwindowsdesktop.</li> <li>offer: windows-ent-cpc.</li> <li>sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os.</li></ul>| +|displayName|String|The display name for the provisioning policy.| +|domainJoinConfiguration|[cloudPcDomainJoinConfiguration](../resources/cloudpcdomainjoinconfiguration.md)|Specifies how Cloud PCs will join Azure Active Directory.| +|id|String|Unique identifier for the Cloud PC provisioning policy. Read-only.| |imageDisplayName|String|The display name for the OS image youΓÇÖre provisioning.|+|imageId|String|The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:<ul><li>publisher: Microsoftwindowsdesktop.</li> <li>offer: windows-ent-cpc.</li> <li>sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os.</li></ul>| |imageType|cloudPcProvisioningPolicyImageType|The type of OS image (custom or gallery) you want to provision on Cloud PCs. Possible values are: `gallery`, `custom`.| |microsoftManagedDesktop|[microsoftManagedDesktop](../resources/microsoftManagedDesktop.md)|The specific settings for the Microsoft Managed Desktop, which enables customers to get a managed device experience for the Cloud PC. Before you can enable Microsoft Managed Desktop, an admin must configure it.|-|domainJoinConfiguration|[cloudPcDomainJoinConfiguration](../resources/cloudpcdomainjoinconfiguration.md)|Specifies how Cloud PCs will join Azure Active Directory.| +|onPremisesConnectionId|String|The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network thatΓÇÖs validated by the Cloud PC service.| ## Relationships The following is a JSON representation of the resource. ``` json { "@odata.type": "#microsoft.graph.cloudPcProvisioningPolicy",- "id": "String (identifier)", - "displayName": "String", "description": "String",- "onPremisesConnectionId": "String", - "imageId": "String", + "displayName": "String", + "domainJoinConfiguration": { + "@odata.type": "microsoft.graph.cloudPcDomainJoinConfiguration" + }, + "id": "String (identifier)", "imageDisplayName": "String",+ "imageId": "String", "imageType": "String", "microsoftManagedDesktop": { "type": "String", "profile": "String" },- "domainJoinConfiguration": { - "@odata.type": "microsoft.graph.cloudPcDomainJoinConfiguration" - } + "onPremisesConnectionId": "String" } ``` |
v1.0 | Shift | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/shift.md | A unit of scheduled work in a [schedule](schedule.md). ## JSON representation -Here is a JSON representation of the resource. +The following is a JSON representation of the resource. <!-- { "blockType": "resource", |
v1.0 | Bookingappointment Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingappointment-get.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", |
v1.0 | Bookingbusiness List Appointments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingbusiness-list-appointments.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", |
v1.0 | Bookingbusiness List Calendarview | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingbusiness-list-calendarview.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", |
v1.0 | Bookingbusiness List Services | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingbusiness-list-services.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "4567 First Street", "city": "Buffalo", "state": "NY", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "4567 First Street", "city": "Buffalo", "state": "NY", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "4567 First Street", "city": "Buffalo", "state": "NY", |
v1.0 | Bookingbusiness Post Appointments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingbusiness-post-appointments.md | Content-type: application/json "uniqueIdType": null, "address": { "@odata.type": "#microsoft.graph.physicalAddress",- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", Content-type: application/json "uniqueIdType": null, "address": { "@odata.type": "#microsoft.graph.physicalAddress",- "type": "home", - "postOfficeBox": "", "street": "", "city": "", "state": "", |
v1.0 | Bookingbusiness Post Services | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingbusiness-post-services.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "4567 First Street", "city": "Buffalo", "state": "NY", |
v1.0 | Bookingservice Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bookingservice-get.md | Content-type: application/json "uniqueId": null, "uniqueIdType": null, "address": {- "type": "home", - "postOfficeBox": "", "street": "4567 First Street", "city": "Buffalo", "state": "NY", |
v1.0 | Schedule List Shifts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-list-shifts.md | If successful, this method returns a `200 OK` response code and a collection of ## Example -#### Request +### Request The following is an example of a request that gets all **shift** objects that have a shared version and a draft version between March 11 - March 18, 2019. GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts?$filter=shar -#### Response +### Response The following is an example of the response. |