To connect to our service you must authenticate using an OAuth scheme. As a first step you must generate an access token of type JWT.
To generate the token, you must use the following credentials by your account userName y password
HTTP request
POST /api/Auth/Token
Request body
{
"userName": "string",
"apiKey": "string"
}
Parameter | Type | Description |
---|---|---|
userName | string | Account username |
apiKey | string | Account API Key |
Response body
{
"success": true,
"errorCode": 0,
"errorText": "string",
"token": "string",
"expires": "2022-10-30T16:28:30.513Z"
}
Parameter | Type | Description |
---|---|---|
success | bool | Return if operation was successful |
errorCode | int | Error code |
errorText | string | Text with description of the error |
token | string | Token created to use other methods |
expires | datetime | Expiration date of generated token |
Í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