GET/resources
Lists the organization's inventory resources. Filter by type (Asset or Crew), resourceTypeId and variantId;
archived resources appear only with includeArchived. incomplete lists required attributes still missing and
whether that blocks pricing. A temporary unit (isTemporary) came from an org order line, sourceOrder, and is
available only inside availableFrom..availableUntil; filter with temporary (true or false) and sourceOrderId
(from Orders_GetOrders). location is the item's home location. Use Resources_GetResource for one resource's
rate cards and rule sets. Needs the resource inventory read permission.
Query Parameters
| Field | Type | Required | Description |
|---|
| type | string | Optional | |
| resourceTypeId | uuid | Optional | |
| variantId | uuid | Optional | |
| includeArchived | boolean | Optional | |
| temporary | boolean | Optional | |
| sourceOrderId | uuid | Optional | |
Response
Type: GetResourcesResponse[]
GetResourcesResponse
| 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 | |
| defaultRateCardId | uuid| null | |
| isArchived | boolean | |
| isTemporary | boolean | |
| availableFrom | date-time| null | |
| availableUntil | date-time| null | |
| sourceOrderLineItemId | uuid| null | |
| sourceOrder | GetResourcesResponseNamedRef | |
| locationId | uuid| null | |
| location | GetResourcesResponseNamedRef | |
| access | string[]| null | |
| attributeValues | GetResourcesResponseAttributeValue[]| null | |
| incomplete | GetResourcesResponseIncompleteInfo | |
GetResourcesResponseNamedRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetResourcesResponseAttributeValue
| Field | Type | Description |
|---|
| resourceAttributeId | uuid | |
| value | JsonElement| null | |
GetResourcesResponseIncompleteInfo
| Field | Type | Description |
|---|
| missingRequired | GetResourcesResponseIncompleteInfoMissingProperty[]| null | |
| blocksPricing | boolean | |
GetResourcesResponseIncompleteInfoMissingProperty
| Field | Type | Description |
|---|
| resourceAttributeId | uuid | |
| label | string| null | |
| pricingRole | string| null | |