POST api/TablesManagement/ADUHolidays?pType={pType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pType | string |
Required |
Body Parameters
HolidayGetName | Description | Type | Additional 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-11-21T00:00:00+02: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-11-21T00:00:00+02: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:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
HolidayName | Description | Type | Additional 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-11-21T11:44:59.2242849+02:00", "holidesc": "sample string 2", "make_turn": "sample string 3", "is_work": "sample string 4", "interface_code": "sample string 5", "old_code": "2024-11-21T11:44:59.2242849+02: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-11-21T11:44:59.2242849+02: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-11-21T11:44:59.2242849+02:00</old_code> </Holiday>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.