Webhooks

Webhooks

Introducing Webhooks

Avianis has webhooks to compliment the Avianis REST Connect API. Without webhooks, the API must be called at regular intervals using 'lastUpdated' parameter to return records that have been changed since the previous call. Introducing webhooks into your process allows you to "listen" for subscribed events and receive a POST notification of a subset of changes to your provided URL. For the subset of properties provided by the webhook, on changes to those properties, the model provides the old value and new value. The webhooks are designed to only return pertinent change information, so it may be necessary to make and API call for additional details following receipt of a webhook.

Subscribed events include:
  1. Trip Create
  2. Trip Update
  3. Trip Delete
  4. Flight Leg Create
  5. Flight Leg Update
  6. Flight Leg Delete
  7. Quote Create
  8. Quote Update
  9. Quote Delete
  10. Invoice Create
  11. Invoice Update
  12. Invoice Delete
See sections below for more details.

Company > Webhooks page


Webhook Setup

To use the webhooks, follow these steps:
  1. Your organization must have a paid API call package to qualify (anything except the free API package)
  2. Contact your Avianis account manager to enable the webhooks module
  3. Once the module is enabled, go to Company > Webhooks
  4. Click '+ Add New'
  5. Enter a Name of the webhook and, optionally, a Description
  6. Provide a URL where you would like to receive the POST requests for that webhook 
  7. Select the events the webhook will be subscribed 
  8. Copy the Secret from this modal and save separately before saving, this will never be shown again or able to refresh
  9. Save the webhook 
  10. Start receiving requests within five (5) minutes
Alert
It may take up to five (5) minutes to start receiving requests on the webhook initial creation and up to five (5) minutes to stop receiving requests when a webhook is deleted/inactivated

Webhook create modal


Webhook Activity and Retries

Attempts are saved and viewable via the Action button on the webhook list. Payloads may be resent using the retry button to assist through error troubleshooting or as needed. The retry button will send the same payload to the URL. 

Activity button for webhooks


Review activity for a webhook


Trip Payloads

Trip Create Payload

  1. {
      "triggeredBy": {
        "connectionPlatformType": "Website",
        "eventDateTime": "2025-07-07T17:18:44.5081433Z",
        "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
      },
      "changeType": "Created",
      "objectType": "Trip",
      "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "object": {
        "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "tripNumber": "130",
        "tasks": [
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Advise maintenance new trip is scheduled ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Notify assigned crew of new trip",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Confirm owner approves trip ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Obtain signed quote and upload to trip ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Secure payment for full quoted amount ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Check noise restriction/curfews for all airports ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Confirm all airports are suitable for assigned aircraft ",
            "taskStatus": null
          }
        ],
        "services": [],
        "tripInstructions": [],
        "notes": [],
        "name": null,
        "number": "130",
        "locked": false,
        "active": true,
        "isBrokerTrip": false
      },
      "changes": [
        {
          "propertyName": "SystemObjectRecordId",
          "oldValue": 0,
          "newValue": 132
        },
        {
          "propertyName": "TripNumber",
          "oldValue": null,
          "newValue": "130"
        },
        {
          "propertyName": "Number",
          "oldValue": null,
          "newValue": "130"
        },
        {
          "propertyName": "Active",
          "oldValue": false,
          "newValue": true
        },
        {
          "propertyName": "Tasks",
          "changes": [
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Advise maintenance new trip is scheduled ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Advise maintenance new trip is scheduled "
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Notify assigned crew of new trip",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Notify assigned crew of new trip"
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Confirm owner approves trip ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Confirm owner approves trip "
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Obtain signed quote and upload to trip ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Obtain signed quote and upload to trip "
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Secure payment for full quoted amount ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Secure payment for full quoted amount "
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Check noise restriction/curfews for all airports ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Check noise restriction/curfews for all airports "
                }
              ]
            },
            {
              "changeType": "Insert",
              "objectType": "Task",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "name": "Confirm all airports are suitable for assigned aircraft ",
                "taskStatus": null
              },
              "changes": [
                {
                  "propertyName": "Name",
                  "oldValue": null,
                  "newValue": "Confirm all airports are suitable for assigned aircraft "
                }
              ]
            }
          ]
        },
        {
          "propertyName": "Services",
          "changes": []
        },
        {
          "propertyName": "TripInstructions",
          "changes": []
        },
        {
          "propertyName": "Notes",
          "changes": []
        }
      ]
    }

