Booking flow

Search, Quote and Book transactions must be executed sequentally in order to book hotel rooms in a Seller.

1. SEARCH 2. QUOTE 3. BOOK OptionID WHERE TO NEXT? QuoteID OptionID ConfirmationID QuoteID

Performs a hotel availability search over 1 or more Seller accesses. Depending Seller, search operations implicit use supplier’s cache.

Operation

{

  "query": {

    "hotelX": {

      "search": {

      }

    }

  }

}

PlayGround Samples

Quote

Performs an hotel quote over an option returned in Search Response.

Operation

{

  "query": {

    "hotelX": {

      "quote": {

      }

    }

  }

}

PlayGround Samples

Book

Performs a book or reservation over an option returned in Quote Response.

Operation

{

  "mutation": {

    "hotelX": {

      "book": {

      }

    }

  }

}

PlayGround Samples

Cancellation

Performs a Seller booking cancellation.

Operation

{

  "mutation": {

    "hotelX": {

      "cancel": {

      }

    }

  }

}

PlayGround Samples

Booking

Performs a seller booking list.

In this case you can search the bookings with references or by dates, the dates can be arrival dates or booking dates.

Operation

{

  "query": {

    "hotelX": {

      "booking": {

      }

    }

  }

}

PlayGround Samples


Comments