Finds and returns all child resources/roles in the hierarchy of given Resource ID.

get

/primeapi/restapi/v16.2/resource/getChildrenInHierarchy/{id}/type/{type}

Request

Path Parameters
id
Type: integer (int64)
Required: true
Returns the resources that are children in the hierarchy of the specified Resource/Role ID.
type
Type: string
Required: true
ResourceClass to get resources

Response

Supported Media Types
  • application/json
200 Response
successful operation
Body
Root Schema : ApiEntityResource
Type: object
Nested Schema : codeValuesResource
Type: array
Unique Items Required: true
Lists all resource code types assigned to the resource with its corresponding value.
Nested Schema : Unit
Type: object
Nested Schema : ApiEntityCodeValueResource
Type: object
Nested Schema : ApiEntityCodeType
Type: object
Nested Schema : ApiEntityCodeValue
Type: object
Nested Schema : assignments
Type: array
Unique Items Required: true
Nested Schema : ApiEntityCodeEntityType
Type: object
404 Response
Resource does not exist or you do not have access to it.