Docs
Add Resource Type Rate Card
POST /resourceTypes/{resourceTypeId}/rate-cards
POST
/resourceTypes/{resourceTypeId}/rate-cardsRequired 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 an empty rate card owned by the resource type. Add its rates and reset definitions with the rate-cards/{rateCardId} sub-routes. This replaces the flat POST rate-cards and the old association of an existing card with a type.
The type's first card becomes its default. Later cards don't change the default; use Set Default Rate Card for that.
Requires
ResourceTypeDatabase.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The owning resource type. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | The card's name. |
Response
201 Created with { "id": "<rate card id>" }.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Missing or invalid name. |
| 403 | Missing ResourceTypeDatabase.Edit. |
| 404 | Resource type not found in this organization. |