Organization management
Retrieve all descendants of a business entity
Use this endpoint to get all the business entities that are descendants of the entity specified by the ID. Descendants include children of a business entities and also the children of those children.
get/v1/organization/business_entities/{id}/descendants
Request
- Base URLhttps://api.sinai.com
- Auth
- OAuth 2Client credentialsToken URLhttps://auth.sinai.com/oauth2/tokenScopeshttps://api.sinai.com/organization
- or OAuth 2Authorization codehttps://auth.sinai.com/oauth2/authorizeToken URLhttps://auth.sinai.com/oauth2/token
- TypeScripthttps://skmtc.dev/sinai/apis/sinai-api/docs/v1/organization/business_entities/:id/descendants/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The unique identifier for the business entity
Query parameters
business_entity_type_idstring uuid
filter entities by this type id
business_entity_type_category'ORG_LEVEL' | 'MID_LEVEL' | 'FACILITY_LEVEL' | 'PROCESS_LEVEL'
filter entities by this type category
Response
Business entity retrieved successfully
Example response
[
{
"name": "Manufacturing plant",
"description": "The building where things are manufactured"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.