Get the options available on a resource. The customer can buy multiple types of options when processing their booking. Be careful, some options are sometimes available on specific periods. So, the result may differ for a given slot.
GET https://api.digital-nautic.com/v3/resources/{resourceId}/options
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| resourceId | string | pass a mandatory resource id to get access to the options. |
Required |
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| isMandatory | boolean | set to true to return only mandatory options |
|
| 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 Option[] |
| 400 | Bad Request invalid input, object invalid |
|
| 401 | Unauthorized authorization information is missing or invalid. |
|
| 404 | Not Found a resource with the specified ID was not found. |