POST api/EmployeeLeave/PutEmployeeAttendance

Request Information

URI Parameters

None.

Body Parameters

EmployeeAttendence
NameDescriptionTypeAdditional information
ema_id

integer

None.

ema_employee

integer

None.

ema_cp_id

integer

None.

ema_in_time

date

None.

ema_out_time

date

None.

ema_login_latitude

string

None.

ema_login_longitude

string

None.

ema_logout_latitude

string

None.

ema_logout_longitude

string

None.

ema_year

integer

None.

ema_month

integer

None.

ema_from_date

date

None.

ema_to_date

date

None.

ema_created_by

integer

None.

EMA_LOGIN_LOCATION

integer

None.

EMA_LOGOUT_LOCATION

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ema_id": 1,
  "ema_employee": 1,
  "ema_cp_id": 1,
  "ema_in_time": "2024-05-19T15:30:14.7132254+05:30",
  "ema_out_time": "2024-05-19T15:30:14.7132254+05:30",
  "ema_login_latitude": "sample string 1",
  "ema_login_longitude": "sample string 2",
  "ema_logout_latitude": "sample string 3",
  "ema_logout_longitude": "sample string 4",
  "ema_year": 1,
  "ema_month": 1,
  "ema_from_date": "2024-05-19T15:30:14.7132254+05:30",
  "ema_to_date": "2024-05-19T15:30:14.7132254+05:30",
  "ema_created_by": 1,
  "EMA_LOGIN_LOCATION": 1,
  "EMA_LOGOUT_LOCATION": 1
}

application/xml, text/xml

Sample:
<EmployeeAttendence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <EMA_LOGIN_LOCATION>1</EMA_LOGIN_LOCATION>
  <EMA_LOGOUT_LOCATION>1</EMA_LOGOUT_LOCATION>
  <ema_cp_id>1</ema_cp_id>
  <ema_created_by>1</ema_created_by>
  <ema_employee>1</ema_employee>
  <ema_from_date>2024-05-19T15:30:14.7132254+05:30</ema_from_date>
  <ema_id>1</ema_id>
  <ema_in_time>2024-05-19T15:30:14.7132254+05:30</ema_in_time>
  <ema_login_latitude>sample string 1</ema_login_latitude>
  <ema_login_longitude>sample string 2</ema_login_longitude>
  <ema_logout_latitude>sample string 3</ema_logout_latitude>
  <ema_logout_longitude>sample string 4</ema_logout_longitude>
  <ema_month>1</ema_month>
  <ema_out_time>2024-05-19T15:30:14.7132254+05:30</ema_out_time>
  <ema_to_date>2024-05-19T15:30:14.7132254+05:30</ema_to_date>
  <ema_year>1</ema_year>
</EmployeeAttendence>

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.