GET holidays
Returns a list of holiday service dates and the service group ids that apply to the dates.
Resource URL
http://api.rgrta.com/holidays
Parameters
holidayid
optional
|
Specifies the Holiday ID, which is determined through this interface. To find the Holiday ID you wish to reference, you can pull the list of Holidays and view the data.
Example Value: 12345 |
holidayabbr
optional
|
The abbreviated name of the holiday.
Example Value: 7/4/13
|
holidayname
optional
|
The full name of the holiday.
Example Value: INDEPENDENCE DAY |
holidaydate
optional
|
The date of the holiday, in yyyymmdd format.
Example Value: 20130704 |
servicegroupid
optional
|
Specifies the Service Group ID, which can be obtained from the API using the MasterServiceGroup methods.
Example Value: INDEPENDENCE DAY |
Response Object
Holiday
Example Request
GET - http://api.rgrta.com/holidays?holidaydate=20130704
[
{
"HolidayId":45,
"HolidayAbbr":"7/4/13",
"HolidayName":"INDEPENDENCE DAY",
"HolidayDate":"20130704",
"ServiceGroupId":3
}
]