POST api/EmployeePunchInOut
Request Information
URI Parameters
None.
Body Parameters
EmpPunchInOut| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeID | string |
None. |
|
| VehicalType | string |
None. |
|
| OpeningReading | string |
None. |
|
| ClosingReading | string |
None. |
|
| TodaysPlan | string |
None. |
|
| CompletedWork | string |
None. |
|
| TYPE | string |
None. |
|
| OdometerPhoto | Collection of byte |
None. |
|
| EXTRA1 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeID": "sample string 1",
"VehicalType": "sample string 2",
"OpeningReading": "sample string 3",
"ClosingReading": "sample string 4",
"TodaysPlan": "sample string 5",
"CompletedWork": "sample string 6",
"TYPE": "sample string 7",
"OdometerPhoto": "QEA=",
"EXTRA1": "sample string 8"
}
application/xml, text/xml
Sample:
<EmpPunchInOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSwaroopAgromart.Models"> <ClosingReading>sample string 4</ClosingReading> <CompletedWork>sample string 6</CompletedWork> <EXTRA1>sample string 8</EXTRA1> <EmployeeID>sample string 1</EmployeeID> <OdometerPhoto>QEA=</OdometerPhoto> <OpeningReading>sample string 3</OpeningReading> <TYPE>sample string 7</TYPE> <TodaysPlan>sample string 5</TodaysPlan> <VehicalType>sample string 2</VehicalType> </EmpPunchInOut>
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. |