Hierarchies
List hierarchies
Lists hierarchies and their levels.
get/corporate/v1/hierarchies
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/corporate/v1/hierarchies
- AuthHTTP bearer
Query parameters
cursorstring
Cursor to the next page of results. If no value is specified, it fetches the first page.
limitinteger
Maximum number of items per page. Defaults to 10
Response
OK
Example response
{
"hierarchies": [
{
"id": "9bb95e15-c0e6-4c84-b644-350c76a83358",
"levels": [
{
"id": "9bb95e15-c0e6-4c84-b644-350c76a83358",
"index": 2
}
]
}
],
"pagination": {
"limit": 10,
"cursor": "eyJJRCI6IjBjOGVhMTA4LWNhZTYtNDA2Mi1iMmQzLTFhMTZkNmJiNGIyOCIsIk9yZ0lEIjoiMDllYThhMDQtNWY5My0xMWVkLTliNmEtMDI0MmFjMTIwMDAyIn0="
}
}Changes
No recorded changes to this operation across all 1 revision of this API.