Get Organization Node
GET https://{{axpAPIDomain}}/api/admin/account/v1/accounts/:accountId/organization-nodes/:organizationNodeId?children=true
This API requires the Account Administrator role.
Gets an organization node by ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
children | boolean | Flag to indicate if response should contain child nodes. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Accept | string |
RESPONSES
status: OK
{"name":"PuneLocation","parentPath":"AccountA","organizationNodeId":"ACDSFE","url":"/api/admin/account/v1/accounts/AVSDER/organization-nodes/accountA-location1-id","nodeType":"OrganizationNode","countryCode":"IN","accountId":"AVSDER","profiles":[{"profileId":"AQXSWF","url":"/api/admin/user/v1/accounts/AVSDER/profiles/ASEDFG"}],"children":["/api/admin/account/v1/accounts/OHOTAT/organization-nodes/AQXSWF"]}