Relating to the actions that should be undertaken by the Track My Ride platform if the emergency/panic button is pressed.
Action-Save
Update emergency contact email/s and SMS phone number/s
module=emergency&action=save
Required data
To update emergency contacts, send the following variables in the request through query params or via form-data.
Variables are contained within variable "data". For example, to set the variable "email" to "[email protected]", add data[email]=[email protected]
Updating
When updating, all variables are required, otherwise, they will be set to default values.
Variables
Name | Description | Required | Example |
---|---|---|---|
Comma-separated list of emails to contact when the emergency button is pressed | yes | "[email protected], [email protected]" | |
sms | Comma-separated list of phone numbers to contact when the emergency button is pressed | yes | "" -> No numbers will be sms'ed |
Example Request and Returned Data
For further info see here