Trip Update Payload

  1. {
      "triggeredBy": {
        "connectionPlatformType": "Website",
        "eventDateTime": "2025-07-07T17:22:14.2767254Z",
        "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
      },
      "changeType": "Updated",
      "objectType": "Trip",
      "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "object": {
        "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "tripNumber": "130",
        "tasks": [
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Advise maintenance new trip is scheduled ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Notify assigned crew of new trip",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Confirm owner approves trip ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Obtain signed quote and upload to trip ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Secure payment for full quoted amount ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Check noise restriction/curfews for all airports ",
            "taskStatus": null
          },
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "name": "Confirm all airports are suitable for assigned aircraft ",
            "taskStatus": null
          }
        ],
        "services": [],
        "tripInstructions": [],
        "notes": [
          {
            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "notes": "Confirm with customer BC and WA ops. ",
            "noteCategoryName": "General"
          }
        ],
        "name": null,
        "number": "130",
        "locked": false,
        "active": true,
        "isBrokerTrip": false
      },
      "changes": [
        {
          "propertyName": "Notes",
          "changes": [
            {
              "changeType": "Insert",
              "objectType": "Note",
              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "object": {
                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "notes": "Confirm with customer BC and WA ops. ",
                "noteCategoryName": "General"
              },
              "changes": [
                {
                  "propertyName": "Notes",
                  "oldValue": null,
                  "newValue": "Confirm with customer BC and WA ops. "
                },
                {
                  "propertyName": "NoteCategoryName",
                  "oldValue": null,
                  "newValue": "General"
                }
              ]
            }
          ]
        }
      ]
    }

Trip Delete Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:23:45.4654969Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Deleted",
  8.   "objectType": "Trip",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "tripNumber": "130",
  13.     "tasks": [
  14.       {
  15.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  16.         "name": "Advise maintenance new trip is scheduled ",
  17.         "taskStatus": null
  18.       },
  19.       {
  20.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  21.         "name": "Notify assigned crew of new trip",
  22.         "taskStatus": null
  23.       },
  24.       {
  25.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  26.         "name": "Confirm owner approves trip ",
  27.         "taskStatus": null
  28.       },
  29.       {
  30.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  31.         "name": "Obtain signed quote and upload to trip ",
  32.         "taskStatus": null
  33.       },
  34.       {
  35.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  36.         "name": "Secure payment for full quoted amount ",
  37.         "taskStatus": null
  38.       },
  39.       {
  40.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  41.         "name": "Check noise restriction/curfews for all airports ",
  42.         "taskStatus": null
  43.       },
  44.       {
  45.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  46.         "name": "Confirm all airports are suitable for assigned aircraft ",
  47.         "taskStatus": null
  48.       }
  49.     ],
  50.     "services": [],
  51.     "tripInstructions": [],
  52.     "notes": [
  53.       {
  54.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  55.         "notes": "Confirm with customer BC and WA ops. ",
  56.         "noteCategoryName": "General"
  57.       }
  58.     ],
  59.     "name": null,
  60.     "number": "130",
  61.     "locked": false,
  62.     "active": true,
  63.     "isBrokerTrip": false
  64.   },
  65.   "changes": [
  66.     {
  67.       "propertyName": "SystemObjectRecordId",
  68.       "oldValue": 132,
  69.       "newValue": 0
  70.     },
  71.     {
  72.       "propertyName": "TripNumber",
  73.       "oldValue": "130",
  74.       "newValue": null
  75.     },
  76.     {
  77.       "propertyName": "Number",
  78.       "oldValue": "130",
  79.       "newValue": null
  80.     },
  81.     {
  82.       "propertyName": "Active",
  83.       "oldValue": true,
  84.       "newValue": false
  85.     },
  86.     {
  87.       "propertyName": "Tasks",
  88.       "changes": [
  89.         {
  90.           "changeType": "Delete",
  91.           "objectType": "Task",
  92.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  93.           "object": null,
  94.           "changes": [
  95.             {
  96.               "propertyName": "Name",
  97.               "oldValue": "Advise maintenance new trip is scheduled ",
  98.               "newValue": null
  99.             }
  100.           ]
  101.         },
  102.         {
  103.           "changeType": "Delete",
  104.           "objectType": "Task",
  105.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  106.           "object": null,
  107.           "changes": [
  108.             {
  109.               "propertyName": "Name",
  110.               "oldValue": "Notify assigned crew of new trip",
  111.               "newValue": null
  112.             }
  113.           ]
  114.         },
  115.         {
  116.           "changeType": "Delete",
  117.           "objectType": "Task",
  118.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  119.           "object": null,
  120.           "changes": [
  121.             {
  122.               "propertyName": "Name",
  123.               "oldValue": "Confirm owner approves trip ",
  124.               "newValue": null
  125.             }
  126.           ]
  127.         },
  128.         {
  129.           "changeType": "Delete",
  130.           "objectType": "Task",
  131.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  132.           "object": null,
  133.           "changes": [
  134.             {
  135.               "propertyName": "Name",
  136.               "oldValue": "Obtain signed quote and upload to trip ",
  137.               "newValue": null
  138.             }
  139.           ]
  140.         },
  141.         {
  142.           "changeType": "Delete",
  143.           "objectType": "Task",
  144.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  145.           "object": null,
  146.           "changes": [
  147.             {
  148.               "propertyName": "Name",
  149.               "oldValue": "Secure payment for full quoted amount ",
  150.               "newValue": null
  151.             }
  152.           ]
  153.         },
  154.         {
  155.           "changeType": "Delete",
  156.           "objectType": "Task",
  157.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  158.           "object": null,
  159.           "changes": [
  160.             {
  161.               "propertyName": "Name",
  162.               "oldValue": "Check noise restriction/curfews for all airports ",
  163.               "newValue": null
  164.             }
  165.           ]
  166.         },
  167.         {
  168.           "changeType": "Delete",
  169.           "objectType": "Task",
  170.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  171.           "object": null,
  172.           "changes": [
  173.             {
  174.               "propertyName": "Name",
  175.               "oldValue": "Confirm all airports are suitable for assigned aircraft ",
  176.               "newValue": null
  177.             }
  178.           ]
  179.         }
  180.       ]
  181.     },
  182.     {
  183.       "propertyName": "Services",
  184.       "changes": []
  185.     },
  186.     {
  187.       "propertyName": "TripInstructions",
  188.       "changes": []
  189.     },
  190.     {
  191.       "propertyName": "Notes",
  192.       "changes": [
  193.         {
  194.           "changeType": "Delete",
  195.           "objectType": "Note",
  196.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  197.           "object": null,
  198.           "changes": [
  199.             {
  200.               "propertyName": "Notes",
  201.               "oldValue": "Confirm with customer BC and WA ops. ",
  202.               "newValue": null
  203.             },
  204.             {
  205.               "propertyName": "NoteCategoryName",
  206.               "oldValue": "General",
  207.               "newValue": null
  208.             }
  209.           ]
  210.         }
  211.       ]
  212.     }
  213.   ]
  214. }

