mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 05:17:22 +00:00
1.5 KiB
1.5 KiB
title, description, ms.reviewer, manager, ms.author, ms.topic, ms.prod, ms.technology, author, ms.date
title | description | ms.reviewer | manager | ms.author | ms.topic | ms.prod | ms.technology | author | ms.date |
---|---|---|---|---|---|---|---|---|---|
Get seat | The Get seat operation retrieves the information about an active seat for a specified user in the Microsoft Store for Business. | aaroncz | vinpa | article | w10 | windows | vinaypamnani-msft | 09/18/2017 |
Get seat
The Get seat operation retrieves the information about an active seat for a specified user in the Microsoft Store for Business.
Request
GET:
https://bspmts.mp.microsoft.com/V1/Inventory/{productId}/{skuId}/Seats/{username}
URI parameters
The following parameters may be specified in the request URI.
Parameter | Type | Description |
---|---|---|
productId | string | Required. Product identifier for an application that is used by the Store for Business. |
skuId | string | Required. Product identifier that specifies a specific SKU of an application. |
username | string | Requires UserPrincipalName (UPN). User name of the target user account. |
Response
Response body
The response body contains SeatDetails.
Error code | Description | Retry | Data field | Details |
---|---|---|---|---|
400 | Invalid parameters | No | Parameter name Reason: Missing parameter or invalid parameter Details: String |
Invalid can include productId, skuId or username |
404 | Not found | ItemType: Inventory, User, Seat Values: ProductId/SkuId, UserName, ProductId/SkuId/Username |
||
409 | Conflict | Reason: Not online |