GET/resources/{resourceId}
Returns one inventory resource with its attribute values, rate card links and rule sets; a Crew resource's
crewId is an OrgCrew_GetCrew id. A temporary unit names its sourceOrder and window; location is its home location.
The id comes from Resources_GetResources. Needs the resource inventory read permission.
Path Parameters
| Field | Type | Required | Description |
|---|
| resourceId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| resourceTypeId | uuid | |
| resourceVariantId | uuid | |
| name | string| null | |
| label | string| null | |
| identifier | string| null | |
| quantity | integer| null | |
| crewId | uuid| null | |
| settlement | string| null | |
| isArchived | boolean | |
| isTemporary | boolean | |
| availableFrom | date-time| null | |
| availableUntil | date-time| null | |
| sourceOrderLineItemId | uuid| null | |
| sourceOrder | GetResourceResponseNamedRef | |
| locationId | uuid| null | |
| location | GetResourceResponseNamedRef | |
| access | string[]| null | |
| attributeValues | GetResourceResponseAttributeValue[]| null | |
| rateCards | GetResourceResponseRateCardAssociation[]| null | |
| ruleSetIds | uuid[]| null | |
| incomplete | GetResourceResponseIncompleteInfo | |
GetResourceResponseNamedRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetResourceResponseAttributeValue
| Field | Type | Description |
|---|
| id | uuid | |
| resourceAttributeId | uuid | |
| value | JsonElement| null | |
GetResourceResponseRateCardAssociation
| Field | Type | Description |
|---|
| rateCardId | uuid | |
| name | string| null | |
| isOwned | boolean | |
| isDefault | boolean | |
GetResourceResponseIncompleteInfo
| Field | Type | Description |
|---|
| missingRequired | GetResourceResponseIncompleteInfoMissingProperty[]| null | |
| blocksPricing | boolean | |
GetResourceResponseIncompleteInfoMissingProperty
| Field | Type | Description |
|---|
| resourceAttributeId | uuid | |
| label | string| null | |
| pricingRole | string| null | |