Get a list of unavailable date ranges for a specified date range.

Request

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

Path parameters

Parameter name Value Description Additional
resourceId string

pass a mandatory resource id to get access to the unavailabilities

Required

Query parameters

Parameter name Value Description Additional
from date

start of the requested date range

Required
to date

end of the requested date range

Required
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

DateRange[]
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 unavailabilities

from

start of the requested date range

to

end of the requested date range

test

set to true to return test resources

Response Content-Type
Try it out!