POST api/Valet/Activity/CarLocation/Update
Request Information
URI Parameters
None.
Body Parameters
GeoSessionBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| SessionId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Latitude": 1.1,
"Longitude": 2.1,
"SessionId": "3e70662913f84cb6b477e7a5cd4bee40"
}
application/xml, text/xml
Sample:
<GeoSessionBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels"> <SessionId>3e706629-13f8-4cb6-b477-e7a5cd4bee40</SessionId> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </GeoSessionBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| MessageId | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"MessageId": 899,
"Message": "\r\n",
"Data": {}
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Services.Response">
<MessageLog xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string></d2p1:string>
<d2p1:string></d2p1:string>
</MessageLog>
</ServiceResponse>