| POST | /protectme/location | Update the location of an in-progress panic request. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PanicId | body | int | Yes | The ID of the panic log. This is the ID returned by the panic provider when the service was activated. |
| Latitude | body | double | Yes | Latitude of the panic location. |
| Longitude | body | double | Yes | Longitude of the panic location. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProductAvailable | form | bool | No | Is the requested product set up and enabled on Galaxy. |
| UserHasAccess | form | bool | No | Does the user have access to this product, based on their Galaxy profile. |
| PanicId | form | long | No | The ID of the panic log. This is the ID returned by the panic provider. Used to get panic detail later. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /protectme/location HTTP/1.1
Host: galaxymobile.api.client.prod.86degrees.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"PanicId":0,"Latitude":0,"Longitude":0,"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ProductAvailable":false,"UserHasAccess":false,"PanicId":0,"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}