windows-itpro-docs/windows/client-management/mdm/get-seats-assigned-to-a-user.md
2019-06-10 11:56:55 -07:00

2.3 KiB

title, description, ms.assetid, ms.reviewer, manager, ms.author, ms.topic, ms.prod, ms.technology, author, ms.date
title description ms.assetid 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 Micosoft Store for Business. CB963E44-8C7C-46F9-A979-89BBB376172B dansimp dansimp article w10 windows manikadhiman 09/18/2017

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

Method Request URI

GET

https://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 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