GetLocation
HTTP GetRequest
http://api.plaspy.com/api/GetLocation?Account=string&ApiKey=string&idDevice=string&StartUTC=datetime&datetime&LastPosition=boolean
Response
[{"DateTime":"datetime","Latitude":double,"Longitude":double,"Speed":float,"Course":float,"Battery":int,...}]
POST JSON
Request
{"Account":"string","ApiKey":"string","IdDevice":"string","StartUTC":"datetime","EndUTC":"datetime","LastPosition":boolean}
Response
[{"DateTime":"datetime","Latitude":double,"Longitude":double,"Speed":float,"Course":float,"Battery":int,...}]
POST XML
Request
<PRequest><Account>string</Account><ApiKey>string</ApiKey><IdDevice>string</IdDevice><StartUTC>datetime</StartUTC><EndUTC>datetime</EndUTC><LastPosition>boolean</LastPosition></PRequest>
Response
<?xml version="1.0" encoding="utf-16"?><ArrayOfPLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PLocation><DateTime>DateTime</DateTime><Latitude>double</Latitude><Longitude>double</Longitude><Speed>double</Speed><Course>double</Course><Battery>int</Battery>...</PLocation></ArrayOfPLocation>
GetAlert
HTTP GetRequest
http://api.plaspy.com/api/GetAlert?Account=string&ApiKey=string&idDevice=string&StartUTC=datetime&datetime&LastAlert=boolean
Response
[{"DateTime":"datetime","Latitude":double,"Longitude":double,"Text":string, ...}]
POST JSON
Request
{"Account":"string","ApiKey":"string","IdDevice":"string","StartUTC":"datetime","EndUTC":"datetime","LastAlert":boolean}
Response
[{"DateTime":"datetime","Latitude":double,"Longitude":double,"Text":string, ...}]
POST XML
Request
<PRequest><Account>string</Account><ApiKey>string</ApiKey><IdDevice>string</IdDevice><StartUTC>datetime</StartUTC><EndUTC>datetime</EndUTC><LastAlert>boolean</LastLocation></PRequest>
Response
<?xml version="1.0" encoding="utf-16"?><ArrayOfPAlert xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PLocation><DateTime>DateTime</DateTime><Latitude>double</Latitude><Longitude>double</Longitude><Text>string</Text>...</PLocation></ArrayOfPAlert>
Índice
- Welcome to ALTAGAMA GPS help
- Map
- Reports
- Left panel
- Show Route
- GeoFences
- Alerts
- Mileage Calculation
- Atributes
- Enable map notifications
- Statistics
- Devices
- Alerts
- Enable Telegram notifications
- Email alerts sending limits
- Groups
- Share Access
- Users
- Settings
- SMS
- Activation Code
- Line Renewal
- Points redemption
- Developers
- API Activation
- Rest API
- Authentication
- Devices
- Device
- Last Location
- Locations
- Alerts
- Embed on my website
- Embed the map on my website
- Mobile App
- Advanced Mobile App
- Mobile application with push notifications
- API (Obsolete)
- Operations and results
- Format of requests and responses
- Example
- Sample Codes