Location Received
This is a notification from the API when a location is received at the Ongair hosted account. It takes the form of a HTTP POST to the specified URL with the following parameters:
Field | Type | Value | Meaning |
---|---|---|---|
notification_type | String | LocationReceived | The type of the notification |
phone_number | String | (country code)(phone number) e.g. 254722200200 | Phone number that sent the message |
address | String | Location name e.g. Mombasa Road | Name of the location where the message was sent from |
latitude | Float | -1.3292233 for example for Mombasa Road | Latitude of the location where the message was sent from |
longitude | Float | 36.8772923 for example for Mombasa Road | Longitude of the location where the message was sent from |
The client should respond with a HTTP status code of 200. The response body is ignored.