Get Pilot Details
POST/api/[...]/airline/pilot
This endpoint allows you to retrieve Pilot Details.
Supported Authentication Types
API Token | Client Token | Grant Token |
---|---|---|
Yes | No | No |
Available Body Attributes
- Name
username
- Type
- Pilot Username
- Description
Pilot Account not Found Response
{
"status": "error",
"message": "Pilot Account Not Found"
"request": {
"username": "HTA0002"
}
}
Success Response
{
"status": "success",
"request": {
"username": "HTA0002"
},
"data": {
"user_id": 123,
"pilot_id": 456,
"rank_id": 587,
"username": "HTA0002",
"user_name": "Lukas J.",
"pilot_created": "2015-08-30 15:45:58",
"rank": {
"name": "Second Officer",
"abbreviation": "2/O",
"image": "https://cdn.vamsys.xyz/rank_icons/abc.png"
},
"statistics": {
"latestPirep": {...},
"pireps": {...},
"flightTime": {...},
"points": {...},
...
}
}
}