Contents
Query Business Hierarchy
Method
GET
Syntax
/grs/v1/tenant/{tenantId}/businesshierarchy
Request Body
N/A
Response Body
{
"nodes":[
{
"nodeId":346,
"name":"ACME Solution",
"children":[
{
"nodeId":458,
"name":"Financial Department",
"children":null
},
{
"nodeId":351,
"name":"Sales",
"children":[
{
"nodeId":353,
"name":"Outbound",
"children":null
}
],
},
{
"nodeId":457,
"name":"Sales Department",
"children":null
}
],
}
]
}
HTTP Status Codes
- 200 OK—Response body provided
- 401 Unauthorized—APIToken not valid
- 403 Forbidden—User does not have permission for the specified tenant.
- 503—Service Unavailable
Notes
Will return the list of nodes that the userid has permission to view.
This page was last edited on May 16, 2017, at 08:20.
Comments or questions about this documentation? Contact us for support!