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": "2024-04-20T00: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>2024-04-20T00: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:

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

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

interface_code

string

None.

old_code

date

None.

Response Formats

application/json, text/json

Sample:
{
  "holidate": "2024-04-20T10:54:11.8023806+03:00",
  "holidesc": "sample string 2",
  "make_turn": "sample string 3",
  "is_work": "sample string 4",
  "interface_code": "sample string 5",
  "old_code": "2024-04-20T10:54:11.8023806+03:00"
}

application/xml, text/xml

Sample:
<Holiday xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <holidate>2024-04-20T10:54:11.8023806+03:00</holidate>
  <holidesc>sample string 2</holidesc>
  <interface_code>sample string 5</interface_code>
  <is_work>sample string 4</is_work>
  <make_turn>sample string 3</make_turn>
  <old_code>2024-04-20T10:54:11.8023806+03:00</old_code>
</Holiday>

application/bson

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