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.

DepartmentId

integer

None.

BranchId

integer

None.

company

integer

None.

location

integer

None.

description

string

None.

daysreminder

integer

None.

notify

boolean

None.

reprocess

boolean

None.

CreatedBy

integer

None.

holidayType

string

None.

paidStatus

string

None.

workAllowed

string

None.

compensationType

string

None.

compOffAmount

string

None.

minHours

integer

None.

compOffApproval

string

None.

expiryDays

integer

None.

applyToHoliday

boolean

None.

applyToWeeklyOff

boolean

None.

applyToLeaveDay

boolean

None.

UpdatedBy

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",
  "DepartmentId": 1,
  "BranchId": 1,
  "company": 1,
  "location": 1,
  "description": "sample string 6",
  "daysreminder": 1,
  "notify": true,
  "reprocess": true,
  "CreatedBy": 1,
  "holidayType": "sample string 7",
  "paidStatus": "sample string 8",
  "workAllowed": "sample string 9",
  "compensationType": "sample string 10",
  "compOffAmount": "sample string 11",
  "minHours": 1,
  "compOffApproval": "sample string 12",
  "expiryDays": 1,
  "applyToHoliday": true,
  "applyToWeeklyOff": true,
  "applyToLeaveDay": true,
  "UpdatedBy": 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">
  <BranchId>1</BranchId>
  <CreatedBy>1</CreatedBy>
  <DepartmentId>1</DepartmentId>
  <ID>1</ID>
  <UpdatedBy>1</UpdatedBy>
  <applyToHoliday>true</applyToHoliday>
  <applyToLeaveDay>true</applyToLeaveDay>
  <applyToWeeklyOff>true</applyToWeeklyOff>
  <compOffAmount>sample string 11</compOffAmount>
  <compOffApproval>sample string 12</compOffApproval>
  <company>1</company>
  <compensationType>sample string 10</compensationType>
  <daysreminder>1</daysreminder>
  <description>sample string 6</description>
  <expiryDays>1</expiryDays>
  <fromdate>sample string 4</fromdate>
  <holidayType>sample string 7</holidayType>
  <location>1</location>
  <minHours>1</minHours>
  <name>sample string 2</name>
  <nameAr>sample string 3</nameAr>
  <notify>true</notify>
  <paidStatus>sample string 8</paidStatus>
  <reprocess>true</reprocess>
  <todate>sample string 5</todate>
  <workAllowed>sample string 9</workAllowed>
</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/" />