Download OpenAPI specification:Download
User authentication
username required | string (Username) non-empty |
password required | string (Password) >= 6 characters |
{- "username": "string",
- "password": "string"
}
{- "token": "string"
}
List of accounts
ordering | string Which field to use when ordering the results. |
type | string Type of account |
children | string Children accounts |
page | integer A page number within the paginated result set. |
per_page | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "name": "string",
- "type": "client",
- "adminFullname": "string",
- "parentAccountName": "string",
- "objectsActive": 0,
- "objectsTotal": 0,
- "comment": "string",
- "isActive": true,
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
]
}
Create new account.
name required | string (Name) [ 1 .. 255 ] characters |
type | string (Type) Enum: "client" "partner" |
adminId required | integer (Admin id) |
comment | string or null (Comment) |
blockingDatetime | string or null <date-time> (Blocking date) |
{- "name": "string",
- "type": "client",
- "adminId": 0,
- "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
{- "id": 0,
- "name": "string",
- "type": "client",
- "adminId": 0,
- "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
{- "id": 0,
- "name": "string",
- "type": "client",
- "adminFullname": "string",
- "parentAccountName": "string",
- "objectsActive": 0,
- "objectsTotal": 0,
- "comment": "string",
- "isActive": true,
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
Update account by ID.
id required | string |
name required | string (Name) [ 1 .. 255 ] characters |
type | string (Type) Enum: "client" "partner" |
object (User) | |
comment | string or null (Comment) |
blockingDatetime | string or null <date-time> (Blocking date) |
{- "name": "string",
- "type": "client",
- "admin": {
- "email": "user@example.com",
- "username": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "isActive": true
}, - "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
{- "id": 0,
- "name": "string",
- "type": "client",
- "admin": {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "username": "string",
- "creatorName": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "accountName": "string",
- "accountType": "string",
- "isActive": true,
- "fullAccess": true,
- "language": "string",
- "timezone": 0,
- "visibleObjectsIds": "string"
}, - "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
Partial update account by ID.
id required | string |
name required | string (Name) [ 1 .. 255 ] characters |
type | string (Type) Enum: "client" "partner" |
object (User) | |
comment | string or null (Comment) |
blockingDatetime | string or null <date-time> (Blocking date) |
{- "name": "string",
- "type": "client",
- "admin": {
- "email": "user@example.com",
- "username": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "isActive": true
}, - "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
{- "id": 0,
- "name": "string",
- "type": "client",
- "admin": {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "username": "string",
- "creatorName": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "accountName": "string",
- "accountType": "string",
- "isActive": true,
- "fullAccess": true,
- "language": "string",
- "timezone": 0,
- "visibleObjectsIds": "string"
}, - "comment": "string",
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
Activate/deactivate account.
id required | string |
name required | string (Name) [ 1 .. 255 ] characters |
type | string (Type) Enum: "client" "partner" |
adminFullname | string (Admin fullname) non-empty |
parentAccountName | string (Parent account name) non-empty |
comment | string or null (Comment) |
isActive | boolean (Status) |
blockingDatetime | string or null <date-time> (Blocking date) |
{- "name": "string",
- "type": "client",
- "adminFullname": "string",
- "parentAccountName": "string",
- "comment": "string",
- "isActive": true,
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
{- "id": 0,
- "name": "string",
- "type": "client",
- "adminFullname": "string",
- "parentAccountName": "string",
- "objectsActive": 0,
- "objectsTotal": 0,
- "comment": "string",
- "isActive": true,
- "blockingDatetime": "2019-08-24T14:15:22Z"
}
List of object in account.
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
per_page | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "name": "string",
- "uniqueId": "string",
- "creatorName": "string",
- "accountName": "string",
- "phoneNumbers": [
- "string"
], - "deviceTypeName": "string",
- "lastMessageDatetime": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}
]
}
{- "id": 0,
- "name": "string",
- "uniqueId": "string",
- "creatorName": "string",
- "accountName": "string",
- "phoneNumbers": [
- "string"
], - "deviceTypeName": "string",
- "lastMessageDatetime": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}
Activate/deactivate object.
id required | string |
name required | string (Name) [ 1 .. 255 ] characters |
uniqueId required | string (Unique ID) [ 1 .. 255 ] characters |
creatorName required | string (Creator name) non-empty |
accountName required | string (Account name) non-empty |
phoneNumbers required | Array of strings or null |
lastMessageDatetime | string <date-time> (Last message datetime) |
isActive | boolean (Status) |
{- "name": "string",
- "uniqueId": "string",
- "creatorName": "string",
- "accountName": "string",
- "phoneNumbers": [
- "string"
], - "lastMessageDatetime": "2019-08-24T14:15:22Z",
- "isActive": true
}
{- "id": 0,
- "name": "string",
- "uniqueId": "string",
- "creatorName": "string",
- "accountName": "string",
- "phoneNumbers": [
- "string"
], - "deviceTypeName": "string",
- "lastMessageDatetime": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}
List of objects.
page | integer A page number within the paginated result set. |
per_page | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "deviceTypeId": "string",
- "lastMessage": "string",
- "id": 0,
- "sensors": "string",
- "drivers": "string",
- "connectedStatus": "string",
- "name": "string",
- "objectTypeId": "car",
- "deviceType": 0,
- "uniqueId": "string",
- "phoneNumber": [
- "string"
], - "password": "string",
- "creator": 0,
- "account": 0,
- "iconId": -2147483648,
- "objectIconColor": "string",
- "normalConsumption100": -2147483648,
- "citySpeedLimit": -2147483648,
- "maxIntervalBetweenMessages": -2147483648,
- "mileageFactor": 1,
- "speedLimitType": "string",
- "speedLimitParams": { },
- "objectCaptionColor": "string",
- "trackColor": { },
- "customFields": { },
- "tripDetector": { },
- "isActive": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
{- "deviceTypeId": "string",
- "lastMessage": "string",
- "id": 0,
- "sensors": "string",
- "drivers": "string",
- "connectedStatus": "string",
- "name": "string",
- "objectTypeId": "car",
- "deviceType": 0,
- "uniqueId": "string",
- "phoneNumber": [
- "string"
], - "password": "string",
- "creator": 0,
- "account": 0,
- "iconId": -2147483648,
- "objectIconColor": "string",
- "normalConsumption100": -2147483648,
- "citySpeedLimit": -2147483648,
- "maxIntervalBetweenMessages": -2147483648,
- "mileageFactor": 1,
- "speedLimitType": "string",
- "speedLimitParams": { },
- "objectCaptionColor": "string",
- "trackColor": { },
- "customFields": { },
- "tripDetector": { },
- "isActive": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}