Flight Payloads

Flight Leg Create Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:18:44.273764Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Created",
  8.   "objectType": "FlightLeg",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "tripNumber": "130",
  13.     "tailNumber": "EM1234",
  14.     "legNumber": "1",
  15.     "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  16.     "departure": "CYYJ",
  17.     "arrival": "KBFI",
  18.     "flightPlanRouting": null,
  19.     "scheduledDepartureDateUTC": "2025-07-07T20:00:00",
  20.     "scheduledArrivalDateUTC": "2025-07-07T20:49:00",
  21.     "scheduledDepartureDateLocal": "2025-07-07T13:00:00",
  22.     "scheduledArrivalDateLocal": "2025-07-07T13:49:00",
  23.     "actualDepartureDateUTC": null,
  24.     "actualArrivalDateUTC": null,
  25.     "actualDepartureDateLocal": null,
  26.     "actualArrivalDateLocal": null,
  27.     "preFlightHours": "02:00:00",
  28.     "postFlightHours": "01:00:00",
  29.     "departureFBO": "",
  30.     "departureFBOComments": null,
  31.     "arrivalFBO": "",
  32.     "arrivalFBOComments": null,
  33.     "isEmptyLeg": false,
  34.     "status": "Active",
  35.     "logStatus": "NoLog",
  36.     "services": [],
  37.     "tasks": [],
  38.     "fratApproval": null,
  39.     "fratScore": 0.0,
  40.     "notes": [],
  41.     "flightTimeTBD": false,
  42.     "distance": 80.75,
  43.     "proposedBlockTime": null,
  44.     "proposedDutyTime": null,
  45.     "proposedRestTime": null,
  46.     "estimatedFlightHours": 0.7,
  47.     "estimatedBlockTime": 0.816666666666667,
  48.     "blockTime": null,
  49.     "actualFlightHours": 0.0,
  50.     "documentCount": 0
  51.   },
  52.   "changes": [
  53.     {
  54.       "propertyName": "OrganizationId",
  55.       "oldValue": null,
  56.       "newValue": "x"
  57.     },
  58.     {
  59.       "propertyName": "EstimatedBlockTime",
  60.       "oldValue": null,
  61.       "newValue": 0.816666666666667
  62.     },
  63.     {
  64.       "propertyName": "EstimatedFlightHours",
  65.       "oldValue": 0.0,
  66.       "newValue": 0.7
  67.     },
  68.     {
  69.       "propertyName": "Distance",
  70.       "oldValue": null,
  71.       "newValue": 80.75
  72.     },
  73.     {
  74.       "propertyName": "FratScore",
  75.       "oldValue": null,
  76.       "newValue": 0.0
  77.     },
  78.     {
  79.       "propertyName": "RegulatoryId",
  80.       "oldValue": null,
  81.       "newValue": "x"
  82.     },
  83.     {
  84.       "propertyName": "ArrivalFBO",
  85.       "oldValue": null,
  86.       "newValue": ""
  87.     },
  88.     {
  89.       "propertyName": "DepartureFBO",
  90.       "oldValue": null,
  91.       "newValue": ""
  92.     },
  93.     {
  94.       "propertyName": "PostFlightHours",
  95.       "oldValue": "00:00:00",
  96.       "newValue": "01:00:00"
  97.     },
  98.     {
  99.       "propertyName": "PreFlightHours",
  100.       "oldValue": "00:00:00",
  101.       "newValue": "02:00:00"
  102.     },
  103.     {
  104.       "propertyName": "ScheduledArrivalDateLocal",
  105.       "oldValue": "0001-01-01T00:00:00",
  106.       "newValue": "2025-07-07T13:49:00"
  107.     },
  108.     {
  109.       "propertyName": "ScheduledDepartureDateLocal",
  110.       "oldValue": "0001-01-01T00:00:00",
  111.       "newValue": "2025-07-07T13:00:00"
  112.     },
  113.     {
  114.       "propertyName": "ScheduledArrivalDateUTC",
  115.       "oldValue": "0001-01-01T00:00:00",
  116.       "newValue": "2025-07-07T20:49:00"
  117.     },
  118.     {
  119.       "propertyName": "ScheduledDepartureDateUTC",
  120.       "oldValue": "0001-01-01T00:00:00",
  121.       "newValue": "2025-07-07T20:00:00"
  122.     },
  123.     {
  124.       "propertyName": "Arrival",
  125.       "oldValue": null,
  126.       "newValue": "KBFI"
  127.     },
  128.     {
  129.       "propertyName": "Departure",
  130.       "oldValue": null,
  131.       "newValue": "CYYJ"
  132.     },
  133.     {
  134.       "propertyName": "AircraftId",
  135.       "oldValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  136.       "newValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  137.     },
  138.     {
  139.       "propertyName": "LegNumber",
  140.       "oldValue": null,
  141.       "newValue": "1"
  142.     },
  143.     {
  144.       "propertyName": "TailNumber",
  145.       "oldValue": null,
  146.       "newValue": "EM1234"
  147.     },
  148.     {
  149.       "propertyName": "TripNumber",
  150.       "oldValue": null,
  151.       "newValue": "130"
  152.     }
  153.   ]
  154. }

