POST api/TablesManagement/ADUHolidays?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

HolidayGet
NameDescriptionTypeAdditional information
holidesc

string

None.

make_turn

string

None.

is_work

string

None.

holidate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "holidesc": "sample string 1",
  "make_turn": "sample string 2",
  "is_work": "sample string 3",
  "holidate": "2019-10-15T00:00:00+03:00"
}

application/xml, text/xml

Sample:
<HolidayGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <holidate>2019-10-15T00:00:00+03:00</holidate>
  <holidesc>sample string 1</holidesc>
  <is_work>sample string 3</is_work>
  <make_turn>sample string 2</make_turn>
</HolidayGet>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Holiday
NameDescriptionTypeAdditional information
holidate

date

None.

holidesc

string

Required

String length: inclusive between 0 and 30

make_turn

string

String length: inclusive between 0 and 1

is_work

string

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "holidate": "2019-10-15T02:07:15.5109734+03:00",
  "holidesc": "sample string 2",
  "make_turn": "sample string 3",
  "is_work": "sample string 4"
}

application/xml, text/xml

Sample:
<Holiday xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <holidate>2019-10-15T02:07:15.5109734+03:00</holidate>
  <holidesc>sample string 2</holidesc>
  <is_work>sample string 4</is_work>
  <make_turn>sample string 3</make_turn>
</Holiday>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.