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

KeyDatatypeRequiredDescription
childrenbooleanFlag to indicate if response should contain child nodes.

HEADERS

KeyDatatypeRequiredDescription
appkeystring
Acceptstring

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"]}