Returns the resource or role for the specified resource ID.

get

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

Request

Path Parameters
id
Type: integer (int64)
Required: true
ID of Resource to be found.

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.