Docs
Get Resource
GET /resources/{resourceId}
GET
/resources/{resourceId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Returns one org resource with its attribute values, rate card links and rule sets.
Requires
ResourceInventory.Read permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceId | Guid | Required | The org resource. |
Response Fields
| Field | Type | Description |
|---|---|---|
| id / type / resourceTypeId / resourceVariantId | As on **Get Resources**. | |
| name / label / identifier / quantity / crewId / settlement / isArchived | As on **Get Resources**. | |
| attributeValues | array | `{ id, resourceAttributeId, value }`. |
| rateCards | array | `{ rateCardId, isDefault }`. |
| ruleSetIds | Guid[] | Rule sets linked to the resource. |
| incomplete | object| null | `{ missingRequired: [{ resourceAttributeId, label, pricingRole }], blocksPricing }`. Null when every required attribute has a value. |
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Resource not found. |