manage:position permission. Returns every position as a nested tree of root positions, each with its single holder (or null) and its children. Not paginated — the hierarchy is small and only useful whole.core.session_token: ********************Authorization: Bearer ********************curl --location '/positions'{
"success": true,
"message": "string",
"meta": {
"page": 0,
"limit": 0,
"total": 0
},
"errors": [
{
"code": "CR-100001",
"field": "string",
"message": "string"
}
],
"result": [
{
"id": "string",
"name": "string",
"parentId": "string",
"order": 1,
"photo": "string",
"holder": {
"userId": "string",
"name": "string",
"nip": "string",
"rank": "string"
},
"children": [
{}
],
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
]
}