mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-26 07:43:36 +00:00
56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
||
title: Get seats assigned to a user
|
||
description: The Get seats assigned to a user operation retrieves information about assigned seats in the Microsoft Store for Business.
|
||
ms.reviewer:
|
||
manager: aaroncz
|
||
ms.author: vinpa
|
||
ms.topic: article
|
||
ms.prod: windows-client
|
||
ms.technology: itpro-manage
|
||
author: vinaypamnani-msft
|
||
ms.date: 09/18/2017
|
||
---
|
||
|
||
# Get seats assigned to a user
|
||
|
||
The **Get seats assigned to a user** operation retrieves information about assigned seats in the Microsoft Store for Business.
|
||
|
||
## Request
|
||
|
||
**GET:**
|
||
|
||
```http
|
||
https:<span></span>//bspmts.mp.microsoft.com/V1/Users/{username}/Seats?continuationToken={ContinuationToken}&maxResults={MaxResults}
|
||
```
|
||
|
||
### URI parameters
|
||
|
||
The following parameters may be specified in the request URI.
|
||
|
||
|Parameter|Type|Description|
|
||
|--- |--- |--- |
|
||
|useName|string|Requires UserPrincipalName (UPN). User name of the target user account.|
|
||
|continuationToken|string|Optional.|
|
||
|maxResults|inteter-32|Optional. Default = 25, Maximum = 100|
|
||
|
||
|
||
## Response
|
||
|
||
### Response body
|
||
|
||
The response body contains [SeatDetailsResultSet](data-structures-windows-store-for-business.md#seatdetailsresultset).
|
||
|
||
|Error code|Description|Retry|Data field|
|
||
|--- |--- |--- |--- |
|
||
|400|Invalid parameters|No|Parameter name<br><br>Reason: Invalid parameter<br><br>Details: String|
|
||
|404|Not found||Item type: User<br><br>Values: UserName|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|