Get seats assigned to a user

The Get seats assigned to a user operation retrieves information about assigned seats in the Micosoft Store for Business.

Request

GET:

https:<span></span>//bspmts.mp.microsoft.com/V1/Users/{username}/Seats?continuationToken={ContinuationToken}&amp;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 contain SeatDetailsResultSet.

Error code Description Retry Data field
400 Invalid parameters No Parameter name

Reason: Invalid parameter

Details: String
404 Not found Item type: User

Values: UserName