Get an app
Use this method in the Microsoft Store submission API to retrieve information about a specific app that is registered to your Partner Center account.
Prerequisites
To use this method, you need to first do the following:
- If you have not done so already, complete all the prerequisites for the Microsoft Store submission API.
- Obtain an Azure AD access token to use in the request header for this method. After you obtain an access token, you have 60 minutes to use it before it expires. After the token expires, you can obtain a new one.
Request
This method has the following syntax. See the following sections for usage examples and descriptions of the header and request body.
Method | Request URI |
---|---|
GET | https://manage.devcenter.microsoft.com/v1.0/my/applications/{applicationId} |
Request header
Header | Type | Description |
---|---|---|
Authorization | string | Required. The Azure AD access token in the form Bearer <token>. |
Request parameters
Name | Type | Description |
---|---|---|
applicationId | string | Required. The Store ID of the app to retrieve. For more information about the Store ID, see View app identity details. |
Request body
Do not provide a request body for this method.
Request example
The following example demonstrates how to retrieve information about an app with the Store ID value 9NBLGGH4R315.
GET https://manage.devcenter.microsoft.com/v1.0/my/applications/9NBLGGH4R315 HTTP/1.1
Authorization: Bearer <your access token>
Response
The following example demonstrates the JSON response body for a successful call to this method. For more details about the values in the response body, see Application resource.
{
"id": "9NBLGGH4R315",
"primaryName": "ApiTestApp",
"packageFamilyName": "30481DevCenterAPITester.ApiTestAppForDevbox_ng6try80pwt52",
"packageIdentityName": "30481DevCenterAPITester.ApiTestAppForDevbox",
"publisherName": "CN=…",
"firstPublishedDate": "1601-01-01T00:00:00Z",
"lastPublishedApplicationSubmission": {
"id": "1152921504621086517",
"resourceLocation": "applications/9NBLGGH4R315/submissions/1152921504621086517"
},
"pendingApplicationSubmission": {
"id": "1152921504621243487",
"resourceLocation": "applications/9NBLGGH4R315/submissions/1152921504621243487"
},
"hasAdvancedListingPermission": false
}
Error codes
If the request cannot be successfully completed, the response will contain one of the following HTTP error codes.
Error code | Description |
---|---|
404 | The specified app could not be found. |
409 | The app uses a Partner Center feature that is currently not supported by the Microsoft Store submission API. |