Retrieve an instance of holidays

get

/services/rest/connect/latest/holidays/{id}

Request

Path Parameters

Response

Supported Media Types

Default Response

Body ()
Contains information on holidays used by the system.
Root Schema : holidays
Type: object
Contains information on holidays used by the system.
Show Source
Nested Schema : namedIDs-holidays-adminVisibleInterfaces
Type: object
Named ID that can be included in a list
Show Source
  • Minimum Value: 1
    Maximum Value: 9.223372036854776E18
    ID value. This is the key for the list entry.
  • Maximum Length: 255
    Name used to lookup this object

Examples

Use GET with the following syntax to retrieve data for a holiday:

https://your_site_interface/services/rest/connect/version/holidays/holiday_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/holidays/2

Response body example

{
  "id": 2,
  "lookupName": "Thanksgiving Day",
  "adminVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/holidays/2/adminVisibleInterfaces"
      }
    ]
  },
  "displayOrder": 4,
  "holidayDate": "2016-11-24",
  "name": "Thanksgiving Day",
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/holidays/2"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/holidays/2"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/holidays",
      "mediaType": "application/schema+json"
    }
  ]
}