POST ePMS/getHoliday

Request Information

URI Parameters

None.

Body Parameters

holiday_param
NameDescriptionTypeAdditional information
country_code

string

None.

isEstate

integer

None.

isMill

integer

None.

holiday_type

string

None.

selected_date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "country_code": "sample string 1",
  "isEstate": 2,
  "isMill": 3,
  "holiday_type": "sample string 4",
  "selected_date": "sample string 5"
}

application/xml, text/xml

Sample:
<holiday_param xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIfromEPMS.Controllers">
  <country_code>sample string 1</country_code>
  <holiday_type>sample string 4</holiday_type>
  <isEstate>2</isEstate>
  <isMill>3</isMill>
  <selected_date>sample string 5</selected_date>
</holiday_param>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'holiday_param'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
result

Object

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {},
  "data": {}
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIfromEPMS.Controllers">
  <data />
  <result />
</ResponseModel>