GET api/Bookings/GetBookingAmendments/{StartDate}/{EndDate}

Allows a client to request a list of amendments that have happened to bookings within a start and end date range.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StartDate

The first date to look for booking amendments from.

date

Required

EndDate

The end date to look for booking amendments.

date

Required

Body Parameters

None.

Response Information

Resource Description

A list of booking amendments that have taken place between the start and end date.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
[{"AmendmentID":0,"BookingID":0,"ChangedOn":"0001-01-01T00:00:00","FieldChanged":"","OldValue":"","NewValue":""}]

application/xml, text/xml

Sample:
<?xml version="1.0" encoding="utf-16"?>
<BookingChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <APIBookingChange>
    <AmendmentID>0</AmendmentID>
    <BookingID>0</BookingID>
    <ChangedOn>0001-01-01T00:00:00</ChangedOn>
    <FieldChanged />
    <OldValue />
    <NewValue />
  </APIBookingChange>
</BookingChanges>