Docs
Bulk Create Resources
POST /resources/bulk
POST
/resources/bulkRequired 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. |
Creates a serialized fleet: one Asset resource per identifier, all on the same type and variant, sharing settlement and attributeValues.
Requires
ResourceInventory.Edit permission.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The type. |
| resourceVariantId | Guid | Required | The variant. |
| name | string | Required | Name for every unit. |
| identifiers | string[] | Required | One unit per identifier. |
| rateCardId | Guid? | Optional | One of the type's cards. |
| settlement | string | Optional | `OwnedCost` or `Invoiceable`. |
| attributeValues | array | Optional | `{ resourceAttributeId, value }`. A required Inventory-active attribute (not Checkbox) can't be left blank. |
Response
201 Created. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Invalid arguments, or a required Inventory attribute left blank ("A value is required for {names}."). |
| 404 | Type, variant or card not found. |