Use API to log in VisionMax fleet portal, email address and password are required.
Please be noticed, The access token of fleet and master account are separatedTherefor you can't access Master endpoints with Fleet access token, and vice versa.
When the user's email has access to two or more fleets, a list of available fleets will be returned.
OK
{- "email": "user@example.com",
- "password": "string",
- "type": "email",
- "udid": ""
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "fleets": [
- {
- "depth": 0,
- "id": 0,
- "name": "string"
}
]
}
}
This API uses the token from your login to exchange for the token of the specific fleet you want to obtain and gives you the ability to roam in fleets
The token used to exchange will revoked since it was used to obtain a new one.
If the fleet_id is empty or does not exist, the token will not be exchanged, and only the list of available fleets will be returned.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "fleets": [
- {
- "depth": 0,
- "id": 0,
- "name": "string",
- "current": true
}
]
}
}