windows-itpro-docs/windows/client-management/mdm/get-seats-assigned-to-a-user.md
2022-08-10 18:08:08 -04:00

1.3 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 seats assigned to a user The Get seats assigned to a user operation retrieves information about assigned seats in the Microsoft Store for Business. aaroncz vinpa article w10 windows vinaypamnani-msft 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:

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 contains 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