Download OpenAPI specification:
The Trustflight API provides direct access to the core data used in Trustflight's applications.
This includes aircraft, sectors, maintenance checks and defects.
The aircraft is the primary entity in the Trustflight ecosystem. Most other entities link directly or indirectly to an aircraft
Returns all aircraft from the system that the user has access to
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| registration | string Example: registration=2-TRA Fuzzy matched (case insensitive) against Aircraft registration |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftTypeId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "serialNumber": "516A0467",
- "registration": "G-DEMO",
- "year": 2022,
- "fuelUnit": "kg",
- "oilUnit": "ml",
- "maxFuelValue": 10000,
- "monthlyCycles": 10,
- "monthlyFlightSeconds": 54000,
- "monthlyApuSeconds": 13500,
- "maintenanceType": "hours",
- "apuMode": "notInstalled",
- "flightStatus": "inFlight",
- "locked": false,
- "billingStatus": "Active",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Returns a binary representation of the aircraft's deferred defects list in PDF format
| id required | string <uuid> ID of aircraft to use |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns an aircraft based on ID
| id required | string <uuid> ID of aircraft to use |
{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftTypeId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "serialNumber": "516A0467",
- "registration": "G-DEMO",
- "year": 2022,
- "fuelUnit": "kg",
- "oilUnit": "ml",
- "maxFuelValue": 10000,
- "monthlyCycles": 10,
- "monthlyFlightSeconds": 54000,
- "monthlyApuSeconds": 13500,
- "maintenanceType": "hours",
- "apuMode": "notInstalled",
- "flightStatus": "inFlight",
- "locked": false,
- "billingStatus": "Active",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Returns the current totals for an aircraft
| id required | string <uuid> ID of aircraft to use |
{- "totals": {
- "airframeLastFlownDate": "2020-01-01",
- "airframeSeconds": 360000,
- "airframeLandings": 1000,
- "airframeFlights": 1000,
- "airframeCycles": 1000,
- "airframeDays": 400,
- "engine1Seconds": 360000,
- "engine2Seconds": 360000,
- "engine3Seconds": 360000,
- "engine4Seconds": 360000,
- "engine1Cycles": 1000,
- "engine2Cycles": 1000,
- "engine3Cycles": 1000,
- "engine4Cycles": 1000,
- "prop1Seconds": 360000,
- "prop2Seconds": 360000,
- "prop3Seconds": 360000,
- "prop4Seconds": 360000,
- "apuSeconds": 360000,
- "apuCycles": 1000
}
}Returns the totals for the specified aircraft at a given datetime. This includes airframe, engine, propeller, and APU statistics.
| id required | string <uuid> Aircraft ID |
| datetime required | string <date-time> Example: datetime=2024-03-20T12:00:00Z Datetime for which to retrieve totals |
{- "totals": {
- "airframeSeconds": 0,
- "airframeLandings": 0,
- "airframeFlights": 0,
- "airframeCycles": 0,
- "engine1Seconds": 0,
- "engine2Seconds": 0,
- "engine3Seconds": 0,
- "engine4Seconds": 0,
- "engine1Cycles": 0,
- "engine2Cycles": 0,
- "engine3Cycles": 0,
- "engine4Cycles": 0,
- "prop1Seconds": 0,
- "prop2Seconds": 0,
- "prop3Seconds": 0,
- "prop4Seconds": 0,
- "apuSeconds": 0,
- "apuCycles": 0,
- "airframeDays": 0,
- "airframeLastFlownDate": "2019-08-24"
}
}Returns trips and/or trip updates for a given aircraft ID
| id required | string <uuid> ID of aircraft to use |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| includeIncomplete | boolean Default: true Example: includeIncomplete=false Whether or not to include incomplete Trips in the response |
| includeTrips | boolean Default: true Example: includeTrips=false Whether or not to include Trips in the response |
| includeTripUpdates | boolean Default: true Example: includeTripUpdates=false Whether or not to include TripUpdates in the response |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return the records. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) from which to return the records. Must be >= startDate. |
| tripIds | Array of strings <uuid> [ items <uuid > ] Example: tripIds=41f10b92-0e8a-4eb4-a17f-c20e7f124999&tripIds=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Trip IDs to limit the returned Trips by |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}
]
}Returns workpacks for a given aircraft ID
| id required | string <uuid> ID of aircraft to use |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return the records. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) from which to return the records. Must be >= startDate. |
| status | Array of strings Default: "pending&status=draft&status=active&status=complete" Items Enum: "pending" "draft" "active" "complete" Example: status=active&status=complete An array of statuses to limit the returned Workpacks by |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Creates a Workpack against the Aircraft with the passed ID
| id required | string <uuid> The id of the Aircraft to create the Workpack against |
| status | string Enum: "draft" "active" "complete" "pending" |
| description | string |
| source | string Enum: "trustflight" "camp" |
| notes | string |
| reference | string |
| date | string |
| poNumber | string |
| mxItemIds | Array of strings <uuid> [ items <uuid > ] |
{- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
]
}{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Returns deice events for a given aircraft ID
| id required | string <uuid> Example: 41f10b92-0e8a-4eb4-a17f-c20e7f124999 ID of aircraft to use |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "71f10b92-0e8a-4eb4-a17f-c20e7f124e1a",
- "sectorId": "71f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100,
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T11:08:00Z",
- "updatedAt": "2022-03-03T13:09:00Z"
}
]
}List Aircraft by Operator ID
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| registration | string Example: registration=2-TRA Fuzzy matched (case insensitive) against Aircraft registration |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftTypeId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "serialNumber": "516A0467",
- "registration": "G-DEMO",
- "year": 2022,
- "fuelUnit": "kg",
- "oilUnit": "ml",
- "maxFuelValue": 10000,
- "monthlyCycles": 10,
- "monthlyFlightSeconds": 54000,
- "monthlyApuSeconds": 13500,
- "maintenanceType": "hours",
- "apuMode": "notInstalled",
- "flightStatus": "inFlight",
- "locked": false,
- "billingStatus": "Active",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Returns all Defects that belong to the Aircraft with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the Aircraft to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Lists ScheduledMxItems by Aircraft ID
| id required | string <uuid> ID of the Aircraft that the ScheduledMxItems have been raised against |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
| hasAppliedTolerance | boolean Example: hasAppliedTolerance=true A boolean to determine whether ScheduledMxItems that have tolerance applied should be returned or not. When omitted all items will be returned regardless of whether they have tolerance applied. |
| mxArea | Array of strings Default: "airframe&mxArea=apu&mxArea=engine&mxArea=prop" Items Enum: "airframe" "apu" "engine" "prop" Example: mxArea=airframe&mxArea=engine An array of maintenance areas to filter the returned ScheduledMxItems by. |
| mxType | Array of strings Default: "oop&mxType=llp&mxType=scheduled" Items Enum: "oop" "llp" "scheduled" Example: mxType=oop&mxType=llp An array of maintenance types to filter the returned ScheduledMxItems by. |
| status | Array of strings Items Enum: "open" "resolved" "overdue" "critical" "draft" "resolution_pending" Example: status=draft&status=resolved An array of statuses to filter the returned ScheduledMxItems by |
| startDueDate | string <date> Example: startDueDate=2022-03-03 The dueDate (inclusive) from which to return ScheduledMxItems. Must be <= endDueDate. |
| endDueDate | string <date> Example: endDueDate=2022-03-03 The dueDate (inclusive) up to which to return ScheduledMxItems. Must be >= startDueDate. |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Add a new ScheduledMxItem against an Aircraft
| id required | string <uuid> ID of aircraft that the ScheduledMxItem should be created against |
| aircraftId | string <uuid> |
| packageId | string <uuid> The ScheduledMxItem representing the package that this is part of (if any) |
| draft | boolean |
| source | string |
| details | string |
| name | string |
| number | integer |
| dueDate | string <date-time> Use this in preference to dueDateTime unless you expressly need to specify a time. Only one of dueDate and dueDateTime can be set |
| dueDateTime | string <date-time> Only one of dueDate and dueDateTime can be set |
| estimatedDate | string <date-time> |
| dueFlightSeconds | integer |
| dueApuSeconds | integer |
| dueCycles | integer |
| dueLandings | integer |
| repeatFlightSeconds | integer |
| toleranceFlightSeconds | integer |
| visibleToleranceFlightSeconds | integer |
| thresholdFlightSeconds | integer |
| repeatApuSeconds | integer |
| toleranceApuSeconds | integer |
| visibleToleranceApuSeconds | integer |
| thresholdApuSeconds | integer |
| repeatDays | integer |
| toleranceDays | integer |
| visibleToleranceDays | integer |
| thresholdDays | integer |
| repeatMonths | integer |
| toleranceMonths | integer |
| visibleToleranceMonths | integer |
| thresholdMonths | integer |
| repeatCycles | integer |
| toleranceCycles | integer |
| thresholdCycles | integer |
| repeatRemarks | string |
| partNumber | string |
| partSerial | string |
| reference | string |
| ataChapter | integer |
| ataSection | integer |
| assembly | string |
| customData | object |
| operatorReference | string |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| crewActionable | boolean |
| serviceabilityLimiting | boolean |
| normalisedFlightSecondsDue | integer |
| normalisedCyclesDue | integer |
| unitOfTime | string Enum: "days" "months" |
| importedAt | string <date-time> |
| editedBy | string <uuid> |
| eropsPrevented | boolean |
| placardNumber | string |
| calendarDaysAmberLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
| calendarDaysSecondsLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
{- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600
}{- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Returns an aircraft type based on ID
| id required | string <uuid> ID of aircraft type requested |
{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "manufacturer": "TrustFlight",
- "model": "EMB-505 Phenom 300",
- "designator": "E55P",
- "category": "land",
- "engineCount": 2,
- "engineType": "piston",
- "weightCategory": "light",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Return a list of Airports matching the given criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| airportIds | Array of integers Example: airportIds=123&airportIds=456 An array of Airport IDs to limit the returned Airports by |
| countryIso2 | string Example: countryIso2=GB Limit the Airports returned by the iso2 code of a specific country |
| name | string Example: name=aquino internat Fuzzy matched (case insensitive) against Airport name |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": 1,
- "name": "Birmingham International Airport",
- "airportType": "mediumAirport",
- "icaoCode": "EGBB",
- "iataCode": "BHX",
- "gpsCode": "EGBB",
- "localCode": "XXX",
- "municipality": "Birmingham",
- "region": "GB-ENG",
- "country": "GB",
- "continent": "NA",
- "latitude": "string",
- "longitude": "string",
- "elevation": 327,
- "scheduledService": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Get the details of one Airport by its unique identifier
| id required | integer Example: 8302 Trustflight ID of the Airport being queried |
{- "id": 1,
- "name": "Birmingham International Airport",
- "airportType": "mediumAirport",
- "icaoCode": "EGBB",
- "iataCode": "BHX",
- "gpsCode": "EGBB",
- "localCode": "XXX",
- "municipality": "Birmingham",
- "region": "GB-ENG",
- "country": "GB",
- "continent": "NA",
- "latitude": "string",
- "longitude": "string",
- "elevation": 327,
- "scheduledService": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Get the details of an airport by Icao code
| icaoCode required | string Example: EGBB ICAO code of airport being queried |
{- "id": 1,
- "name": "Birmingham International Airport",
- "airportType": "mediumAirport",
- "icaoCode": "EGBB",
- "iataCode": "BHX",
- "gpsCode": "EGBB",
- "localCode": "XXX",
- "municipality": "Birmingham",
- "region": "GB-ENG",
- "country": "GB",
- "continent": "NA",
- "latitude": "string",
- "longitude": "string",
- "elevation": 327,
- "scheduledService": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "key": "approve_release",
- "name": "Approve Releases",
- "description": "Allowed to complete approval releases",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Returns all Defects that belong to the Sector with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the Sector to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Returns all Defects that belong to the TripUpdate with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the TripUpdate to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Lists all defects that meet specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9a0b42-5e89-4eb4-c28b-a1112d33e1fa",
- "resolutionAirportId": "5b9a0b42-5e89-4eb4-c28b-a11133acd5ad",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "melItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melRectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff"
}
]
}Lists all defects that meet specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Creates a new Defect
| id required | string <uuid> The id of the Aircraft to create the Defect against |
| tripEntryId | string <uuid> The unique identifier of the TripUpdate or Trip to which the Defect belongs |
| intermittentFaultId | string or null The intermittent fault from which this defect originated |
| sectorId | string <uuid> The unique identifier for the Sector on which the Defect was identified |
| details required | string A text field for describing the nature of the defect |
| itemDescription | string A text field for describing the nature of the defect |
| number | integer The number of the Defect |
| raisedAt required | string <date-time> The UTC date-time at which the Defect was raised |
| reference | string A reference by which the Defect can be identified |
| ataChapter | integer The ATA chapter number |
| ataSection | integer The ATA section number. Conditionally required when creating a defect with a deferral, or when deferring an existing defect that will be exported to a third-party system. |
| limitations | string Limitations against the Defect |
| bookItemId | string <uuid> The unique identifier of the Book Item to which the Defect belongs |
| bookItemType | string The type of the book item - must be one of MelItem, CdlItem or NefItem |
| rectificationId | string <uuid> The unique identifier of the Rectification to which the Defect belongs. If rectificationId is provided, then bookItemId must also be included, as the rectification must be associated with the specified book item. |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| deferred required | boolean |
| reportedById | string <uuid> |
| defectType required | string Enum: "MEL" "CDL" "CAS" "NEF" "Other" The type of the Defect |
| rectificationCategory required | string Enum: "A" "B" "C" "D" "NONDEFERRED" "ADVISORYONLY" The rectification category of the Defect. When the value is "A", you must include at least one of the following fields in the request: limitFlightSeconds, limitSeconds, limitFlightDays, limitCycles, limitFlights, limitCalendarDays, limitApuSeconds, limitOther. |
| serviceabilityLimiting | boolean Whether the Defect impacts serviceability |
| limitFlightSeconds | integer The flight seconds limit placed against the Defect. Added to the flight seconds of the aircraft at the date-time the Defect was raised to calculate the dueFlightSeconds of the Defect |
| limitSeconds | integer The seconds limit placed against the Defect. Added to the the date-time the Defect was raised to calculate the dueDateTime of the Defect |
| limitFlightDays | integer The flight days limit placed against the Defect. The number of flight days since the Defect was raised after which the Defect will go overdue |
| limitCycles | integer The cycles limit placed against the Defect. Added to the airframe cycles of the aircraft at the date-time the Defect was raised to calculate the dueCycles of the Defect |
| limitFlights | integer The flights limit placed against the Defect. Added to the airframe flights of the aircraft at the date-time the Defect was raised to calculate the dueFlights of the Defect |
| limitCalendarDays | integer The calendar days limit placed against the Defect. Added to the date-time the Defect was raised to calculate the dueDate of the Defect |
| limitApuSeconds | integer The apu seconds limit placed against the Defect. Added to the apu seconds of the aircraft at the date-time the Defect was raised to calculate the dueApuSeconds of the Defect |
| limitOther | string A text field used to define another limit - not compared against any other field |
| deferApprovalReference | string |
| reasonToDefer | string |
| eropsPrevented | boolean |
| placardNumber | string |
| deferredAt | string <date-time> The date-time(UTC) at which the Defect was deferred |
| deferralLicenceNumber | string |
| deferralApprovalNumber | string |
| deferredById | string <uuid> The unique identifier of the User that deferred the Defect |
| deferUsing | string (DefectDeferUsing) Enum: "crew_signoff" "deferral_approval_reference" "maintenance_signoff" |
| reportedByType | string (DefectReportedByType) Enum: "pilot" "maintenance" "cabin" |
{- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "raisedAt": "2022-07-07T16:37:00Z",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "deferUsing": "crew_signoff",
- "reportedByType": "pilot"
}{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9a0b42-5e89-4eb4-c28b-a1112d33e1fa",
- "resolutionAirportId": "5b9a0b42-5e89-4eb4-c28b-a11133acd5ad",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "melItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melRectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff"
}Updates a Defect based on ID
| id required | string <uuid> The id of the Defect to update |
| sectorId | string <uuid> The unique identifier for the Sector on which the Defect was identified |
| details required | string A text field for describing the nature of the defect |
| itemDescription | string A text field for describing the nature of the defect |
| number | integer The number of the Defect |
| raisedAt required | string <date-time> The UTC date-time at which the Defect was raised |
| reference | string A reference by which the Defect can be identified |
| ataChapter | integer The ATA chapter number |
| ataSection | integer The ATA section number. Conditionally required when creating a defect with a deferral, or when deferring an existing defect that will be exported to a third-party system. |
| limitations | string Limitations against the Defect |
| melItemId | string <uuid> The unique identifier of the MEL Item to which the Defect belongs |
| melRectificationId | string <uuid> The unique identifier of the MEL Rectification to which the Defect belongs. If melRectificationId is provided, then melItemId must also be included, as the rectification must be associated with the specified MEL item. |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| deferred required | boolean |
| reportedById | string <uuid> |
| defectType required | string Enum: "MEL" "CDL" "CAS" "NEF" "Other" The type of the Defect |
| rectificationCategory required | string Enum: "A" "B" "C" "D" "NONDEFERRED" "ADVISORYONLY" The rectification category of the Defect. When the value is "A", you must include at least one of the following fields in the request: limitFlightSeconds, limitSeconds, limitFlightDays, limitCycles, limitFlights, limitCalendarDays, limitApuSeconds, limitOther. |
| tripEntryId | string <uuid> The unique identifier of the TripUpdate or Trip to which the Defect belongs |
| serviceabilityLimiting | boolean Whether the Defect impacts serviceability |
| limitFlightSeconds | integer The flight seconds limit placed against the Defect. Added to the flight seconds of the aircraft at the date-time the Defect was raised to calculate the dueFlightSeconds of the Defect |
| limitSeconds | integer The seconds limit placed against the Defect. Added to the the date-time the Defect was raised to calculate the dueDateTime of the Defect |
| limitFlightDays | integer The flight days limit placed against the Defect. The number of flight days since the Defect was raised after which the Defect will go overdue |
| limitCycles | integer The cycles limit placed against the Defect. Added to the airframe cycles of the aircraft at the date-time the Defect was raised to calculate the dueCycles of the Defect |
| limitFlights | integer The flights limit placed against the Defect. Added to the airframe flights of the aircraft at the date-time the Defect was raised to calculate the dueFlights of the Defect |
| limitCalendarDays | integer The calendar days limit placed against the Defect. Added to the date-time the Defect was raised to calculate the dueDate of the Defect |
| limitApuSeconds | integer The apu seconds limit placed against the Defect. Added to the apu seconds of the aircraft at the date-time the Defect was raised to calculate the dueApuSeconds of the Defect |
| limitOther | string A text field used to define another limit - not compared against any other field |
| deferApprovalReference | string |
| reasonToDefer | string |
| eropsPrevented | boolean |
| placardNumber | string |
| deferredAt | string <date-time> The date-time(UTC) at which the Defect was deferred |
| deferralLicenceNumber | string |
| deferralApprovalNumber | string |
| deferredById | string <uuid> The unique identifier of the User that deferred the Defect |
| intermittentFaultId | string or null The intermittent fault from which this defect originated |
| deferUsing | string (DefectDeferUsing) Enum: "crew_signoff" "deferral_approval_reference" "maintenance_signoff" |
| reportedByType | string (DefectReportedByType) Enum: "pilot" "maintenance" "cabin" |
{- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "raisedAt": "2022-07-07T16:37:00Z",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "limitations": "Aftermarket parts must not be used",
- "melItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melRectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "deferUsing": "crew_signoff",
- "reportedByType": "pilot"
}{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9a0b42-5e89-4eb4-c28b-a1112d33e1fa",
- "resolutionAirportId": "5b9a0b42-5e89-4eb4-c28b-a11133acd5ad",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "melItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melRectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff"
}Deletes a Defect based on ID
| id required | string <uuid> The id of the Defect to delete |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns a Defect based on ID
| id required | string <uuid> Example: dc5e143d-817f-4287-bb44-2176c6d6c64c The id of the Defect |
| includeBookItem | boolean Default: false Include the book item details in the response. If set to true, response time may be slower. |
| includeRectification | boolean Default: false Include the rectification details in the response. If set to true, response time may be slower. |
{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}Updates a Defect based on ID
| id required | string <uuid> The id of the Defect to update |
| sectorId | string <uuid> The unique identifier for the Sector on which the Defect was identified |
| details | string A text field for describing the nature of the defect |
| itemDescription | string A text field for describing the nature of the defect |
| number | integer The number of the Defect |
| raisedAt | string <date-time> The UTC date-time at which the Defect was raised |
| reference | string A reference by which the Defect can be identified |
| ataChapter | integer The ATA chapter number |
| ataSection | integer The ATA section number. Conditionally required when creating a defect with a deferral, or when deferring an existing defect that will be exported to a third-party system. |
| limitations | string Limitations against the Defect |
| bookItemId | string <uuid> The unique identifier of the Book Item to which the Defect belongs |
| bookItemType | string The type of the book item - must be one of MelItem, CdlItem or NefItem |
| rectificationId | string <uuid> The unique identifier of the Rectification to which the Defect belongs. If rectificationId is provided, then bookItemId must also be included, as the rectification must be associated with the specified book item. |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| deferred | boolean |
| reportedById | string <uuid> |
| defectType | string Enum: "MEL" "CDL" "CAS" "NEF" "Other" The type of the Defect |
| rectificationCategory | string Enum: "A" "B" "C" "D" "NONDEFERRED" "ADVISORYONLY" The rectification category of the Defect. When the value is "A", you must include at least one of the following fields in the request: limitFlightSeconds, limitSeconds, limitFlightDays, limitCycles, limitFlights, limitCalendarDays, limitApuSeconds, limitOther. |
| serviceabilityLimiting | boolean Whether the Defect impacts serviceability |
| limitFlightSeconds | integer The flight seconds limit placed against the Defect. Added to the flight seconds of the aircraft at the date-time the Defect was raised to calculate the dueFlightSeconds of the Defect |
| limitSeconds | integer The seconds limit placed against the Defect. Added to the the date-time the Defect was raised to calculate the dueDateTime of the Defect |
| limitFlightDays | integer The flight days limit placed against the Defect. The number of flight days since the Defect was raised after which the Defect will go overdue |
| limitCycles | integer The cycles limit placed against the Defect. Added to the airframe cycles of the aircraft at the date-time the Defect was raised to calculate the dueCycles of the Defect |
| limitFlights | integer The flights limit placed against the Defect. Added to the airframe flights of the aircraft at the date-time the Defect was raised to calculate the dueFlights of the Defect |
| limitCalendarDays | integer The calendar days limit placed against the Defect. Added to the date-time the Defect was raised to calculate the dueDate of the Defect |
| limitApuSeconds | integer The apu seconds limit placed against the Defect. Added to the apu seconds of the aircraft at the date-time the Defect was raised to calculate the dueApuSeconds of the Defect |
| limitOther | string A text field used to define another limit - not compared against any other field |
| deferApprovalReference | string |
| reasonToDefer | string |
| eropsPrevented | boolean |
| placardNumber | string |
| deferredAt | string <date-time> The date-time(UTC) at which the Defect was deferred |
| deferralLicenceNumber | string |
| deferralApprovalNumber | string |
| deferredById | string <uuid> The unique identifier of the User that deferred the Defect |
| deferUsing | string (DefectDeferUsing) Enum: "crew_signoff" "deferral_approval_reference" "maintenance_signoff" |
| reportedByType | string (DefectReportedByType) Enum: "pilot" "maintenance" "cabin" |
{- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "raisedAt": "2022-07-07T16:37:00Z",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "deferUsing": "crew_signoff",
- "reportedByType": "pilot"
}{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}Deletes a Defect based on ID
| id required | string <uuid> The id of the Defect to delete |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Creates release against defect with passed id
| id required | string <uuid> The id of the Defect |
| companyEmail | string |
| licenceNumber | string |
| firstName | string |
| lastName | string |
| reporterFirstName | string |
| reporterLastName | string |
| approvalNumber | string |
| companyName | string |
| reference | string |
| date | string <date> |
| signeeType | string (SigneeType) Enum: "crewDetails" "engineerDetails" "crsDocument" |
| approverFirstName | string |
| approverLastName | string |
{- "companyEmail": "company@example.com",
- "licenceNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approvalNumber": "Example-123",
- "companyName": "ExampleCompany",
- "reference": "Example-123",
- "date": "2022-07-07",
- "signeeType": "crewDetails",
- "approverFirstName": "John",
- "approverLastName": "Smith"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}Returns all Defects that belong to the Aircraft with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the Aircraft to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Creates a Defect
| id required | string <uuid> The id of the Aircraft to create the Defect against |
| sectorId | string <uuid> The unique identifier for the Sector on which the Defect was identified |
| details required | string A text field for describing the nature of the defect |
| itemDescription | string A text field for describing the nature of the defect |
| number | integer The number of the Defect |
| raisedAt required | string <date-time> The UTC date-time at which the Defect was raised |
| reference | string A reference by which the Defect can be identified |
| ataChapter | integer The ATA chapter number |
| ataSection | integer The ATA section number. Conditionally required when creating a defect with a deferral, or when deferring an existing defect that will be exported to a third-party system. |
| limitations | string Limitations against the Defect |
| melItemId | string <uuid> The unique identifier of the MEL Item to which the Defect belongs |
| melRectificationId | string <uuid> The unique identifier of the MEL Rectification to which the Defect belongs. If melRectificationId is provided, then melItemId must also be included, as the rectification must be associated with the specified MEL item. |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| deferred required | boolean |
| reportedById | string <uuid> |
| defectType required | string Enum: "MEL" "CDL" "CAS" "NEF" "Other" The type of the Defect |
| rectificationCategory required | string Enum: "A" "B" "C" "D" "NONDEFERRED" "ADVISORYONLY" The rectification category of the Defect. When the value is "A", you must include at least one of the following fields in the request: limitFlightSeconds, limitSeconds, limitFlightDays, limitCycles, limitFlights, limitCalendarDays, limitApuSeconds, limitOther. |
| tripEntryId | string <uuid> The unique identifier of the TripUpdate or Trip to which the Defect belongs |
| serviceabilityLimiting | boolean Whether the Defect impacts serviceability |
| limitFlightSeconds | integer The flight seconds limit placed against the Defect. Added to the flight seconds of the aircraft at the date-time the Defect was raised to calculate the dueFlightSeconds of the Defect |
| limitSeconds | integer The seconds limit placed against the Defect. Added to the the date-time the Defect was raised to calculate the dueDateTime of the Defect |
| limitFlightDays | integer The flight days limit placed against the Defect. The number of flight days since the Defect was raised after which the Defect will go overdue |
| limitCycles | integer The cycles limit placed against the Defect. Added to the airframe cycles of the aircraft at the date-time the Defect was raised to calculate the dueCycles of the Defect |
| limitFlights | integer The flights limit placed against the Defect. Added to the airframe flights of the aircraft at the date-time the Defect was raised to calculate the dueFlights of the Defect |
| limitCalendarDays | integer The calendar days limit placed against the Defect. Added to the date-time the Defect was raised to calculate the dueDate of the Defect |
| limitApuSeconds | integer The apu seconds limit placed against the Defect. Added to the apu seconds of the aircraft at the date-time the Defect was raised to calculate the dueApuSeconds of the Defect |
| limitOther | string A text field used to define another limit - not compared against any other field |
| deferApprovalReference | string |
| reasonToDefer | string |
| eropsPrevented | boolean |
| placardNumber | string |
| deferredAt | string <date-time> The date-time(UTC) at which the Defect was deferred |
| deferralLicenceNumber | string |
| deferralApprovalNumber | string |
| deferredById | string <uuid> The unique identifier of the User that deferred the Defect |
| intermittentFaultId | string or null The intermittent fault from which this defect originated |
| deferUsing | string (DefectDeferUsing) Enum: "crew_signoff" "deferral_approval_reference" "maintenance_signoff" |
| reportedByType | string (DefectReportedByType) Enum: "pilot" "maintenance" "cabin" |
{- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "raisedAt": "2022-07-07T16:37:00Z",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "limitations": "Aftermarket parts must not be used",
- "melItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melRectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "deferUsing": "crew_signoff",
- "reportedByType": "pilot"
}{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}Returns a DeiceEvent based on ID
| id required | string <uuid> Example: 41f10b92-0e8a-4eb4-a17f-c20e7f124888 The id of the DeiceEvent |
{- "id": "71f10b92-0e8a-4eb4-a17f-c20e7f124e1a",
- "sectorId": "71f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100,
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T11:08:00Z",
- "updatedAt": "2022-03-03T13:09:00Z"
}Returns deice events for a given aircraft ID
| id required | string <uuid> Example: 41f10b92-0e8a-4eb4-a17f-c20e7f124999 ID of aircraft to use |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "71f10b92-0e8a-4eb4-a17f-c20e7f124e1a",
- "sectorId": "71f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100,
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T11:08:00Z",
- "updatedAt": "2022-03-03T13:09:00Z"
}
]
}Returns deice events for a given sector ID
| id required | string <uuid> Example: 41f10b92-0e8a-4eb4-a17f-c20e7f124555 ID of sector to use |
{- "results": [
- {
- "id": "71f10b92-0e8a-4eb4-a17f-c20e7f124e1a",
- "sectorId": "71f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100,
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T11:08:00Z",
- "updatedAt": "2022-03-03T13:09:00Z"
}
]
}Lists all fluid uplifts that meet specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "airportId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Returns all FluidUplifts that belong to the MxCheck with the passed ID
| id required | string <uuid> The id of the MxCheck to fetch all FluidUplifts for |
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "airportId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Lists all fuel uplifts that meet specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
| associatedRecordType | string Enum: "Flight" "MxCheck" "TripUpdate" Example: associatedRecordType=Flight Filter fuel uplifts by their associated record type. Must be used together with associatedRecordIds. |
| associatedRecordIds[] | Array of strings <uuid> [ items <uuid > ] Example: associatedRecordIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999 Filter fuel uplifts by an array of associated record IDs with type associatedRecordType. Must be used together with associatedRecordType. |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "associatedRecordId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "associatedRecordType": "Flight",
- "aircraftId": "45610b42-5e89-4eb4-c28b-a111d38167fa",
- "aircraftPlannedUplift": 1.5,
- "aircraftActualUplift": 1.5,
- "truckActualUplift": 1.5,
- "truckUnit": "l",
- "density": 0.8,
- "fuel_type": "standard",
- "saf_percentage": 12.5,
- "aircraftPlannedDeparture": 123.5,
- "priceValue": 123.5,
- "priceCurrency": "string",
- "paid": false,
- "aircraftUnit": "kg",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Add a new Mel (Minimum Equipment List)
| aircraftId | string <uuid> |
| status | string Enum: "draft" "active" |
| source | string |
Array of objects (MelItem) |
{- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "source": "Received 1st April 2020 from CAA",
- "melItems": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "pageNumber": 1,
- "chapterNumber": 2,
- "sectionNumber": 3,
- "subsectionNumber": 4,
- "title": "Some item description",
- "melRectifications": [
- {
- "interval": "A",
- "numberInstalled": 5,
- "numberRequired": 6,
- "maintenanceProcedure": "some maintenance procedure",
- "operationalProcedure": "some operational procedure",
- "placardProcedure": "some placard procedure",
- "remarks": "remarkable",
- "operationalLimitations": "some operational limitations",
- "maintenanceProcedureJson": "some maintenance procedure",
- "operationalProcedureJson": "some operational procedure",
- "placardProcedureJson": "some placard procedure",
- "remarksJson": "remarkable",
- "operationalLimitationsJson": "some operational limitations",
- "limitFlightSeconds": 5,
- "limitSeconds": 5,
- "limitCalendarDays": 5,
- "limitFlightDays": 5,
- "limitCycles": 5,
- "limitFlights": 5,
- "limitApuSeconds": 5,
- "limitOther": 5,
- "eropsPrevented": false,
- "title": "Example title"
}
], - "parentId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "subsubsection": "1.1.1.1",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}{- "createdId": "6e910b42-5e89-4eb4-c28b-a111aaabbbcc"
}Returns a specific MEL item based on its ID
| id required | string The unique identifier of the MEL item |
{- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "melId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "pageNumber": 1,
- "chapterNumber": 2,
- "sectionNumber": 3,
- "subsectionNumber": 4,
- "title": "Some item description",
- "melRectifications": [
- {
- "interval": "A",
- "numberInstalled": 5,
- "numberRequired": 6,
- "maintenanceProcedure": "some maintenance procedure",
- "operationalProcedure": "some operational procedure",
- "placardProcedure": "some placard procedure",
- "remarks": "remarkable",
- "operationalLimitations": "some operational limitations",
- "maintenanceProcedureJson": "some maintenance procedure",
- "operationalProcedureJson": "some operational procedure",
- "placardProcedureJson": "some placard procedure",
- "remarksJson": "remarkable",
- "operationalLimitationsJson": "some operational limitations",
- "limitFlightSeconds": 5,
- "limitSeconds": 5,
- "limitCalendarDays": 5,
- "limitFlightDays": 5,
- "limitCycles": 5,
- "limitFlights": 5,
- "limitApuSeconds": 5,
- "limitOther": 5,
- "eropsPrevented": false,
- "title": "Example title"
}
], - "parentId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "subsubsection": "1.1.1.1",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Returns all MxChecks that belong to the Sector with the passed ID
| id required | string <uuid> The id of the Sector to fetch all MxChecks for |
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightBeforeId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightAfterId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "types": [
- "preflight",
- "erops"
], - "timestamp": "2022-03-03T07:08:00Z",
- "details": "Featura ILS Calibration",
- "customData": { },
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Lists all MxChecks that meet the specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightBeforeId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightAfterId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "types": [
- "preflight",
- "erops"
], - "timestamp": "2022-03-03T07:08:00Z",
- "details": "Featura ILS Calibration",
- "customData": { },
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Returns all FluidUplifts that belong to the MxCheck with the passed ID
| id required | string <uuid> The id of the MxCheck to fetch all FluidUplifts for |
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "airportId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]List all accessible Operators
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "name": "Trustflight Airlines",
- "address": "34 Hamilton Terrace Leamington Spa Warwickshire CV32 4LY",
- "phoneNumber": "0121 496 0927",
- "aocNumber": "GB1289",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "personRoles": [
- {
- "id": "3da49b42-5e89-4eb4-a17f-c20e7f122676",
- "name": "string",
- "crewType": "Flight",
- "positions": [
- "Admin"
], - "dutyTracked": false,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}
]List Aircraft by Operator ID
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| registration | string Example: registration=2-TRA Fuzzy matched (case insensitive) against Aircraft registration |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftTypeId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "serialNumber": "516A0467",
- "registration": "G-DEMO",
- "year": 2022,
- "fuelUnit": "kg",
- "oilUnit": "ml",
- "maxFuelValue": 10000,
- "monthlyCycles": 10,
- "monthlyFlightSeconds": 54000,
- "monthlyApuSeconds": 13500,
- "maintenanceType": "hours",
- "apuMode": "notInstalled",
- "flightStatus": "inFlight",
- "locked": false,
- "billingStatus": "Active",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}List User by Operator ID
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
string Example: email=@example.com Filter users by a full or partial email address | |
| position | Array of strings (UserPosition) Default: "Admin&position=Pilot&position=OpsController&position=Camo&position=Crew&position=Engineer&position=ReliefPilot&position=FlightAttendant" Items Enum: "Admin" "Pilot" "OpsController" "Camo" "Crew" "Engineer" "ReliefPilot" "FlightAttendant" Example: position=Pilot&position=ReliefPilot Not yet available - Filter users by their position |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "operatorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44",
- "status": "Active",
- "hasLogin": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Creates release against defect with passed id
| id required | string <uuid> The id of the Defect |
| companyEmail | string |
| licenceNumber | string |
| firstName | string |
| lastName | string |
| reporterFirstName | string |
| reporterLastName | string |
| approvalNumber | string |
| companyName | string |
| reference | string |
| date | string <date> |
| signeeType | string (SigneeType) Enum: "crewDetails" "engineerDetails" "crsDocument" |
| approverFirstName | string |
| approverLastName | string |
{- "companyEmail": "company@example.com",
- "licenceNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approvalNumber": "Example-123",
- "companyName": "ExampleCompany",
- "reference": "Example-123",
- "date": "2022-07-07",
- "signeeType": "crewDetails",
- "approverFirstName": "John",
- "approverLastName": "Smith"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}Lists all releases that meet specified criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}
]
}Returns an release based on ID
| id required | string <uuid> ID of release to use |
{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}Update a release, based on the ID. Only releases without a signature are updatable
| id required | string <uuid> The id of the Release |
| companyEmail | string |
| licenceNumber | string |
| firstName | string |
| lastName | string |
| reporterFirstName | string |
| reporterLastName | string |
| approvalNumber | string |
| companyName | string |
| reference | string |
| date | string <date> |
| signeeType | string (SigneeType) Enum: "crewDetails" "engineerDetails" "crsDocument" |
| approverFirstName | string |
| approverLastName | string |
{- "companyEmail": "company@example.com",
- "licenceNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approvalNumber": "Example-123",
- "companyName": "ExampleCompany",
- "reference": "Example-123",
- "date": "2022-07-07",
- "signeeType": "crewDetails",
- "approverFirstName": "John",
- "approverLastName": "Smith"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}Creates release against workpack with passed id
| id required | string <uuid> The id of the Workpack |
| companyEmail | string |
| licenceNumber | string |
| firstName | string |
| lastName | string |
| reporterFirstName | string |
| reporterLastName | string |
| approvalNumber | string |
| companyName | string |
| reference | string |
| date | string <date> |
| signeeType | string (SigneeType) Enum: "crewDetails" "engineerDetails" "crsDocument" |
| approverFirstName | string |
| approverLastName | string |
{- "companyEmail": "company@example.com",
- "licenceNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approvalNumber": "Example-123",
- "companyName": "ExampleCompany",
- "reference": "Example-123",
- "date": "2022-07-07",
- "signeeType": "crewDetails",
- "approverFirstName": "John",
- "approverLastName": "Smith"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}Lists ScheduledMxItems by Aircraft ID
| id required | string <uuid> ID of the Aircraft that the ScheduledMxItems have been raised against |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
| hasAppliedTolerance | boolean Example: hasAppliedTolerance=true A boolean to determine whether ScheduledMxItems that have tolerance applied should be returned or not. When omitted all items will be returned regardless of whether they have tolerance applied. |
| mxArea | Array of strings Default: "airframe&mxArea=apu&mxArea=engine&mxArea=prop" Items Enum: "airframe" "apu" "engine" "prop" Example: mxArea=airframe&mxArea=engine An array of maintenance areas to filter the returned ScheduledMxItems by. |
| mxType | Array of strings Default: "oop&mxType=llp&mxType=scheduled" Items Enum: "oop" "llp" "scheduled" Example: mxType=oop&mxType=llp An array of maintenance types to filter the returned ScheduledMxItems by. |
| status | Array of strings Items Enum: "open" "resolved" "overdue" "critical" "draft" "resolution_pending" Example: status=draft&status=resolved An array of statuses to filter the returned ScheduledMxItems by |
| startDueDate | string <date> Example: startDueDate=2022-03-03 The dueDate (inclusive) from which to return ScheduledMxItems. Must be <= endDueDate. |
| endDueDate | string <date> Example: endDueDate=2022-03-03 The dueDate (inclusive) up to which to return ScheduledMxItems. Must be >= startDueDate. |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Add a new ScheduledMxItem against an Aircraft
| id required | string <uuid> ID of aircraft that the ScheduledMxItem should be created against |
| aircraftId | string <uuid> |
| packageId | string <uuid> The ScheduledMxItem representing the package that this is part of (if any) |
| draft | boolean |
| source | string |
| details | string |
| name | string |
| number | integer |
| dueDate | string <date-time> Use this in preference to dueDateTime unless you expressly need to specify a time. Only one of dueDate and dueDateTime can be set |
| dueDateTime | string <date-time> Only one of dueDate and dueDateTime can be set |
| estimatedDate | string <date-time> |
| dueFlightSeconds | integer |
| dueApuSeconds | integer |
| dueCycles | integer |
| dueLandings | integer |
| repeatFlightSeconds | integer |
| toleranceFlightSeconds | integer |
| visibleToleranceFlightSeconds | integer |
| thresholdFlightSeconds | integer |
| repeatApuSeconds | integer |
| toleranceApuSeconds | integer |
| visibleToleranceApuSeconds | integer |
| thresholdApuSeconds | integer |
| repeatDays | integer |
| toleranceDays | integer |
| visibleToleranceDays | integer |
| thresholdDays | integer |
| repeatMonths | integer |
| toleranceMonths | integer |
| visibleToleranceMonths | integer |
| thresholdMonths | integer |
| repeatCycles | integer |
| toleranceCycles | integer |
| thresholdCycles | integer |
| repeatRemarks | string |
| partNumber | string |
| partSerial | string |
| reference | string |
| ataChapter | integer |
| ataSection | integer |
| assembly | string |
| customData | object |
| operatorReference | string |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| crewActionable | boolean |
| serviceabilityLimiting | boolean |
| normalisedFlightSecondsDue | integer |
| normalisedCyclesDue | integer |
| unitOfTime | string Enum: "days" "months" |
| importedAt | string <date-time> |
| editedBy | string <uuid> |
| eropsPrevented | boolean |
| placardNumber | string |
| calendarDaysAmberLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
| calendarDaysSecondsLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
{- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600
}{- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}List all ScheduledMxItems meeting criteria
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
| hasAppliedTolerance | boolean Example: hasAppliedTolerance=true A boolean to determine whether ScheduledMxItems that have tolerance applied should be returned or not. When omitted all items will be returned regardless of whether they have tolerance applied. |
| mxArea | Array of strings Default: "airframe&mxArea=apu&mxArea=engine&mxArea=prop" Items Enum: "airframe" "apu" "engine" "prop" Example: mxArea=airframe&mxArea=engine An array of maintenance areas to filter the returned ScheduledMxItems by. |
| mxType | Array of strings Default: "oop&mxType=llp&mxType=scheduled" Items Enum: "oop" "llp" "scheduled" Example: mxType=oop&mxType=llp An array of maintenance types to filter the returned ScheduledMxItems by. |
| status | Array of strings Items Enum: "open" "resolved" "overdue" "critical" "draft" "resolution_pending" Example: status=draft&status=resolved An array of statuses to filter the returned ScheduledMxItems by |
| startDueDate | string <date> Example: startDueDate=2022-03-03 The dueDate (inclusive) from which to return ScheduledMxItems. Must be <= endDueDate. |
| endDueDate | string <date> Example: endDueDate=2022-03-03 The dueDate (inclusive) up to which to return ScheduledMxItems. Must be >= startDueDate. |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Get the details of a ScheduledMxItem by ID
| id required | string ID of ScheduledMxItem being queried |
{- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Updates a ScheduledMxItem based on Id
| aircraftId | string <uuid> |
| packageId | string <uuid> The ScheduledMxItem representing the package that this is part of (if any) |
| draft | boolean |
| source | string |
| details | string |
| name | string |
| number | integer |
| dueDate | string <date-time> Use this in preference to dueDateTime unless you expressly need to specify a time. Only one of dueDate and dueDateTime can be set |
| dueDateTime | string <date-time> Only one of dueDate and dueDateTime can be set |
| estimatedDate | string <date-time> |
| dueFlightSeconds | integer |
| dueApuSeconds | integer |
| dueCycles | integer |
| dueLandings | integer |
| repeatFlightSeconds | integer |
| toleranceFlightSeconds | integer |
| visibleToleranceFlightSeconds | integer |
| thresholdFlightSeconds | integer |
| repeatApuSeconds | integer |
| toleranceApuSeconds | integer |
| visibleToleranceApuSeconds | integer |
| thresholdApuSeconds | integer |
| repeatDays | integer |
| toleranceDays | integer |
| visibleToleranceDays | integer |
| thresholdDays | integer |
| repeatMonths | integer |
| toleranceMonths | integer |
| visibleToleranceMonths | integer |
| thresholdMonths | integer |
| repeatCycles | integer |
| toleranceCycles | integer |
| thresholdCycles | integer |
| repeatRemarks | string |
| partNumber | string |
| partSerial | string |
| reference | string |
| ataChapter | integer |
| ataSection | integer |
| assembly | string |
| customData | object |
| operatorReference | string |
| placardProcedureCompleted | boolean |
| operationalProcedureCompleted | boolean |
| crewActionable | boolean |
| serviceabilityLimiting | boolean |
| normalisedFlightSecondsDue | integer |
| normalisedCyclesDue | integer |
| unitOfTime | string Enum: "days" "months" |
| importedAt | string <date-time> |
| editedBy | string <uuid> |
| eropsPrevented | boolean |
| placardNumber | string |
| calendarDaysAmberLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
| calendarDaysSecondsLimit | integer Only one of calendarDaysAmberLimit and calendarDaysSecondsLimit can be set |
{- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600
}{- "id": "c11a0029-6811-4c9f-8e04-4bafe2de6999",
- "aircraftId": "111a0029-6811-4c9f-8e04-4bafe2de6999",
- "packageId": "f55a0029-6811-4c9f-8e04-4bafe2de6222",
- "draft": true,
- "source": "string",
- "details": "string",
- "name": "string",
- "number": 1,
- "dueDate": "2022-04-04",
- "dueDateTime": "2022-04-02T17:08:00Z",
- "estimatedDate": "2022-04-03",
- "dueFlightSeconds": 1000,
- "dueApuSeconds": 1000,
- "dueCycles": 100,
- "dueLandings": 100,
- "repeatFlightSeconds": 1000,
- "toleranceFlightSeconds": 100,
- "visibleToleranceFlightSeconds": 100,
- "thresholdFlightSeconds": 10,
- "repeatApuSeconds": 100,
- "toleranceApuSeconds": 10,
- "visibleToleranceApuSeconds": 10,
- "thresholdApuSeconds": 1,
- "repeatDays": 50,
- "toleranceDays": 5,
- "visibleToleranceDays": 5,
- "thresholdDays": 2,
- "repeatMonths": 50,
- "toleranceMonths": 5,
- "visibleToleranceMonths": 5,
- "thresholdMonths": 2,
- "repeatCycles": 40,
- "toleranceCycles": 4,
- "thresholdCycles": 2,
- "repeatRemarks": "doing it again",
- "partNumber": "abc-123",
- "partSerial": "qwerty123",
- "reference": "tgdbetg",
- "ataChapter": 59,
- "ataSection": 5,
- "assembly": "string",
- "customData": { },
- "operatorReference": "456xyz",
- "placardProcedureCompleted": true,
- "operationalProcedureCompleted": true,
- "crewActionable": true,
- "serviceabilityLimiting": true,
- "normalisedFlightSecondsDue": 48000,
- "normalisedCyclesDue": 50,
- "unitOfTime": "days",
- "importedAt": "2022-02-02T09:08:00Z",
- "editedBy": "999e0029-6811-4c9f-8e04-4bafe2de6111",
- "eropsPrevented": false,
- "placardNumber": "abc123",
- "calendarDaysAmberLimit": 10,
- "calendarDaysSecondsLimit": 129600,
- "editedDate": "2022-04-02T17:08:00Z",
- "campSyncDate": "2022-04-02T17:08:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Delete a ScheduledMxItem based on Id
| id required | string ID of ScheduledMxItem being deleted |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns all Defects that belong to the Sector with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the Sector to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Returns all FluidUplifts that belong to the Sector with the passed ID
| id required | string <uuid> The id of the Sector to fetch all FluidUplifts for |
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "airportId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Returns the fuel summary for the sector with the passed ID. This fuel summary returns values aggregated from underlying fuel records.
| id required | string <uuid> The id of the Sector to fetch the fuel summary for |
{- "preUpliftFuel": 1000,
- "postUpliftFuel": 1100,
- "usedFuel": 600,
- "remainingFuel": 500,
- "departureFuelAdjustment": 30
}Returns all MxChecks that belong to the Sector with the passed ID
| id required | string <uuid> The id of the Sector to fetch all MxChecks for |
[- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightBeforeId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "flightAfterId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "types": [
- "preflight",
- "erops"
], - "timestamp": "2022-03-03T07:08:00Z",
- "details": "Featura ILS Calibration",
- "customData": { },
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Returns all Sectors that belong to the Trip with the passed ID
| id required | string ID of trip to use |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}
]Returns all Sectors that belong to the Trip with the passed ID (with corrected pilot fields)
| id required | string ID of trip to use |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}
]Creates a sector
| tripId | string <uuid> |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
Array of objects (FluidUpliftBody) | |
Array of objects (FuelUpliftBody) | |
Array of objects (DeiceEventBody) |
{- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}, - "fluidUplifts": [
- {
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight"
}
], - "fuelUplifts": [
- {
- "aircraftPlannedUplift": 1.5,
- "aircraftActualUplift": 1.5,
- "truckActualUplift": 1.5,
- "truckUnit": "l",
- "density": 0.8,
- "fuel_type": "standard",
- "saf_percentage": 12.5
}
], - "deiceEvents": [
- {
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100
}
]
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}Returns all sectors from the system that the user has access to
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| tripIds[] | Array of strings <uuid> [ items <uuid > ] Example: tripIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&tripIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Trip IDs to limit the returned Sectors by |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return Sectors. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) up to which to return Sectors. Must be >= startDate. |
| airportIcaoCodes | Array of strings Example: airportIcaoCodes=KORD&airportIcaoCodes=EGLL ICAO airport code(s) to filter by. The returned sectors will be those where that airport(s) is/are the point of departure, intended arrival or actual arrival |
| airportIds[] | Array of integers Example: airportIds[]=1&airportIds[]=2 Trustflight airport ID(s) to filter by. The returned sectors will be those where the airport(s) is/are the point of departure, intended arrival or actual arrival |
| userIds[] | Array of strings <uuid> [ items <uuid > ] Example: userIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&userIds[]=11f10b92-0e8a-4eb4-a17f-c20e7f124888 UserId(s) to filter by. The returned sectors will be those where this user(s) is/are designated as the pilot in command or second in command |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return sectors that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}
]
}Creates a sector (with corrected pilot fields)
| tripId | string <uuid> |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
| pilotFlyingId | string <uuid> |
| pilotMonitoringId | string <uuid> |
Array of objects (FluidUpliftBody) | |
Array of objects (FuelUpliftBody) | |
Array of objects (DeiceEventBody) |
{- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}, - "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "fluidUplifts": [
- {
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight"
}
], - "fuelUplifts": [
- {
- "aircraftPlannedUplift": 1.5,
- "aircraftActualUplift": 1.5,
- "truckActualUplift": 1.5,
- "truckUnit": "l",
- "density": 0.8,
- "fuel_type": "standard",
- "saf_percentage": 12.5
}
], - "deiceEvents": [
- {
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100
}
]
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}Returns all sectors from the system that the user has access to (with corrected pilot fields)
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| aircraftIds[] | Array of strings <uuid> [ items <uuid > ] Example: aircraftIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&aircraftIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Aircraft IDs to limit the returned records by |
| tripIds[] | Array of strings <uuid> [ items <uuid > ] Example: tripIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&tripIds[]=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Trip IDs to limit the returned Sectors by |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return Sectors. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) up to which to return Sectors. Must be >= startDate. |
| airportIcaoCodes | Array of strings Example: airportIcaoCodes=KORD&airportIcaoCodes=EGLL ICAO airport code(s) to filter by. The returned sectors will be those where that airport(s) is/are the point of departure, intended arrival or actual arrival |
| airportIds[] | Array of integers Example: airportIds[]=1&airportIds[]=2 Trustflight airport ID(s) to filter by. The returned sectors will be those where the airport(s) is/are the point of departure, intended arrival or actual arrival |
| userIds[] | Array of strings <uuid> [ items <uuid > ] Example: userIds[]=41f10b92-0e8a-4eb4-a17f-c20e7f124999&userIds[]=11f10b92-0e8a-4eb4-a17f-c20e7f124888 UserId(s) to filter by. The returned sectors will be those where this user(s) is/are designated as the pilot in command or second in command |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return sectors that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}
]
}Delete a sector by ID
| id required | string <uuid> ID of sector to use |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns an sector based on ID
| id required | string ID of sector to use |
{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}Updates a sector based on ID
Note: The preflightCustomData & postflightCustomData objects will overwrite what is currently stored. It will not merge their contents.
| id required | string ID of sector to use |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
{- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}Returns a specific sector based on ID (with corrected pilot fields)
| id required | string <uuid> ID of sector to retrieve |
{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}Updates a sector based on ID (with corrected pilot fields)
Note: The preflightCustomData & postflightCustomData objects will overwrite what is currently stored. It will not merge their contents.
| id required | string ID of sector to use |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
| pilotFlyingId | string <uuid> |
| pilotMonitoringId | string <uuid> |
{- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}, - "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}Returns deice events for a given sector ID
| id required | string <uuid> Example: 41f10b92-0e8a-4eb4-a17f-c20e7f124555 ID of sector to use |
{- "results": [
- {
- "id": "71f10b92-0e8a-4eb4-a17f-c20e7f124e1a",
- "sectorId": "71f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100,
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T11:08:00Z",
- "updatedAt": "2022-03-03T13:09:00Z"
}
]
}Returns trips and/or trip updates for a given aircraft ID
| id required | string <uuid> ID of aircraft to use |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| includeIncomplete | boolean Default: true Example: includeIncomplete=false Whether or not to include incomplete Trips in the response |
| includeTrips | boolean Default: true Example: includeTrips=false Whether or not to include Trips in the response |
| includeTripUpdates | boolean Default: true Example: includeTripUpdates=false Whether or not to include TripUpdates in the response |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return the records. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) from which to return the records. Must be >= startDate. |
| tripIds | Array of strings <uuid> [ items <uuid > ] Example: tripIds=41f10b92-0e8a-4eb4-a17f-c20e7f124999&tripIds=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Trip IDs to limit the returned Trips by |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}
]
}Creates a trip
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| date | string <date> |
| number | integer <int32> |
| srpNumber | integer <int32> |
| callsign | string |
| tripCategory | string Enum: "private" "commercial" "scheduled" "maintenance" "training" |
| customData | object An object containing custom data for the trip |
| thirdPartyReferences | object References provided to the Trip by third party integrations. If this field is populated, the sent object will entirely replace what exists on TechLog's system |
{- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips"
}, - "thirdPartyReferences": {
- "number": "123456"
}
}{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}Returns all trips from the system that the user has access to
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}
]
}Returns a trip based on ID
| id required | string ID of trip to use |
{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}Update a trip by ID.
Note: The customData object will overwrite what is currently stored. It will not merge their contents.
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| date | string <date> |
| number | integer <int32> |
| srpNumber | integer <int32> |
| callsign | string |
| tripCategory | string Enum: "private" "commercial" "scheduled" "maintenance" "training" |
| customData | object An object containing custom data for the trip |
| thirdPartyReferences | object References provided to the Trip by third party integrations. If this field is populated, the sent object will entirely replace what exists on TechLog's system |
{- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips"
}, - "thirdPartyReferences": {
- "number": "123456"
}
}{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}Returns a binary representation of the trip/trip update's sector record page list in PDF format
| id required | string <uuid> ID of trip/trip update to use |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns a binary representation of the trip's journey log list in PDF format
| id required | string <uuid> ID of trip to use |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}List all AdditionalCrew on a trip
| id required | string ID of trip to use |
[- {
- "id": "61610b42-5e89-4eb4-a17f-c20e7f772676",
- "personId": "71610b42-5e89-4eb4-a17f-c20e7f772676",
- "personRoleId": "81610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Add an AdditionalCrew to a trip
| id required | string ID of trip to use |
| personId required | string <uuid> |
| personRoleId required | string <uuid> |
{- "personId": "71610b42-5e89-4eb4-a17f-c20e7f772676",
- "personRoleId": "81610b42-5e89-4eb4-a17f-c20e7f772676"
}{- "id": "61610b42-5e89-4eb4-a17f-c20e7f772676",
- "personId": "71610b42-5e89-4eb4-a17f-c20e7f772676",
- "personRoleId": "81610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Returns all Sectors that belong to the Trip with the passed ID
| id required | string ID of trip to use |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length"
}
]Returns all Sectors that belong to the Trip with the passed ID (with corrected pilot fields)
| id required | string ID of trip to use |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}
]Trip Updates allow recording aircraft state changes in the form of additional hours or cycles, or overriding the totals carried forward if, for example, part changes have occurred
Returns trips and/or trip updates for a given aircraft ID
| id required | string <uuid> ID of aircraft to use |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| includeIncomplete | boolean Default: true Example: includeIncomplete=false Whether or not to include incomplete Trips in the response |
| includeTrips | boolean Default: true Example: includeTrips=false Whether or not to include Trips in the response |
| includeTripUpdates | boolean Default: true Example: includeTripUpdates=false Whether or not to include TripUpdates in the response |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return the records. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) from which to return the records. Must be >= startDate. |
| tripIds | Array of strings <uuid> [ items <uuid > ] Example: tripIds=41f10b92-0e8a-4eb4-a17f-c20e7f124999&tripIds=fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd An array of Trip IDs to limit the returned Trips by |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "callsign": "1-TEST",
- "tripCategory": "private",
- "customData": {
- "trip_type": "3_pos_task'",
- "project_name": "optional_trips",
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "thirdPartyReferences": {
- "number": "123456"
}, - "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "isComplete": true,
- "justificationDescription": "test",
- "abandonmentReason": "technicalFailure"
}
]
}Returns all Defects that belong to the TripUpdate with the passed ID, ordered by dueDate ascending
| id required | string <uuid> The id of the TripUpdate to fetch all Defects for |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| defectTypes[] | Array of any Default: "CAS&defectTypes[]=CDL&defectTypes[]=MEL&defectTypes[]=NEF&defectTypes[]=Other" Items Enum: "CAS" "CDL" "MEL" "NEF" "Other" Example: defectTypes[]=CAS&defectTypes[]=MEL An array of defect types to filter the returned Defects by. |
| rectificationCategories[] | Array of any Default: "A&rectificationCategories[]=ADVISORYONLY&rectificationCategories[]=B&rectificationCategories[]=C&rectificationCategories[]=D&rectificationCategories[]=NONDEFERRED" Items Enum: "A" "ADVISORYONLY" "B" "C" "D" "NONDEFERRED" Example: rectificationCategories[]=B&rectificationCategories[]=C An array of rectification categories to filter the returned Defects by. |
| statuses[] | Array of any Items Enum: "open" "resolved" "overdue" "deferral_pending" "resolution_pending" Example: statuses[]=overdue&statuses[]=resolved An array of statuses to filter the returned Defects by. |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "sectorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportAirportId": "5b9v0b42-5e89-4eb4-c28b-a111xxxyyyzz",
- "details": "Small dent in nearside panel",
- "itemDescription": "Unknown how this occurred",
- "number": 23,
- "rectificationIntervalExtension": {
- "id": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "defectId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "extensionDate": "2022-07-07",
- "extensionDateDue": "2022-07-07",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}, - "dueDate": "2022-07-07",
- "dueDateTime": "2022-07-07T16:37:00Z",
- "estimatedDate": "2022-07-07",
- "raisedAt": "2022-07-07T16:37:00Z",
- "dueFlightSeconds": 3600,
- "dueApuSeconds": 3600,
- "dueCycles": 50,
- "dueLandings": 30,
- "status": "open",
- "reference": "CFI3778",
- "ataChapter": 22,
- "ataSection": 22,
- "flightsDue": 4,
- "limitations": "Aftermarket parts must not be used",
- "bookItemId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "bookItemType": "MelItem",
- "rectificationId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "placardProcedureCompleted": false,
- "operationalProcedureCompleted": false,
- "deferred": true,
- "raisedFromId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "reportedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "source": "amos",
- "importedAt": "2022-07-07T16:37:00Z",
- "defectType": "CAS",
- "rectificationCategory": "A",
- "tripEntryId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "serviceabilityLimiting": true,
- "limitFlightSeconds": 3600,
- "limitSeconds": 3600,
- "limitFlightDays": 10,
- "limitCycles": 20,
- "limitFlights": 5,
- "limitCalendarDays": 24,
- "limitApuSeconds": 7200,
- "limitOther": "Visual wear",
- "deferApprovalReference": "WE9O44",
- "reasonToDefer": "Unable to resolve on site",
- "editedById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "editedDate": "2022-07-07T16:37:00Z",
- "eropsPrevented": false,
- "placardNumber": "333444",
- "campSyncDate": "2022-07-07T16:37:00Z",
- "thirdPartyReferences": {
- "FlyWithUs": "123456",
- "BagsForYou": "XYZ-321"
}, - "deferredAt": "2022-07-07T16:37:00Z",
- "deferralLicenceNumber": "YYI987",
- "deferralApprovalNumber": "YU765W",
- "deferredById": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "intermittentFaultId": "21610b42-5e89-4eb4-c28b-a111aaabcdef",
- "reportedByType": "pilot",
- "deferralRaisedAt": "2022-07-07T16:37:00Z",
- "troubleshootingSteps": "Checked for leaks",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "deferUsing": "crew_signoff",
- "bookItem": {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "chapterNumber": 5,
- "subsectionNumber": 9,
- "subsubsection": "1.1.1.1"
}, - "rectification": {
- "id": "21610b42-5e89-4eb4-c28b-f234aaabbbff",
- "limitCycles": 5,
- "limitFlightSeconds": 36000,
- "interval": "A",
- "intervalDays": 30
}
}
]
}Update a tripUpdate
| id required | string Example: 09610b42-5e89-4eb4-a17f-c20e7f772676 ID of tripUpdate being updated |
| date | string <date> |
| number | integer <int32> |
| srpNumber | integer <int32> |
object | |
object | |
object |
{- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}
}{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Find a tripUpdate based on ID
| id required | string Example: 09610b42-5e89-4eb4-a17f-c20e7f772676 ID of tripUpdate being requested |
{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Delete a tripUpdate based on ID
| id required | string Example: 09610b42-5e89-4eb4-a17f-c20e7f772676 ID of tripUpdate being deleted |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Creates a TripUpdate
| aircraftId required | string <uuid> |
| date required | string <date> |
| number | integer <int32> |
| srpNumber | integer <int32> |
object | |
object | |
object |
{- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}
}{- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4baf12de6999",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "date": "2022-07-07",
- "number": 1,
- "srpNumber": 1,
- "customData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "utilisation": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1,
- "apuOffset": 0,
- "apuCyclesOffset": 0
}, - "carriedForwardsOverride": {
- "airframeSeconds": 3600,
- "airframeCycles": 1,
- "airframeLandings": 1,
- "engine1Cycles": 1,
- "engine2Cycles": 1,
- "engine1Seconds": 3600,
- "engine2Seconds": 3600,
- "apuSeconds": 1800,
- "apuCycles": 1
}, - "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Returns a binary representation of the trip/trip update's sector record page list in PDF format
| id required | string <uuid> ID of trip/trip update to use |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns all User Capabilities
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user being queried |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "capabilityId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Updates User Capabilities. The value of userCapabilities body attribute must be an array of objects. In order to give a user a specific capability, you must pass the capabilityId. In order to remove a capability, you must pass the id of the existing UserCapability with _destroy set to true.
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user for which the capabilities are being updated |
Array of objects or objects |
{- "userCapabilities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "_destroy": true
}
]
}[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "capabilityId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Anyone who uses Trustflight systems. Includes flight crew, maintenance and administrative staff
List User by Operator ID
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
string Example: email=@example.com Filter users by a full or partial email address | |
| position | Array of strings (UserPosition) Default: "Admin&position=Pilot&position=OpsController&position=Camo&position=Crew&position=Engineer&position=ReliefPilot&position=FlightAttendant" Items Enum: "Admin" "Pilot" "OpsController" "Camo" "Crew" "Engineer" "ReliefPilot" "FlightAttendant" Example: position=Pilot&position=ReliefPilot Not yet available - Filter users by their position |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "operatorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44",
- "status": "Active",
- "hasLogin": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Create a role that a person can assume, scoped to the current operator. Required to add AdditionalPeople. A list of existing PersonRoles can be found on the operator endpoints.
| name required | string |
| crewType required | string Enum: "Flight" "Cabin" "Maintenance" Within TechLog, this is a label only, but it may be used by third party integrations |
| positions required | Array of strings (UserPosition) non-empty Items Enum: "Admin" "Pilot" "OpsController" "Camo" "Crew" "Engineer" "ReliefPilot" "FlightAttendant" Only users whose |
| dutyTracked | boolean Default: false Set true if you want users who use this role to have their duty tracked by TechLog |
{- "name": "string",
- "crewType": "Flight",
- "positions": [
- "Admin"
], - "dutyTracked": false
}{- "id": "3da49b42-5e89-4eb4-a17f-c20e7f122676",
- "name": "string",
- "crewType": "Flight",
- "positions": [
- "Admin"
], - "dutyTracked": false,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Create a user
| firstName required | string |
| lastName required | string |
| email required | string |
| position required | string (UserPosition) Enum: "Admin" "Pilot" "OpsController" "Camo" "Crew" "Engineer" "ReliefPilot" "FlightAttendant" |
| employeeNumber | string |
| amosUserSign | string |
{- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44"
}{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "operatorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44",
- "status": "Active",
- "hasLogin": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Update a user
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user being queried |
| firstName | string |
| lastName | string |
| position | string (UserPosition) Enum: "Admin" "Pilot" "OpsController" "Camo" "Crew" "Engineer" "ReliefPilot" "FlightAttendant" |
| employeeNumber | string |
{- "firstName": "John",
- "lastName": "Smith",
- "position": "Admin",
- "employeeNumber": "ABC123"
}{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "operatorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44",
- "status": "Active",
- "hasLogin": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Get the details of a user by ID
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user being queried |
{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "operatorId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "firstName": "John",
- "lastName": "Smith",
- "email": "johnsmith@example.com",
- "position": "Admin",
- "employeeNumber": "ABC123",
- "amosUserSign": "LF44",
- "status": "Active",
- "hasLogin": true,
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Deletes a User based on ID
IMPORTANT: Deleting a user through this endpoint will prevent that user from having access to any previously accessible aircraft if they are able to log in to the system.
| id required | string <uuid> The id of the User to delete |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Returns all User Capabilities
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user being queried |
[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "capabilityId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]Updates User Capabilities. The value of userCapabilities body attribute must be an array of objects. In order to give a user a specific capability, you must pass the capabilityId. In order to remove a capability, you must pass the id of the existing UserCapability with _destroy set to true.
| id required | string Example: 8ab08a0a-0c12-4d87-93c5-e046362b5f77 ID of user for which the capabilities are being updated |
Array of objects or objects |
{- "userCapabilities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "_destroy": true
}
]
}[- {
- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "capabilityId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]A set of maintenance tasks that are performed on an aircraft during a specified maintenance period. These are made up of Defects and ScheduledMxItems
Returns workpacks for a given aircraft ID
| id required | string <uuid> ID of aircraft to use |
| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| startDate | string <date> Example: startDate=2022-03-03 The date (inclusive) from which to return the records. Must be <= endDate. |
| endDate | string <date> Example: endDate=2022-03-03 The date (inclusive) from which to return the records. Must be >= startDate. |
| status | Array of strings Default: "pending&status=draft&status=active&status=complete" Items Enum: "pending" "draft" "active" "complete" Example: status=active&status=complete An array of statuses to limit the returned Workpacks by |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Creates a Workpack against the Aircraft with the passed ID
| id required | string <uuid> The id of the Aircraft to create the Workpack against |
| status | string Enum: "draft" "active" "complete" "pending" |
| description | string |
| source | string Enum: "trustflight" "camp" |
| notes | string |
| reference | string |
| date | string |
| poNumber | string |
| mxItemIds | Array of strings <uuid> [ items <uuid > ] |
{- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
]
}{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Creates release against workpack with passed id
| id required | string <uuid> The id of the Workpack |
| companyEmail | string |
| licenceNumber | string |
| firstName | string |
| lastName | string |
| reporterFirstName | string |
| reporterLastName | string |
| approvalNumber | string |
| companyName | string |
| reference | string |
| date | string <date> |
| signeeType | string (SigneeType) Enum: "crewDetails" "engineerDetails" "crsDocument" |
| approverFirstName | string |
| approverLastName | string |
{- "companyEmail": "company@example.com",
- "licenceNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approvalNumber": "Example-123",
- "companyName": "ExampleCompany",
- "reference": "Example-123",
- "date": "2022-07-07",
- "signeeType": "crewDetails",
- "approverFirstName": "John",
- "approverLastName": "Smith"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "aircraftId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "operatorId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "workpackId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "openDefectIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "additionalItems": [
- "Fixed thing (REF: 123)",
- "Fixed other thing (REF: 456)"
], - "mxItemIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "21610b42-5e89-4eb4-c28b-a111aaabbbcc"
], - "date": "2022-07-07T15:37:00Z",
- "companyName": "ExampleCompany",
- "approvalNumber": "Example-123",
- "firstName": "John",
- "lastName": "Smith",
- "licenceNumber": "Example-123",
- "companyEmail": "company@example.com",
- "customData": { },
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "reference": "Example-123",
- "reporterFirstName": "John",
- "reporterLastName": "Smith",
- "approverFirstName": "John",
- "approverLastName": "Smith",
- "signeeType": "crewDetails",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "approvalReleaseRequired": false,
- "approvedById": "01610b42-5e89-4eb4-a17f-c20e7f7d2676"
}| page | integer <int32> >= 1 Default: 1 The current page of results |
| perPage | integer <int32> [ 1 .. 50 ] Default: 10 The number of items to return |
| updatedAfter | string <date-time> Example: updatedAfter=2022-02-14T11:08:00Z Will only return records that have been updated at or after this datetime |
{- "total": 100,
- "page": 1,
- "perPage": 10,
- "hasNext": true,
- "hasPrev": false,
- "results": [
- {
- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}
]
}Retrieve a Workpack based on ID
| id required | string <uuid> ID of Workpack to update |
{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Updates a Workpack based on ID
| id required | string <uuid> ID of Workpack to update |
| status | string Enum: "draft" "active" "complete" "pending" |
| description | string |
| source | string Enum: "trustflight" "camp" |
| notes | string |
| reference | string |
| date | string |
| poNumber | string |
| mxItemIds | Array of strings <uuid> [ items <uuid > ] |
{- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
]
}{- "id": "c11a0129-6811-4c9f-8004-4bafe2de6999",
- "aircraftId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "status": "draft",
- "description": "RH/LH Landing Light Replacement",
- "source": "trustflight",
- "notes": "some notes against the workpack",
- "reference": "KCAS-20-002",
- "date": "2022-02-02T07:08:00Z",
- "poNumber": "ILBG-20-123",
- "mxItemIds": [
- "41f10b92-0e8a-4eb4-a17f-c20e7f124999",
- "fdb77302-68a9-4ce1-a2d7-4b42b3b36dcd"
], - "releaseDate": "2022-02-02T07:08:00Z",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z"
}Delete a Workpack by ID
| id required | string <uuid> The id of the Workpack |
{- "title": "Client forbidden",
- "detail": "The client is not allowed to access this endpoint",
- "reason": "clientNotEnrolled"
}Creates a sector (with corrected pilot fields)
| tripId | string <uuid> |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
| pilotFlyingId | string <uuid> |
| pilotMonitoringId | string <uuid> |
Array of objects (FluidUpliftBody) | |
Array of objects (FuelUpliftBody) | |
Array of objects (DeiceEventBody) |
{- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}, - "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "fluidUplifts": [
- {
- "fluidType": "hydraulic",
- "fluidDestination": "engine",
- "fluidDestinationNumber": 1,
- "upliftUnit": "ml",
- "adjustment": 0.5,
- "recordOwnerId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "recordOwnerType": "Aircraft",
- "initialValue": 100,
- "uplift": 100,
- "departureValue": 100,
- "hydraulicCircuitId": "21610b42-5e89-4eb4-c28b-a111aaabbbcc",
- "category": "preflight"
}
], - "fuelUplifts": [
- {
- "aircraftPlannedUplift": 1.5,
- "aircraftActualUplift": 1.5,
- "truckActualUplift": 1.5,
- "truckUnit": "l",
- "density": 0.8,
- "fuel_type": "standard",
- "saf_percentage": 12.5
}
], - "deiceEvents": [
- {
- "startTime": "2022-07-07T13:37:00Z",
- "endTime": "2022-07-07T13:37:00Z",
- "fluidRatioLeft": 50,
- "fluidRatioRight": 50,
- "quantity": 100,
- "fluidType": "I",
- "holdoverSeconds": 100
}
]
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}Updates a sector based on ID (with corrected pilot fields)
Note: The preflightCustomData & postflightCustomData objects will overwrite what is currently stored. It will not merge their contents.
| id required | string ID of sector to use |
| departureAirportId | integer <int32> |
| arrivalAirportId | integer <int32> |
| actualArrivalAirportId | integer <int32> |
| pilotInCommandId | string <uuid> |
| secondInCommandId | string <uuid> |
| pilotPerformingTakeoffId | string <uuid> |
| pilotPerformingLandingId | string <uuid> |
| userId | string <uuid> |
| apuSeconds | integer <int32> |
| apuReading | integer <int32> |
| apuCyclesReading | integer <int32> |
| hobbsDeparture | number <double> |
| hobbsArrival | number <double> |
| offblocksTime | string <date-time> |
| takeoffTime | string <date-time> |
| landingTime | string <date-time> |
| onblocksTime | string <date-time> |
| landingsCount | integer |
| preflightCustomData | object An object containing custom preflight data for the sector |
| postflightCustomData | object An object containing custom postflight data for the sector |
| pilotFlyingId | string <uuid> |
| pilotMonitoringId | string <uuid> |
{- "departureAirportId": 1,
- "arrivalAirportId": 1,
- "actualArrivalAirportId": 1,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "preflightCustomData": {
- "flight_id": "334455",
- "pax_total": 2,
- "flight_type": "0_commercial",
- "security_search": false
}, - "postflightCustomData": {
- "safa_audit": false,
- "discretion_report": false,
- "l_oil_quantity": 1.8,
- "r_oil_quantity": 1.7,
- "delay_code": "00"
}, - "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}{- "id": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "tripId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "departureAirportId": 1,
- "arrivalAirportId": 2,
- "actualArrivalAirportId": 3,
- "pilotInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "secondInCommandId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingTakeoffId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotPerformingLandingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "userId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "apuSeconds": 1,
- "apuReading": 1,
- "apuCyclesReading": 1,
- "hobbsDeparture": 1.5,
- "hobbsArrival": 2.5,
- "offblocksTime": "2022-07-07T13:37:00Z",
- "takeoffTime": "2022-07-07T14:37:00Z",
- "landingTime": "2022-07-07T15:37:00Z",
- "onblocksTime": "2022-07-07T16:37:00Z",
- "landingsCount": 1,
- "takeoffsCount": 1,
- "status": "partial",
- "flightType": "training",
- "remarks": "hi",
- "createdAt": "2022-02-02T07:08:00Z",
- "updatedAt": "2022-03-03T07:08:00Z",
- "date": "2022-01-02T07:08:00Z",
- "source": "techlogApp",
- "preflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "postflightCustomData": {
- "trendMonitoring": {
- "justifications": {
- "2022-03-08T16:42:38.907+0000": {
- "trendMonitoring": "test"
}
}
}
}, - "cycles": {
- "airframe": 1,
- "engine1": 1,
- "engine2": 1,
- "engine3": 1,
- "engine4": 1,
- "apu": 1,
- "pressure": 1
}, - "passengersMale": 1,
- "passengersFemale": 1,
- "passengersChildren": 1,
- "passengersInfants": 1,
- "baggageWeight": 1,
- "gpuStart": "00:00:00",
- "gpuEnd": "00:00:00",
- "gpuSeconds": 1,
- "maxFlightLevel": 1,
- "pressurisedCycle": true,
- "preflightMxCheckIds": [
- "01610b42-5e89-4eb4-a17f-c20e7f772676"
], - "abandonmentReason": "technicalFailure",
- "attachments": [
- {
- "id": "21f10b42-0e89-4eb4-a17f-c20e7f124e1a",
- "contentType": "application/pdf",
- "size": 123456,
- "name": "example.pdf"
}
], - "fratScore": 50,
- "plannedFuelBurn": 200,
- "actualFuelBurn": 200,
- "fuelBurnJustification": "Increased taxi length",
- "pilotFlyingId": "01610b42-5e89-4eb4-a17f-c20e7f772676",
- "pilotMonitoringId": "01610b42-5e89-4eb4-a17f-c20e7f772676"
}