Bookings


GetBookings

Last Update Date 21.09.2020

Request Sample


v1/booking/GetBookings
├── from                    ───> First Date(DateTime)
├── to                      ───> Second Date(DateTime)
├── checkinfrom             ───> Checkin From(DateTime)
├── checkinto               ───> Checkin To(DateTime)
└── agencyReferenceNumber   ───> agencyReferenceNumber(String)

{
    "from":"2016-10-01",
    "to":"2016-11-08",
    "checkinfrom":"2016-10-01",
    "checkinto":"2016-11-08",
    "agencyReferenceNumber":"d546d4fdsf6"
}

Response Sample


v1/booking/GetBookings

{
  "bookings": [
    {
      "bookingId": "0661b2d7-2697-4acd-b1a4-1a9b09b5e012",
      "creation": "2016-10-13T11:19:38.382Z",
      "checkin": "2016-10-14T00:00:00Z",
      "checkout": "2016-10-15T00:00:00Z",
      "amount": {
        "amount": 19.0,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "217d2c7b-5966-4157-8df5-cace85e75d03",
      "creation": "2016-10-15T08:06:04.765Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "68329fc6-cac6-44fb-9e27-88d2568bfcc5",
      "creation": "2016-10-15T08:19:44.24Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "e686ab23-c7c8-4e61-b620-adb3f7147bbc",
      "creation": "2016-10-15T08:31:50.644Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "6b83125f-9079-439f-8884-fda035a882cb",
      "creation": "2016-10-15T08:32:16.587Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "d890ef8c-83c0-43b9-8e0f-85e2237cf2ba",
      "creation": "2016-10-15T08:39:15.575Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "7423d5a1-dd65-4184-8cb2-5af039924298",
      "creation": "2016-10-15T09:03:59.864Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-25T00:00:00Z",
      "amount": {
        "amount": 176.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "77673056-cf89-408b-a695-3a0e64a0d2b6",
      "creation": "2016-10-17T06:25:42.428Z",
      "checkin": "2016-10-29T00:00:00Z",
      "checkout": "2016-11-01T00:00:00Z",
      "amount": {
        "amount": 151.800,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "c88ff9b2-06eb-4f8d-88b0-e79acd8b5951",
      "creation": "2016-10-17T06:36:51.033Z",
      "checkin": "2016-10-29T00:00:00Z",
      "checkout": "2016-11-01T00:00:00Z",
      "amount": {
        "amount": 132.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "8c3fe8ea-ceaa-474c-a56b-d1b4b2c2c48e",
      "creation": "2016-10-17T06:51:53.313Z",
      "checkin": "2016-10-29T00:00:00Z",
      "checkout": "2016-11-01T00:00:00Z",
      "amount": {
        "amount": 138.600,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "65491938-46ce-4f67-a62b-89ce9f362ef0",
      "creation": "2016-10-17T07:27:28.876Z",
      "checkin": "2016-10-29T00:00:00Z",
      "checkout": "2016-11-01T00:00:00Z",
      "amount": {
        "amount": 138.600,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "1ed59b92-ba4b-4bf5-87dc-b873b6eb7466",
      "creation": "2016-10-17T08:28:20.49Z",
      "checkin": "2016-10-23T00:00:00Z",
      "checkout": "2016-10-26T00:00:00Z",
      "amount": {
        "amount": 88.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "321869c2-2a8b-4f07-9722-27dbdcccd8a6",
      "creation": "2016-10-17T08:40:20.872Z",
      "checkin": "2016-10-21T00:00:00Z",
      "checkout": "2016-10-24T00:00:00Z",
      "amount": {
        "amount": 143.000,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "109fa676-2ea7-4c84-a3e9-b1f4b99f6b60",
      "creation": "2016-10-18T10:44:31.261Z",
      "checkin": "2016-10-19T00:00:00Z",
      "checkout": "2016-10-20T00:00:00Z",
      "amount": {
        "amount": 35.58,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "7abec1d2-c92e-4e93-ab2f-0a6879085b68",
      "creation": "2016-10-18T10:54:42.49Z",
      "checkin": "2016-10-19T00:00:00Z",
      "checkout": "2016-10-20T00:00:00Z",
      "amount": {
        "amount": 59.04,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "bec1e7f0-facf-47e8-a76e-78fd45b0641e",
      "creation": "2016-10-25T07:46:41.916Z",
      "checkin": "2016-10-26T00:00:00Z",
      "checkout": "2016-10-27T00:00:00Z",
      "amount": {
        "amount": 48.21,
        "currency": "EUR"
      },
      "notes": []
    },
    {
      "bookingId": "bb2fe43b-e4fb-4524-be8b-5c7a1c556270",
      "creation": "2016-10-25T08:27:08.484Z",
      "checkin": "2016-10-26T00:00:00Z",
      "checkout": "2016-10-27T00:00:00Z",
      "amount": {
        "amount": 48.21,
        "currency": "EUR"
      },
      "notes": []
    }
  ]
}