Get the options available on a resource and a slot. The customer can buy multiple types of options when processing their booking. Be careful, some contraints like the min and max quantity must be respected when adding an option.
GET https://api.digital-nautic.com/v3/resources/{resourceId}/slots/{slotId}/options
Parameter name | Value | Description | Additional |
---|---|---|---|
resourceId | string | pass a mandatory resource id to get access to the options |
Required |
slotId | string | pass a mandatory slot to get the related options |
Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
test | boolean | set to true to return test resources |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK found items |
Resource Slot Option[] |
400 | Bad Request invalid input, object invalid |
|
401 | Unauthorized authorization information is missing or invalid |
|
404 | Not Found a slot with the specified ID was not found |