| GET | /protectme/history | Get the history of Protect Me panic activations. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IdNumber | form | string | Yes | ID Number of the user making this request. |
| 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. |
| ActivationHistory | form | List<ActivationHistoryData> | No | A list of activation history instances, ordered by most recent first. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DateActivated | form | string | No | Date and Time of the activation in ISO 8601 format. |
| Latitude | form | double | No | Latitude of the activation location. |
| Longitude | form | double | No | Longitude of the activation location. |
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.
GET /protectme/history HTTP/1.1 Host: galaxymobile.api.client.prod.86degrees.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ProductAvailable":false,"UserHasAccess":false,"ActivationHistory":[{}],"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}