Table of contents
TOC
Collapse the table of content
Expand the table of content

Get Inventory

Last Updated: 10/28/2016

The Get Inventory operation retrieves information from the Windows Store for Business to determine if new or updated applications are available.

Request

MethodRequest URI

GET

https://bspmts.mp.microsoft.com/V1/Inventory?continuationToken={ContinuationToken}&modifiedSince={ModifiedSince}&licenseTypes={LicenseType}&maxResults={MaxResults}

URI parameters

The following parameters may be specified in the request URI.

ParameterTypeDefault valueDescription

continuationToken

string

Null

modifiedSince

datetime

Null

Optional. Used to determine changes since a specific date.

licenseTypes

collection of LicenseType

{online,offline}

Optional. A collection of license types

maxResults

integer-32

25

Optional. Specifies the maximum number of applications returned in a single query.

Here are some examples.

Query typeExample query

Online and offline

https://bspmts.mp.microsoft.com/V1/Inventory?licenseTypes=online&licenseTypes=offline&maxResults=25

Online only

https://bspmts.mp.microsoft.com/V1/Inventory?licenseTypes=online&maxResults=25

Offline only

https://bspmts.mp.microsoft.com/V1/Inventory?licenseTypes=offline&maxResults=25

Both license types and a time filter

https://bspmts.mp.microsoft.com/V1/Inventory?modifiedSince=2015-07-13T14%3a02%3a25.6863382-07%3a00&licenseTypes=online&licenseTypes=offline&maxResults=25

Error codeDescriptionRetryData field

400

Invalid parameters

No

Parameter name

Invalid modified date, license, or continuationToken

Details: String

Response

Response body

The response contains InventoryResultSet.

© 2017 Microsoft