Get Holiday

get
https://{environment}.terminal-backend.url/api/v1/terminals/{terminalId}/vacations/{id}

Retrieve detailed information about a specific holiday in a terminal. This endpoint provides comprehensive details about a particular holiday, including its date and any special notes.

id
string
required
terminalId
string<uuid>
required

holiday information

id
string<uuid>

the unique identifier for the vacation, not required when creating vacation

name
string
startDate
string<date-time>
endDate
string<date-time>
comments
string
status
string
Allowed values:
activeinactive
Server Variables
:
Parameters
:
:
curl --request GET \
--url https://production.terminal-backend.url/api/v1/terminals/{terminalId}/vacations/{id} \
--header 'Accept: application/json, */*'
Response Example
1
{
2
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
3
"name": "string",
4
"startDate": "2019-08-24T14:15:22Z",
5
"endDate": "2019-08-24T14:15:22Z",
6
"comments": "string",
7
"status": "active"
8
}