POST api/Attendance/SaveOvertimeRequest

Request Information

URI Parameters

None.

Body Parameters

OvertimeRequestDto
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

MasterId

integer

None.

LogDate

date

None.

Hours

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "MasterId": 2,
  "LogDate": "2024-12-23T18:24:26.6121815+02:00",
  "Hours": 3.0
}

application/xml, text/xml

Sample:
<OvertimeRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos">
  <EmployeeId>1</EmployeeId>
  <Hours>3</Hours>
  <LogDate>2024-12-23T18:24:26.6121815+02:00</LogDate>
  <MasterId>2</MasterId>
</OvertimeRequestDto>

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.