Create a reservation service resource
Links a resource to a service.
Endpoint
POST/reservation-service-resources
Body
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Your organization ID (the API key's organization). |
service_id | integer | Yes | Service ID. |
resource_id | integer | Yes | Resource ID. |
assignment_mode | string | No | required (default), optional or any_available. |
quantity_required | integer | No | Capacity used per reservation. Default 1. |
priority | integer | No | Default 0. |
Request
Response
Returns the created service resource object.
json
Errors
| Status | When |
|---|---|
400 Bad Request | Missing required field or invalid assignment_mode. |
403 Forbidden | organization_id is not the API key's organization. |
Report an issue with this documentation
Please log in to report issues with our documentation.