Search holiday by ID
Use case
In this example, we will find the holiday information by holidayId.
Use case data
API parameters with values
...api/v1/holidays/ID-4505
Sample API call
To search the holidays, make the following call.
Sample request
Below is the sample request to find account transactions.
curl --location 'https://holiday-api.sandbox.tuumplatform.com/api/v1/holidays/ID-4505' \
--header 'x-channel-code: SYSTEM' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiT2ZmaWNlciBUZXN0IiwiZW1wbG95ZWVJZCI6IklELTEwMDAiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHBpcnlEVGltZSI6IjIwMjQtMTItMTlUMTc6NDI6MDciLCJleHAiOjE3MzQ2MzAxMjcsInJvbGVzIjpbIkFETUlOIl19.xQbGI03c_NFup2g19BDUOLojuwB_evH8o9Yw0ftjA_c' \
--data ''
Sample response
Below you find an example response body to the API call above.
Response
{
"errors": null,
"validationErrors": null,
"data": {
"holidayId": "ID-4505",
"holidayTypeCode": "BANKHOLIDAY",
"countryCode": "DE",
"date": "2027-12-23",
"statusCode": "ACCEPTED",
"holidayDeclineReason": null,
"dependentUpdatesRequired": true
}
}
Result
The search returned information about the holiday ID-4505
.