SupportContact salesStart free trial
  • Getting started
    • Overview
    • Authentication
    • Querying tutorial
    • OData Integrations
    • Work Breakdown Structure
    • Software Development Kits
    • API Patch Notes
    • FAQ
    • Terms of use
  • API Reference
LogoLogo
SupportContact salesStart free trial
API ReferenceHoliday

Query country holidays

GET
https://api.projectmanager.com/api/data/holidays/country
GET
/api/data/holidays/country
1curl https://api.projectmanager.com/api/data/holidays/country \
2 -H "Authorization: Bearer <token>"
Try it
200Retrieved
1{
2 "error": {
3 "technicalError": "string",
4 "additionalErrors": [
5 "string"
6 ],
7 "validationErrors": {},
8 "message": "string"
9 },
10 "success": true,
11 "hasError": true,
12 "statusCode": "Continue",
13 "data": [
14 {
15 "id": "string",
16 "date": "2023-01-15",
17 "countryId": 1,
18 "countryName": "string"
19 }
20 ]
21}
Retrieve a list of country holidays that match an [OData formatted query](https://www.odata.org/).
Was this page helpful?
Previous

Query global holidays

Next
Built with
Query global holidays

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.
x-integration-namestringOptional
The name of the calling system passed along as a header parameter

Query parameters

$topintegerOptional
The number of records to return
$skipintegerOptional

Skips the given number of records and then returns $top records

$filterstringOptional
Filter the expression according to oData queries
$orderbystringOptional
Order collection by this field.
$expandstringOptional
Include related data in the response

Response

Success
errorobject or null
If the API call failed, this will contain information about the error that occurred.
successboolean or null

True if the API call succeeded; false otherwise.

hasErrorboolean or null
True if the API call failed.
statusCodeenum or null
The HTTP code of the response.
datalist of objects or null
If the API call succeeded, this will contain the results.
The name of the calling system passed along as a header parameter
The number of records to return

Bearer authentication of the form Bearer <token>, where token is your auth token.

Retrieve a list of country holidays that match an OData formatted query.