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.

Request

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

Path parameters

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

Query parameters

Parameter name Value Description Additional
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 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


Explore this API

resourceId

pass a mandatory resource id to get access to the options

slotId

pass a mandatory slot to get the related options

test

set to true to return test resources

Response Content-Type
Try it out!