GET api/Holiday

Get Holiday Lookup Table data

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of HolidayData
NameDescriptionTypeAdditional information
EnergyCode

string

None.

EnergyDescription

string

None.

DateOfHoliday

date

None.

HolidayDescription

string

None.

Response Formats

application/json, text/json
Sample:
[
  {
    "EnergyCode": "sample string 1",
    "EnergyDescription": "sample string 2",
    "DateOfHoliday": "2024-11-21T03:27:41.295052-08:00",
    "HolidayDescription": "sample string 4"
  },
  {
    "EnergyCode": "sample string 1",
    "EnergyDescription": "sample string 2",
    "DateOfHoliday": "2024-11-21T03:27:41.295052-08:00",
    "HolidayDescription": "sample string 4"
  }
]
application/xml, text/xml
Sample:
<ArrayOfHolidayData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIDAS_Api.Models">
  <HolidayData>
    <DateOfHoliday>2024-11-21T03:27:41.295052-08:00</DateOfHoliday>
    <EnergyCode>sample string 1</EnergyCode>
    <EnergyDescription>sample string 2</EnergyDescription>
    <HolidayDescription>sample string 4</HolidayDescription>
  </HolidayData>
  <HolidayData>
    <DateOfHoliday>2024-11-21T03:27:41.295052-08:00</DateOfHoliday>
    <EnergyCode>sample string 1</EnergyCode>
    <EnergyDescription>sample string 2</EnergyDescription>
    <HolidayDescription>sample string 4</HolidayDescription>
  </HolidayData>
</ArrayOfHolidayData>