POST api/Locations/UpdateGPS
Request Information
URI Parameters
None.
Body Parameters
locationgps| Name | Description | Type | Additional information |
|---|---|---|---|
| loc_code | decimal number |
None. |
|
| com_code | decimal number |
None. |
|
| latitude | decimal number |
None. |
|
| longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"loc_code": 1.0,
"com_code": 2.0,
"latitude": 3.0,
"longitude": 4.0
}
application/xml, text/xml
Sample:
<locationgps xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpotEZ.Data.DAL"> <com_code>2</com_code> <latitude>3</latitude> <loc_code>1</loc_code> <longitude>4</longitude> </locationgps>
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.