POST api/Attendance/AddEditManualPunch
Request Information
URI Parameters
None.
Body Parameters
AddManualPunchViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeCode | string |
None. |
|
| LogDateTime | string |
None. |
|
| Punch | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| IsManualPunch | boolean |
None. |
|
| Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeCode": "sample string 1",
"LogDateTime": "sample string 2",
"Punch": "sample string 3",
"Latitude": "sample string 4",
"Longitude": "sample string 5",
"IsManualPunch": true,
"Location": "sample string 7"
}
application/xml, text/xml
Sample:
<AddManualPunchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Areas.Attendance.Models"> <EmployeeCode>sample string 1</EmployeeCode> <IsManualPunch>true</IsManualPunch> <Latitude>sample string 4</Latitude> <Location>sample string 7</Location> <LogDateTime>sample string 2</LogDateTime> <Longitude>sample string 5</Longitude> <Punch>sample string 3</Punch> </AddManualPunchViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |