Webjet · Arazzo Workflow

Trip Ninja — report price confirmation, booking, ticketing and cancellation

Version 1.0.0

The Trip Ninja reporting loop. These operations do not book or cancel anything with an airline — they report to Trip Ninja what your platform already did, which is what drives billing and the machine-learned markup models. Grounded in openapi/webjet-tripninja-flights-core-openapi.yml, published by Trip Ninja at https://github.com/trip-ninja-inc/trip_ninja_api_docs. Every operationId exists verbatim in that specification. Authored by API Evangelist on 2026-07-28.

2 workflows 4 source APIs 1 provider
View Spec View on GitHub TravelAustraliaOTAAviationBookingDistributionFlight SearchCar RentalNew ZealandTravel TechnologyArazzoWorkflows

Provider

webjet

Workflows

report-price-book-ticket
Report a price confirmation, then a booking, then a ticketing event.
3 steps inputs: bookingReport, priceConfirmationReport, ticketingReport outputs: bookingReport
2
report-booking
Report a booking that already exists in your own PNR estate. No idempotency key exists — do not auto-retry on an ambiguous outcome.
report-cancellation
Report that a previously reported trip was cancelled.
Not idempotent. Reporting a cancellation for an itinerary already marked cancelled returns IE41 ("you cannot set a cancelled itinerary to a cancelled itinerary"). Treat IE41 as "already in the target state", not as a transient failure.
1 step inputs: cancelReport outputs: cancellation

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Trip Ninja — report price confirmation, booking, ticketing and cancellation
  version: 1.0.0
  description: >-
    The Trip Ninja reporting loop. These operations do not book or cancel anything with an airline —
    they report to Trip Ninja what your platform already did, which is what drives billing and the
    machine-learned markup models. Grounded in
    openapi/webjet-tripninja-flights-core-openapi.yml, published by Trip Ninja at
    https://github.com/trip-ninja-inc/trip_ninja_api_docs. Every operationId exists verbatim in that
    specification. Authored by API Evangelist on 2026-07-28.
  x-realizes-capability-ids:
  - BC-4020.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4020.20
      capability_name: Booking Modification & Cancellation
      spec: webjet-cancel-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: bookingApi
  url: ../openapi/webjet-booking-api-openapi.yml
  type: openapi
- name: cancelApi
  url: ../openapi/webjet-cancel-api-openapi.yml
  type: openapi
- name: preBookingApi
  url: ../openapi/webjet-pre-booking-api-openapi.yml
  type: openapi
- name: ticketingApi
  url: ../openapi/webjet-ticketing-api-openapi.yml
  type: openapi
workflows:
- workflowId: report-price-book-ticket
  summary: Report a price confirmation, then a booking, then a ticketing event.
  inputs:
    type: object
    required: [priceConfirmationReport, bookingReport]
    properties:
      priceConfirmationReport:
        type: object
        description: PriceConfirmationReportRequest body.
      bookingReport:
        type: object
        description: BookingReportRequest body — trip_id, itinerary_id, optional customer_booking_reference_id and final_price.
      ticketingReport:
        type: object
        description: TicketingReportRequest body.
  steps:
  - stepId: report-price-confirmation
    operationId: $sourceDescriptions.preBookingApi.PriceConfirmationReport
    requestBody:
      contentType: application/json
      payload: $inputs.priceConfirmationReport
    successCriteria:
    - condition: $statusCode == 200
  - stepId: report-booking
    description: >-
      Report a booking that already exists in your own PNR estate. No idempotency key exists — do not
      auto-retry on an ambiguous outcome.
    operationId: $sourceDescriptions.bookingApi.BookingReport
    requestBody:
      contentType: application/json
      payload: $inputs.bookingReport
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bookingReportResponse: $response.body
  - stepId: report-ticketing
    operationId: $sourceDescriptions.ticketingApi.TicketingReport
    requestBody:
      contentType: application/json
      payload: $inputs.ticketingReport
    successCriteria:
    - condition: $statusCode == 200
  outputs:
    bookingReport: $steps.report-booking.outputs.bookingReportResponse
- workflowId: report-cancellation
  summary: Report that a previously reported trip was cancelled.
  description: >-
    Not idempotent. Reporting a cancellation for an itinerary already marked cancelled returns IE41
    ("you cannot set a cancelled itinerary to a cancelled itinerary"). Treat IE41 as "already in the
    target state", not as a transient failure.
  inputs:
    type: object
    required: [cancelReport]
    properties:
      cancelReport:
        type: object
        description: CancelRequest body — trip_id.
  steps:
  - stepId: report-cancel
    operationId: $sourceDescriptions.cancelApi.CancelBookingReport
    requestBody:
      contentType: application/json
      payload: $inputs.cancelReport
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      cancelResponse: $response.body
  outputs:
    cancellation: $steps.report-cancel.outputs.cancelResponse

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/webjet-tripninja-report-and-cancel"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.