Flight Leg Update Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:19:01.9302555Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Updated",
  8.   "objectType": "FlightLeg",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "tripNumber": "130",
  13.     "tailNumber": "EM1234",
  14.     "legNumber": "1",
  15.     "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  16.     "departure": "CYYJ",
  17.     "arrival": "KBFI",
  18.     "flightPlanRouting": null,
  19.     "scheduledDepartureDateUTC": "2025-07-07T20:00:00",
  20.     "scheduledArrivalDateUTC": "2025-07-07T20:49:00",
  21.     "scheduledDepartureDateLocal": "2025-07-07T13:00:00",
  22.     "scheduledArrivalDateLocal": "2025-07-07T13:49:00",
  23.     "actualDepartureDateUTC": null,
  24.     "actualArrivalDateUTC": null,
  25.     "actualDepartureDateLocal": null,
  26.     "actualArrivalDateLocal": null,
  27.     "preFlightHours": "02:00:00",
  28.     "postFlightHours": "01:00:00",
  29.     "departureFBO": "",
  30.     "departureFBOComments": null,
  31.     "arrivalFBO": "",
  32.     "arrivalFBOComments": null,
  33.     "isEmptyLeg": false,
  34.     "status": "Active",
  35.     "logStatus": "NoLog",
  36.     "services": [],
  37.     "tasks": [],
  38.     "fratApproval": null,
  39.     "fratScore": 0.0,
  40.     "notes": [],
  41.     "flightTimeTBD": false,
  42.     "distance": 80.75,
  43.     "proposedBlockTime": 0.82,
  44.     "proposedDutyTime": 3.82,
  45.     "proposedRestTime": 0.0,
  46.     "estimatedFlightHours": 0.7,
  47.     "estimatedBlockTime": 0.816666666666667,
  48.     "blockTime": null,
  49.     "actualFlightHours": 0.0,
  50.     "documentCount": 0
  51.   },
  52.   "changes": [
  53.     {
  54.       "propertyName": "ProposedRestTime",
  55.       "oldValue": null,
  56.       "newValue": 0.0
  57.     },
  58.     {
  59.       "propertyName": "ProposedDutyTime",
  60.       "oldValue": null,
  61.       "newValue": 3.82
  62.     },
  63.     {
  64.       "propertyName": "ProposedBlockTime",
  65.       "oldValue": null,
  66.       "newValue": 0.82
  67.     }
  68.   ]
  69. }

