Hierarchies
Create hierarchy
Creates a hierarchy. This can be used generically, but it's typically used to create business hierarchies along territorial lines: headquarters > countries > regions > branches, and so on.
This endpoint generates a Corporate hierarchy created event. See the Data and reporting guide for more information on events and setting up event notifications.
For more information on hierarchies, see Hierarchy.
post/corporate/v1/hierarchies
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/corporate/v1/hierarchies
- AuthHTTP bearer
Request body
Example request
{
"name": "string",
"levels": [
{
"name": "string",
"index": 0,
"description": "string"
}
]
}Response
Created
Example response
{
"levels": [
{
"index": 2
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.