Getting Applications from Azure
This section explains how to get a list with existing applications for the specified Microsoft Office 365 organization from Azure Active Directory.
Request
GET https://<hostname>:4443/v5/Organizations/{organizationId}/Applications |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Type | Description |
---|---|---|
organizationId | string | The identification number of the Office 365 organization. Can be obtained as described in Getting Organizations. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
The response contains the following information.
Property | Type | Description |
---|---|---|
offset | integer | Shows the offset value. |
limit | integer | Shows the limit of records to be displayed on the page. |
results | Contains the Results object. | |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Property | Type | Description |
---|---|---|
applicationId | string | Shows the identification number of the application in Microsoft Azure. |
displayName | string | Shows the name of the application. |
tags | string | Shows tags for the application (if any). |
Example
Request: GET https://abc.tech.local:4443/v5/Organizations/7a53143a-b7c8-4d5a-a569-7dcbca8ab71b/Applications
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "offset": 0, "limit": 30, "results": [ { "applicationId": "e749397b-93d2-4750-9ec5-c9d351fbf50f", "displayName": "APP_1", "tags": [] }, { "applicationId": "eb88dd59-3121-483d-8af5-1d31bcea6d01", "displayName": "APP_2", "tags": [] }, { "applicationId": "d7b0fb29-c817-4eee-80eb-4340aa5eff9e", "displayName": "APP_3", "tags": [] } ], "_links": {"self": {"href": "https://epsilon.tech.local:4443/v5/Organizations/7a53143a-b7c8-4d5a-a569-7dcbca8ab71b/Applications?offset=0&limit=30"}} } |