Flight Leg Delete Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:23:45.4654969Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Deleted",
  8.   "objectType": "FlightLeg",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "tripNumber": "130",
  13.     "tailNumber": "EM1234",
  14.     "legNumber": "1",
  15.     "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  16.     "departure": "CYYJ",
  17.     "arrival": "KBFI",
  18.     "flightPlanRouting": null,
  19.     "scheduledDepartureDateUTC": "2025-07-07T20:00:00",
  20.     "scheduledArrivalDateUTC": "2025-07-07T20:49:00",
  21.     "scheduledDepartureDateLocal": "2025-07-07T13:00:00",
  22.     "scheduledArrivalDateLocal": "2025-07-07T13:49:00",
  23.     "actualDepartureDateUTC": null,
  24.     "actualArrivalDateUTC": null,
  25.     "actualDepartureDateLocal": null,
  26.     "actualArrivalDateLocal": null,
  27.     "preFlightHours": "02:00:00",
  28.     "postFlightHours": "01:00:00",
  29.     "departureFBO": "",
  30.     "departureFBOComments": null,
  31.     "arrivalFBO": "",
  32.     "arrivalFBOComments": null,
  33.     "isEmptyLeg": false,
  34.     "status": "Active",
  35.     "logStatus": "NoLog",
  36.     "services": [],
  37.     "tasks": [],
  38.     "fratApproval": null,
  39.     "fratScore": 0,
  40.     "notes": [],
  41.     "flightTimeTBD": false,
  42.     "distance": 80.75,
  43.     "proposedBlockTime": 0.82,
  44.     "proposedDutyTime": 3.82,
  45.     "proposedRestTime": 0,
  46.     "estimatedFlightHours": 0.7,
  47.     "estimatedBlockTime": 0.816666666666667,
  48.     "blockTime": null,
  49.     "actualFlightHours": 0,
  50.     "documentCount": 0
  51.   },
  52.   "changes": [
  53.     {
  54.       "propertyName": "OrganizationId",
  55.       "oldValue": "x",
  56.       "newValue": null
  57.     },
  58.     {
  59.       "propertyName": "EstimatedBlockTime",
  60.       "oldValue": 0.816666666666667,
  61.       "newValue": null
  62.     },
  63.     {
  64.       "propertyName": "EstimatedFlightHours",
  65.       "oldValue": 0.7,
  66.       "newValue": 0
  67.     },
  68.     {
  69.       "propertyName": "ProposedRestTime",
  70.       "oldValue": 0,
  71.       "newValue": null
  72.     },
  73.     {
  74.       "propertyName": "ProposedDutyTime",
  75.       "oldValue": 3.82,
  76.       "newValue": null
  77.     },
  78.     {
  79.       "propertyName": "ProposedBlockTime",
  80.       "oldValue": 0.82,
  81.       "newValue": null
  82.     },
  83.     {
  84.       "propertyName": "Distance",
  85.       "oldValue": 80.75,
  86.       "newValue": null
  87.     },
  88.     {
  89.       "propertyName": "FratScore",
  90.       "oldValue": 0,
  91.       "newValue": null
  92.     },
  93.     {
  94.       "propertyName": "RegulatoryId",
  95.       "oldValue": "x",
  96.       "newValue": null
  97.     },
  98.     {
  99.       "propertyName": "ArrivalFBO",
  100.       "oldValue": "",
  101.       "newValue": null
  102.     },
  103.     {
  104.       "propertyName": "DepartureFBO",
  105.       "oldValue": "",
  106.       "newValue": null
  107.     },
  108.     {
  109.       "propertyName": "PostFlightHours",
  110.       "oldValue": "01:00:00",
  111.       "newValue": "00:00:00"
  112.     },
  113.     {
  114.       "propertyName": "PreFlightHours",
  115.       "oldValue": "02:00:00",
  116.       "newValue": "00:00:00"
  117.     },
  118.     {
  119.       "propertyName": "ScheduledArrivalDateLocal",
  120.       "oldValue": "2025-07-07T13:49:00",
  121.       "newValue": "0001-01-01T00:00:00"
  122.     },
  123.     {
  124.       "propertyName": "ScheduledDepartureDateLocal",
  125.       "oldValue": "2025-07-07T13:00:00",
  126.       "newValue": "0001-01-01T00:00:00"
  127.     },
  128.     {
  129.       "propertyName": "ScheduledArrivalDateUTC",
  130.       "oldValue": "2025-07-07T20:49:00",
  131.       "newValue": "0001-01-01T00:00:00"
  132.     },
  133.     {
  134.       "propertyName": "ScheduledDepartureDateUTC",
  135.       "oldValue": "2025-07-07T20:00:00",
  136.       "newValue": "0001-01-01T00:00:00"
  137.     },
  138.     {
  139.       "propertyName": "Arrival",
  140.       "oldValue": "KBFI",
  141.       "newValue": null
  142.     },
  143.     {
  144.       "propertyName": "Departure",
  145.       "oldValue": "CYYJ",
  146.       "newValue": null
  147.     },
  148.     {
  149.       "propertyName": "AircraftId",
  150.       "oldValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  151.       "newValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  152.     },
  153.     {
  154.       "propertyName": "LegNumber",
  155.       "oldValue": "1",
  156.       "newValue": null
  157.     },
  158.     {
  159.       "propertyName": "TailNumber",
  160.       "oldValue": "EM1234",
  161.       "newValue": null
  162.     },
  163.     {
  164.       "propertyName": "TripNumber",
  165.       "oldValue": "130",
  166.       "newValue": null
  167.     }
  168.   ]
  169. }

