POST api/Mobile/Ping
Get updated geolocation and check for new alert
Request Information
URI Parameters
None.
Body Parameters
PingParm| Name | Description | Type | Additional information |
|---|---|---|---|
| UserGUID | string |
None. |
|
| LocationData | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserGUID": "sample string 1",
"LocationData": "sample string 2"
}
application/xml, text/xml
Sample:
<PingParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models.Mobile"> <LocationData>sample string 2</LocationData> <UserGUID>sample string 1</UserGUID> </PingParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationMsg |
If set, the notification message that should be displayed to the user |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"NotificationMsg": "sample string 1"
}
application/xml, text/xml
Sample:
<PingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models.Mobile"> <NotificationMsg>sample string 1</NotificationMsg> </PingResponse>