POST api/Attendance/SaveVacationRequest

Request Information

URI Parameters

None.

Body Parameters

EmployeePermissionCreateDto
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

PermissionId

integer

None.

AlternativeEmployeeId

integer

None.

Isdeducted

boolean

None.

DateFrom

date

None.

DateTo

date

None.

TimeFrom

time interval

None.

TimeTo

time interval

None.

Address

string

None.

Phone

string

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "PermissionId": 2,
  "AlternativeEmployeeId": 3,
  "Isdeducted": true,
  "DateFrom": "2024-12-23T17:36:57.1192821+02:00",
  "DateTo": "2024-12-23T17:36:57.1192821+02:00",
  "TimeFrom": "00:00:00.1234567",
  "TimeTo": "00:00:00.1234567",
  "Address": "sample string 4",
  "Phone": "sample string 5",
  "Notes": "sample string 6"
}

application/xml, text/xml

Sample:
<EmployeePermissionCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos">
  <Address>sample string 4</Address>
  <AlternativeEmployeeId>3</AlternativeEmployeeId>
  <DateFrom>2024-12-23T17:36:57.1192821+02:00</DateFrom>
  <DateTo>2024-12-23T17:36:57.1192821+02:00</DateTo>
  <EmployeeId>1</EmployeeId>
  <Isdeducted>true</Isdeducted>
  <Notes>sample string 6</Notes>
  <PermissionId>2</PermissionId>
  <Phone>sample string 5</Phone>
  <TimeFrom>PT0.1234567S</TimeFrom>
  <TimeTo>PT0.1234567S</TimeTo>
</EmployeePermissionCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.