Quote Payloads

Quote Create Payload

  1. {

      "triggeredBy": {

        "connectionPlatformType": "Website",

        "eventDateTime": "2025-07-07T17:13:54.3785357Z",

        "userEmail": "example@emai.com"

      },

      "changeType": "Created",

      "objectType": "Quote",

      "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

      "object": {

        "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "number": null,

        "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "customerId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "quoteType": "Retail",

        "isBooked": false,

        "expirationDateUTC": "2025-07-07T13:00:00",

        "total": 5553.75,

        "itineraries": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "departureDateUTC": "2025-07-07T17:00:00",

            "arrivalDateUTC": "2025-07-07T22:10:00",

            "departureAirportId": 25118,

            "departureLocationId": null,

            "arrivalAirportId": 27664,

            "arrivalLocationId": null,

            "schedulePreference": "Depart"

          }

        ],

        "lineItems": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "name": "Parking",

            "quantity": 1.0

          }

        ]

      },

      "changes": [

        {

          "propertyName": "SystemObjectRecordId",

          "oldValue": 0,

          "newValue": 157

        },

        {

          "propertyName": "AircraftId",

          "oldValue": "00000000000000000000000000000000",

          "newValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

        },

        {

          "propertyName": "CustomerId",

          "oldValue": null,

          "newValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

        },

        {

          "propertyName": "ExpirationDateUTC",

          "oldValue": "0001-01-01T00:00:00",

          "newValue": "2025-07-07T13:00:00"

        },

        {

          "propertyName": "QuoteType",

          "oldValue": 0,

          "newValue": "Retail"

        },

        {

          "propertyName": "Total",

          "oldValue": 0.0,

          "newValue": 5553.75

        },

        {

          "propertyName": "QuoteLineItems",

          "changes": [

            {

              "changeType": "Insert",

              "objectType": "QuoteLineItem",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": {

                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

                "name": "Parking",

                "quantity": 1.0

              },

              "changes": [

                {

                  "propertyName": "Name",

                  "oldValue": null,

                  "newValue": "Parking"

                },

                {

                  "propertyName": "Quantity",

                  "oldValue": 0.0,

                  "newValue": 1.0

                }

              ]

            }

          ]

        },

        {

          "propertyName": "QuoteItineraries",

          "changes": [

            {

              "changeType": "Insert",

              "objectType": "QuoteItinerary",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": {

                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

                "departureDateUTC": "2025-07-07T17:00:00",

                "arrivalDateUTC": "2025-07-07T22:10:00",

                "departureAirportId": 25118,

                "departureLocationId": null,

                "arrivalAirportId": 27664,

                "arrivalLocationId": null,

                "schedulePreference": "Depart"

              },

              "changes": [

                {

                  "propertyName": "DepartureDateUTC",

                  "oldValue": "0001-01-01T00:00:00",

                  "newValue": "2025-07-07T17:00:00"

                },

                {

                  "propertyName": "ArrivalDateUTC",

                  "oldValue": "0001-01-01T00:00:00",

                  "newValue": "2025-07-07T22:10:00"

                },

                {

                  "propertyName": "DepartureAirportId",

                  "oldValue": null,

                  "newValue": 25118

                },

                {

                  "propertyName": "ArrivalAirportId",

                  "oldValue": null,

                  "newValue": 27664

                },

                {

                  "propertyName": "SchedulePreference",

                  "oldValue": null,

                  "newValue": "Depart"

                }

              ]

            }

          ]

        }

      ]

    }

