POST api/Location/Send_OutOfGeo
Request Information
URI Parameters
None.
Body Parameters
SendLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| EmpID | integer |
Required |
|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| isFakeCoordinate | boolean |
None. |
|
| Location | string |
None. |
|
| Reason | string |
None. |
|
| ApporovedBy | string |
None. |
|
| MarkVia | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"key": "sample string 1",
"EmpID": 2,
"Latitude": 3.1,
"Longitude": 4.1,
"isFakeCoordinate": true,
"Location": "sample string 6",
"Reason": "sample string 7",
"ApporovedBy": "sample string 8",
"MarkVia": 9
}
application/xml, text/xml
Sample:
<SendLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS_MVC.Models"> <ApporovedBy>sample string 8</ApporovedBy> <EmpID>2</EmpID> <Latitude>3.1</Latitude> <Location>sample string 6</Location> <Longitude>4.1</Longitude> <MarkVia>9</MarkVia> <Reason>sample string 7</Reason> <isFakeCoordinate>true</isFakeCoordinate> <key>sample string 1</key> </SendLocation>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.