| POST | /protectme/activate | Register a Protect Me panic request. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IdNumber | body | string | Yes | ID Number of the user making this request. |
| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /protectme/activate HTTP/1.1
Host: galaxymobile.api.client.prod.86degrees.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IdNumber: String,
Latitude: 0,
Longitude: 0,
ApiKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ProductAvailable: False,
UserHasAccess: False,
PanicId: 0,
Description: String,
Heading: String,
WasSuccessful: False,
ModelState: {}
}