Quote Update Payload

  1. {

      "triggeredBy": {

        "connectionPlatformType": "Website",

        "eventDateTime": "2025-07-07T17:15:35.1771042Z",

        "userEmail": "example@email.com"

      },

      "changeType": "Updated",

      "objectType": "Quote",

      "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

      "object": {

        "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "number": null,

        "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "customerId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "quoteType": "Retail",

        "isBooked": false,

        "expirationDateUTC": "2025-07-07T13:00:00",

        "total": 7552.92,

        "itineraries": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "departureDateUTC": "2025-07-07T17:00:00",

            "arrivalDateUTC": "2025-07-07T22:10:00",

            "departureAirportId": 25118,

            "departureLocationId": null,

            "arrivalAirportId": 27664,

            "arrivalLocationId": null,

            "schedulePreference": "Depart"

          },

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "departureDateUTC": "2025-07-07T23:10:00",

            "arrivalDateUTC": "2025-07-08T01:03:00",

            "departureAirportId": 27664,

            "departureLocationId": null,

            "arrivalAirportId": 27318,

            "arrivalLocationId": null,

            "schedulePreference": "Depart"

          }

        ],

        "lineItems": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "name": "International to Int'l line item",

            "quantity": 1.0

          },

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "name": "Parking",

            "quantity": 1.0

          }

        ]

      },

      "changes": [

        {

          "propertyName": "Total",

          "oldValue": 5553.75,

          "newValue": 7552.92

        },

        {

          "propertyName": "QuoteLineItems",

          "changes": [

            {

              "changeType": "Insert",

              "objectType": "QuoteLineItem",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": {

                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

                "name": "International to Int'l line item",

                "quantity": 1.0

              },

              "changes": [

                {

                  "propertyName": "Name",

                  "oldValue": null,

                  "newValue": "International to Int'l line item"

                },

                {

                  "propertyName": "Quantity",

                  "oldValue": 0.0,

                  "newValue": 1.0

                }

              ]

            }

          ]

        },

        {

          "propertyName": "QuoteItineraries",

          "changes": [

            {

              "changeType": "Insert",

              "objectType": "QuoteItinerary",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": {

                "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

                "departureDateUTC": "2025-07-07T23:10:00",

                "arrivalDateUTC": "2025-07-08T01:03:00",

                "departureAirportId": 27664,

                "departureLocationId": null,

                "arrivalAirportId": 27318,

                "arrivalLocationId": null,

                "schedulePreference": "Depart"

              },

              "changes": [

                {

                  "propertyName": "DepartureDateUTC",

                  "oldValue": "0001-01-01T00:00:00",

                  "newValue": "2025-07-07T23:10:00"

                },

                {

                  "propertyName": "ArrivalDateUTC",

                  "oldValue": "0001-01-01T00:00:00",

                  "newValue": "2025-07-08T01:03:00"

                },

                {

                  "propertyName": "DepartureAirportId",

                  "oldValue": null,

                  "newValue": 27664

                },

                {

                  "propertyName": "ArrivalAirportId",

                  "oldValue": null,

                  "newValue": 27318

                },

                {

                  "propertyName": "SchedulePreference",

                  "oldValue": null,

                  "newValue": "Depart"

                }

              ]

            }

          ]

        }

      ]

    }

Quote Delete Payload

  1. {

      "triggeredBy": {

        "connectionPlatformType": "Website",

        "eventDateTime": "2025-07-07T17:17:06.053531Z",

        "userEmail": "example@email.com"

      },

      "changeType": "Deleted",

      "objectType": "Quote",

      "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

      "object": {

        "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "number": null,

        "aircraftId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "customerId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

        "quoteType": "Retail",

        "isBooked": false,

        "expirationDateUTC": "2025-07-07T13:00:00",

        "total": 7552.92,

        "itineraries": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "departureDateUTC": "2025-07-07T17:00:00",

            "arrivalDateUTC": "2025-07-07T22:10:00",

            "departureAirportId": 25118,

            "departureLocationId": null,

            "arrivalAirportId": 27664,

            "arrivalLocationId": null,

            "schedulePreference": "Depart"

          },

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "departureDateUTC": "2025-07-07T23:10:00",

            "arrivalDateUTC": "2025-07-08T01:03:00",

            "departureAirportId": 27664,

            "departureLocationId": null,

            "arrivalAirportId": 27318,

            "arrivalLocationId": null,

            "schedulePreference": "Depart"

          }

        ],

        "lineItems": [

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "name": "International to Int'l line item",

            "quantity": 1.0

          },

          {

            "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

            "name": "Parking",

            "quantity": 1.0

          }

        ]

      },

      "changes": [

        {

          "propertyName": "SystemObjectRecordId",

          "oldValue": 157,

          "newValue": 0

        },

        {

          "propertyName": "AircraftId",

          "oldValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

          "newValue": "00000000000000000000000000000000"

        },

        {

          "propertyName": "CustomerId",

          "oldValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

          "newValue": null

        },

        {

          "propertyName": "ExpirationDateUTC",

          "oldValue": "2025-07-07T13:00:00",

          "newValue": "0001-01-01T00:00:00"

        },

        {

          "propertyName": "QuoteType",

          "oldValue": "Retail",

          "newValue": 0

        },

        {

          "propertyName": "Total",

          "oldValue": 7552.92,

          "newValue": 0.0

        },

        {

          "propertyName": "QuoteLineItems",

          "changes": [

            {

              "changeType": "Delete",

              "objectType": "QuoteLineItem",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": null,

              "changes": [

                {

                  "propertyName": "Name",

                  "oldValue": "International to Int'l line item",

                  "newValue": null

                },

                {

                  "propertyName": "Quantity",

                  "oldValue": 1.0,

                  "newValue": 0.0

                }

              ]

            },

            {

              "changeType": "Delete",

              "objectType": "QuoteLineItem",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": null,

              "changes": [

                {

                  "propertyName": "Name",

                  "oldValue": "Parking",

                  "newValue": null

                },

                {

                  "propertyName": "Quantity",

                  "oldValue": 1.0,

                  "newValue": 0.0

                }

              ]

            }

          ]

        },

        {

          "propertyName": "QuoteItineraries",

          "changes": [

            {

              "changeType": "Delete",

              "objectType": "QuoteItinerary",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": null,

              "changes": [

                {

                  "propertyName": "DepartureDateUTC",

                  "oldValue": "2025-07-07T17:00:00",

                  "newValue": "0001-01-01T00:00:00"

                },

                {

                  "propertyName": "ArrivalDateUTC",

                  "oldValue": "2025-07-07T22:10:00",

                  "newValue": "0001-01-01T00:00:00"

                },

                {

                  "propertyName": "DepartureAirportId",

                  "oldValue": 25118,

                  "newValue": null

                },

                {

                  "propertyName": "ArrivalAirportId",

                  "oldValue": 27664,

                  "newValue": null

                },

                {

                  "propertyName": "SchedulePreference",

                  "oldValue": "Depart",

                  "newValue": null

                }

              ]

            },

            {

              "changeType": "Delete",

              "objectType": "QuoteItinerary",

              "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

              "object": null,

              "changes": [

                {

                  "propertyName": "DepartureDateUTC",

                  "oldValue": "2025-07-07T23:10:00",

                  "newValue": "0001-01-01T00:00:00"

                },

                {

                  "propertyName": "ArrivalDateUTC",

                  "oldValue": "2025-07-08T01:03:00",

                  "newValue": "0001-01-01T00:00:00"

                },

                {

                  "propertyName": "DepartureAirportId",

                  "oldValue": 27664,

                  "newValue": null

                },

                {

                  "propertyName": "ArrivalAirportId",

                  "oldValue": 27318,

                  "newValue": null

                },

                {

                  "propertyName": "SchedulePreference",

                  "oldValue": "Depart",

                  "newValue": null

                }

              ]

            }

          ]

        }

      ]

    }

