IBA Mobile — Logbook
16 endpoints. Server: https://api.tunnelflight.com/api
Coach Safety
GET /account/logbook/coach-safety/{member_id}
This endpoint retrieves the coach saftey for a specific member identified by their ID.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/coach-safety/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Create Logbook
POST /account/logbook/skills/
This endpoint allows you to create a new logbook entry for a specific skill within an account.
Request Body
-
cat_group(string): The category group for the skill. -
cat_id(string): The category ID for the skill. -
cat_name(string): The category name for the skill. -
entry_date(integer): The date of the logbook entry. -
entry_id(string): The ID of the logbook entry. -
comment(string): Additional comments for the logbook entry. -
instructor(string): The ID of the instructor. -
instructor_name(string): The name of the instructor. -
comments_instructor(string): Comments from the instructor. -
comment_denial(string): Comments for denial, if any. -
time(string): The time taken for the skill. -
skill(string): The ID of the skill. -
skill_name(string): The name of the skill. -
tunnel_name(string): The name of the tunnel. -
tunnel(string): The tunnel ID. -
status(string): The status of the logbook entry.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Request body
Request body example (default)
{
"cat_group": "",
"cat_id": "",
"cat_name": "",
"entry_date": 0,
"entry_id": "",
"comment": "",
"instructor": "",
"instructor_name": "",
"comments_instructor": "",
"comment_denial": "",
"time": "0",
"skill": "0",
"skill_name": "",
"tunnel_name": "",
"tunnel": "",
"status": ""
}Responses
2XX — Successful response
Try it
curl --request POST \ --url 'https://api.tunnelflight.com/api/account/logbook/skills/' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'content-type: application/json' \
--data '{"cat_group":"","cat_id":"","cat_name":"","entry_date":0,"entry_id":"","comment":"","instructor":"","instructor_name":"","comments_instructor":"","comment_denial":"","time":"0","skill":"0","skill_name":"","tunnel_name":"","tunnel":"","status":""}'Create Time
POST /account/logbook/time/
This endpoint allows you to add a new entry to the time.
Request Body
-
status(string): The status of the entry. -
entry_date(integer): The date of the entry. -
tunnel(string): The tunnel associated with the entry. -
comment(string): Any additional comments for the entry. -
time(string): The time duration for the entry.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Request body
Request body example (default)
{
"status": "",
"entry_date": 0,
"tunnel": "0",
"comment": "",
"time": "0"
}Responses
2XX — Successful response
Try it
curl --request POST \ --url 'https://api.tunnelflight.com/api/account/logbook/time/' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'content-type: application/json' \
--data '{"status":"","entry_date":0,"tunnel":"0","comment":"","time":"0"}'Delete Entry
DELETE /account/logbook/{entry_id}
Delete Logbook Entry
This endpoint is used to delete a specific logbook entry for the account.
Request
Path Parameters
- entry_id (string, required) - The ID of the member logbook.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
entry_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Request body
Request body example (default)
nullResponses
2XX — Successful response
Try it
curl --request DELETE \ --url 'https://api.tunnelflight.com/api/account/logbook/{entry_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Edit Logbook
PUT /account/logbook/skills/{entry_id}
Update Logbook Entry Skills
This endpoint is used to update the skills associated with a specific logbook entry.
Request Parameters
-
cat_group(number): The category group. -
cat_id(number): The category ID. -
entry_date(number): The date of the logbook entry. -
entry_id(number): The ID of the logbook entry to be updated. -
comment(string): The comment for the logbook entry. -
instructor(string): The name of the instructor. -
comments_instructor(string): Comments from the instructor. -
comment_denial(string): Comments for denial, if any. -
time(number): The time associated with the logbook entry. -
skill(string): The skill to be updated. -
tunnel(string): The tunnel associated with the logbook entry. -
author_id(number): The ID of the author. -
id(number): The ID associated with the logbook entry.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
entry_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Request body
Request body example (default)
{
"cat_group": 0,
"cat_id": 0,
"entry_date": 0,
"entry_id": 0,
"comment": "",
"instructor": "",
"comments_instructor": "",
"comment_denial": "",
"time": 0,
"skill": "0",
"tunnel": "235",
"author_id": 1,
"id": 0
}Responses
2XX — Successful response
Try it
curl --request PUT \ --url 'https://api.tunnelflight.com/api/account/logbook/skills/{entry_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'content-type: application/json' \
--data '{"cat_group":0,"cat_id":0,"entry_date":0,"entry_id":0,"comment":"","instructor":"","comments_instructor":"","comment_denial":"","time":0,"skill":"0","tunnel":"235","author_id":1,"id":0}'Edit Time
PUT /account/logbook/time/{entry_id}
Update Logbook Time Entry
This endpoint allows the user to update a specific time entry in the logbook for their account.
Request Parameters
-
entry_id(integer): The ID of the logbook entry to be updated. -
entry_date(integer): The date of the logbook entry. -
tunnel(string): The tunnel information for the logbook entry. -
comment(string): Any additional comments for the logbook entry. -
time(string): The time details for the logbook entry. -
id(integer): The ID associated with the logbook entry.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
entry_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Request body
Request body example (default)
{
"entry_id": 0,
"entry_date": 0,
"tunnel": "0",
"comment": "",
"time": "",
"id": 0
}Responses
2XX — Successful response
Try it
curl --request PUT \ --url 'https://api.tunnelflight.com/api/account/logbook/time/{entry_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'content-type: application/json' \
--data '{"entry_id":0,"entry_date":0,"tunnel":"0","comment":"","time":"","id":0}'Flyer Safety
GET /account/logbook/flyer-safety/{member_id}
This endpoint retrieves the logbook for a specific flyer’s safety information. It requires the member ID as a path parameter.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/flyer-safety/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Category
GET /account/logbook/category/{member_id}
This endpoint retrieves the logbook category options with the member ID. The response includes the following options used to identify which options need to be shown on the logbook:
-
logCurrency
-
flyerOption
-
flyerSafetyOption
-
coachOption
-
coachSafetyOption
-
afcOption
-
instructorOption
-
trainerOption
-
examinerOption
-
instructorSafetyOption
-
trainerSafetyOption
-
militaryOption
-
militarySafetyOption
Here is the JSON schema for the response:
{
"type": "object",
"properties": {
"logCurrency": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
}
}
},
"flyerOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
}
}
},
"flyerSafetyOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
}
}
},
"coachOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
}
}
},
"coachSafetyOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "integer"
}
}
},
"afcOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "string"
},
"skillCategory": {
"type": "integer"
}
}
},
"instructorOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
},
"disabledTab": {
"type": "boolean"
}
}
},
"trainerOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
},
"disabledTab": {
"type": "boolean"
}
}
},
"examinerOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
},
"disabledTab": {
"type": "boolean"
}
}
},
"instructorSafetyOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
}
}
},
"trainerSafetyOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
}
}
},
"militaryOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "boolean"
},
"skillCategory": {
"type": "integer"
}
}
},
"militarySafetyOption": {
"type": "object",
"properties": {
"show": {
"type": "boolean"
},
"disabled": {
"type": "string"
},
"showTab": {
"type": "integer"
}
}
}
}
}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/category/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Filter Skill
GET /account/logbook/filter-skills/{member_id}/{category}
Retrieve Eligible Non-Assign Logbook Based on Category
This endpoint allows you to retrieve the eligible non-assigned logbook based on the specified category.
Categories
-
Flyer
-
Coach
-
Instructor
-
Trainer
-
Examiner
-
Military
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes | |
category | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/filter-skills/{member_id}/{category}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Instructor
GET /account/logbook/instructors/{skill}/{tunnel}
This endpoint retrieves the logbook of instructors based on the provided skill and tunnel parameters.
Request Parameters
-
skill(path parameter) - The skill for which the logbook is to be retrieved. -
tunnel(path parameter) - The tunnel identifier for filtering the logbook.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
skill | string | yes | |
tunnel | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/instructors/{skill}/{tunnel}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Member Logbook By status
GET /account/logbook/skills/{status}/{member_id}
This endpoint retrieves the logbook skills for a specific member based on the provided status and member ID.
Request
Path Parameters
-
status(string, required): The status of the logbook skills. -
member_id(string, required): The ID of the member for whom the logbook skills are being retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
status | string | yes | |
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/skills/{status}/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Member Logbook
GET /account/logbook/mobile/skills/{member_id}
Retrieve Logbook Skills for Account
This endpoint allows you to retrieve the logbook skills for a specific account identified by the member_id.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes | Example: 1 |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/mobile/skills/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Get Member Time
GET /account/logbook/time/{member_id}
This endpoint retrieves the logbook time for a specific member identified by their ID.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes | Example: 1 |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/time/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Instructor Safety
GET /account/logbook/instructor-safety/{member_id}
This endpoint retrieves the instructor safety logbook for a specific member identified by their member_id.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/instructor-safety/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Military Safety
GET /account/logbook/military-safety/{member_id}
This endpoint retrieves the logbook for military safety for a specific member identified by their ID.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/military-safety/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'Trainer Safety
GET /account/logbook/trainer-safety/{member_id}
Get Trainer Safety Logbook for Member
This endpoint retrieves the safety logbook for a specific member associated with a trainer.
Request
Path Parameters
member_id(string, required) - The ID of the member for whom the logbook is to be retrieved.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
member_id | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/account/logbook/trainer-safety/{member_id}' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>'