POST api/Attendance/ApproveRejectAttendance

Request Information

URI Parameters

None.

Body Parameters

updatetAtendanceApproval
NameDescriptionTypeAdditional information
id

integer

None.

employeeId

string

None.

date

string

None.

inTime

string

None.

outTime

string

None.

remarks

string

None.

status

string

None.

user_id

string

None.

user_name

string

None.

device_id

string

None.

token

string

None.

geoLocation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "employeeId": "sample string 2",
  "date": "sample string 3",
  "inTime": "sample string 4",
  "outTime": "sample string 5",
  "remarks": "sample string 6",
  "status": "sample string 7",
  "user_id": "sample string 8",
  "user_name": "sample string 9",
  "device_id": "sample string 10",
  "token": "sample string 11",
  "geoLocation": "sample string 12"
}

application/xml, text/xml

Sample:
<updatetAtendanceApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models">
  <date>sample string 3</date>
  <device_id>sample string 10</device_id>
  <employeeId>sample string 2</employeeId>
  <geoLocation>sample string 12</geoLocation>
  <id>1</id>
  <inTime>sample string 4</inTime>
  <outTime>sample string 5</outTime>
  <remarks>sample string 6</remarks>
  <status>sample string 7</status>
  <token>sample string 11</token>
  <user_id>sample string 8</user_id>
  <user_name>sample string 9</user_name>
</updatetAtendanceApproval>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.