POST api/MDIHrms/poctEmployeeLocationApi
Request Information
URI Parameters
None.
Body Parameters
PoctEmployeeLocationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| empcode | string |
None. |
|
| copid | integer |
None. |
|
| lat | decimal number |
None. |
|
| lng | decimal number |
None. |
|
| ts | string |
None. |
|
| accuracy | decimal number |
None. |
|
| isMoving | boolean |
None. |
|
| eventName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"empcode": "sample string 1",
"copid": 1,
"lat": 2.0,
"lng": 3.0,
"ts": "sample string 4",
"accuracy": 1.0,
"isMoving": true,
"eventName": "sample string 5"
}
application/xml, text/xml
Sample:
<PoctEmployeeLocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDIHRMS.Models"> <accuracy>1</accuracy> <copid>1</copid> <empcode>sample string 1</empcode> <eventName>sample string 5</eventName> <isMoving>true</isMoving> <lat>2</lat> <lng>3</lng> <ts>sample string 4</ts> </PoctEmployeeLocationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.