Returns the resource for the specified resource code and type (labor, nonlabor, or material).

get

/primeapi/restapi/v16.2/resource/code/{code}/type/{type}

Request

Path Parameters
code
Type: string
Required: true
Returns the resource for the specified resource code and type (labor, nonlabor, or material).
type
Type: string
Required: true

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.