Invoice Payloads

Invoice Create Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:29:16.8481101Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Created",
  8.   "objectType": "Invoice",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "number": "11",
  13.     "customerId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  14.     "dueDate": "2025-07-05T00:00:00",
  15.     "outstandingBalance": 0,
  16.     "total": 0,
  17.     "status": "Draft",
  18.     "currencyConversionId": null,
  19.     "lineItems": []
  20.   },
  21.   "changes": [
  22.     {
  23.       "propertyName": "SystemObjectRecordId",
  24.       "oldValue": 0,
  25.       "newValue": 11
  26.     },
  27.     {
  28.       "propertyName": "DueDate",
  29.       "oldValue": null,
  30.       "newValue": "2025-07-05T00:00:00"
  31.     },
  32.     {
  33.       "propertyName": "CustomerId",
  34.       "oldValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  35.       "newValue": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  36.     },
  37.     {
  38.       "propertyName": "Number",
  39.       "oldValue": null,
  40.       "newValue": "11"
  41.     },
  42.     {
  43.       "propertyName": "Status",
  44.       "oldValue": 0,
  45.       "newValue": "Draft"
  46.     }
  47.   ]
  48. }

Invoice Update Payload

  1. {
  2.   "triggeredBy": {
  3.     "connectionPlatformType": "Website",
  4.     "eventDateTime": "2025-07-07T17:29:47.9581276Z",
  5.     "userEmail": "xxxxxxxxxx@xxxxxxxxxx"
  6.   },
  7.   "changeType": "Updated",
  8.   "objectType": "Invoice",
  9.   "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  10.   "object": {
  11.     "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  12.     "number": "11",
  13.     "customerId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  14.     "dueDate": "2025-07-05T00:00:00",
  15.     "outstandingBalance": 0.0,
  16.     "total": 0.0,
  17.     "status": "Draft",
  18.     "currencyConversionId": null,
  19.     "lineItems": [
  20.       {
  21.         "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  22.         "name": "Leg 1| BT: CYVR, VANCOUVER > KSFO, SAN FRANCISCO (not logged)",
  23.         "quantity": 0.0
  24.       }
  25.     ]
  26.   },
  27.   "changes": [
  28.     {
  29.       "propertyName": "InvoiceLineItems",
  30.       "changes": [
  31.         {
  32.           "changeType": "Insert",
  33.           "objectType": "InvoiceLineItem",
  34.           "objectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  35.           "object": {
  36.             "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  37.             "name": "Leg 1| BT: CYVR, VANCOUVER > KSFO, SAN FRANCISCO (not logged)",
  38.             "quantity": 0.0
  39.           },
  40.           "changes": [
  41.             {
  42.               "propertyName": "Name",
  43.               "oldValue": null,
  44.               "newValue": "Leg 1| BT: CYVR, VANCOUVER > KSFO, SAN FRANCISCO (not logged)"
  45.             }
  46.           ]
  47.         }
  48.       ]
  49.     }
  50.   ]
  51. }

Invoice Delete

While invoice delete is a subscription option, currently invoices may not be deletes - only made inactive. 
    • Related Articles

    • 2025 July 02 - Web Updates

      Avianis updates weekly; however, release notes are only issued for releases with new features. Be prepared for next week's release with the new user permissions model, Access Roles! Join us for the webinar to learn more on Tuesday, July 8th at 13:00 ...