POST api/organisationstructure/SaveHolidayManagement

Request Information

URI Parameters

None.

Body Parameters

RequestHolidayManagement
NameDescriptionTypeAdditional information
ID

integer

None.

name

string

None.

nameAr

string

None.

fromdate

string

None.

todate

string

None.

company

integer

None.

location

integer

None.

description

string

None.

daysreminder

integer

None.

notify

boolean

None.

reprocess

boolean

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "name": "sample string 2",
  "nameAr": "sample string 3",
  "fromdate": "sample string 4",
  "todate": "sample string 5",
  "company": 1,
  "location": 1,
  "description": "sample string 6",
  "daysreminder": 1,
  "notify": true,
  "reprocess": true,
  "CreatedBy": 1
}

application/xml, text/xml

Sample:
<RequestHolidayManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <CreatedBy>1</CreatedBy>
  <ID>1</ID>
  <company>1</company>
  <daysreminder>1</daysreminder>
  <description>sample string 6</description>
  <fromdate>sample string 4</fromdate>
  <location>1</location>
  <name>sample string 2</name>
  <nameAr>sample string 3</nameAr>
  <notify>true</notify>
  <reprocess>true</reprocess>
  <todate>sample string 5</todate>
</RequestHolidayManagement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />