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.

Request

GET https://api.digital-nautic.com/v3/resources/{resourceId}/options

Path parameters

Parameter name Value Description Additional
resourceId string

pass a mandatory resource id to get access to the options.

Required

Query parameters

Parameter name Value Description Additional
isMandatory boolean

set to true to return only mandatory options

test boolean

set to true to return test resources

Response

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.


Explore this API

resourceId

pass a mandatory resource id to get access to the options.

isMandatory

set to true to return only mandatory options

test

set to true to return test resources

Response Content-Type
Try it out!