GET api/Bookings/Getpro_bookings?_Credentials={_Credentials}&_BookStatus={_BookStatus}&_Product={_Product}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_Credentials

string

Required

_BookStatus

integer

Default value is 0

_Product

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of cEntity_pro_bookings
NameDescriptionTypeAdditional information
id

string

None.

bookingReference

string

None.

customBookingReference

string

None.

status

string

None.

tripType

string

None.

nightsCount

integer

None.

destinationCount

integer

None.

creationDate

string

None.

lastUpdateDate

string

None.

startDate

string

None.

endDate

string

None.

adultCount

integer

None.

childCount

integer

None.

infantCount

integer

None.

agencyBookingReference

string

None.

notes

string

None.

referralId

string

None.

language

string

None.

salesChannel

string

None.

ideaUrl

string

None.

voucherUrl

string

None.

microsite

string

None.

optigest_id

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

_SendCredentials

string

None.

user_id

string

None.

b2c

string

None.

payment_type

string

None.

amount

decimal number

None.

currency

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "bookingReference": "sample string 2",
    "customBookingReference": "sample string 3",
    "status": "sample string 4",
    "tripType": "sample string 5",
    "nightsCount": 6,
    "destinationCount": 7,
    "creationDate": "sample string 8",
    "lastUpdateDate": "sample string 9",
    "startDate": "sample string 10",
    "endDate": "sample string 11",
    "adultCount": 12,
    "childCount": 13,
    "infantCount": 14,
    "agencyBookingReference": "sample string 15",
    "notes": "sample string 16",
    "referralId": "sample string 17",
    "language": "sample string 18",
    "salesChannel": "sample string 19",
    "ideaUrl": "sample string 20",
    "voucherUrl": "sample string 21",
    "microsite": "sample string 22",
    "optigest_id": "sample string 23",
    "_Action": "sample string 24",
    "hasError": true,
    "hasErrorMessage": "sample string 26",
    "_SendCredentials": "sample string 27",
    "user_id": "sample string 28",
    "b2c": "sample string 29",
    "payment_type": "sample string 30",
    "amount": 31.0,
    "currency": "sample string 32"
  },
  {
    "id": "sample string 1",
    "bookingReference": "sample string 2",
    "customBookingReference": "sample string 3",
    "status": "sample string 4",
    "tripType": "sample string 5",
    "nightsCount": 6,
    "destinationCount": 7,
    "creationDate": "sample string 8",
    "lastUpdateDate": "sample string 9",
    "startDate": "sample string 10",
    "endDate": "sample string 11",
    "adultCount": 12,
    "childCount": 13,
    "infantCount": 14,
    "agencyBookingReference": "sample string 15",
    "notes": "sample string 16",
    "referralId": "sample string 17",
    "language": "sample string 18",
    "salesChannel": "sample string 19",
    "ideaUrl": "sample string 20",
    "voucherUrl": "sample string 21",
    "microsite": "sample string 22",
    "optigest_id": "sample string 23",
    "_Action": "sample string 24",
    "hasError": true,
    "hasErrorMessage": "sample string 26",
    "_SendCredentials": "sample string 27",
    "user_id": "sample string 28",
    "b2c": "sample string 29",
    "payment_type": "sample string 30",
    "amount": 31.0,
    "currency": "sample string 32"
  }
]

application/xml, text/xml

Sample:
<ArrayOfcBookings.cEntity_pro_bookings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <cBookings.cEntity_pro_bookings>
    <_Action>sample string 24</_Action>
    <_SendCredentials>sample string 27</_SendCredentials>
    <adultCount>12</adultCount>
    <agencyBookingReference>sample string 15</agencyBookingReference>
    <amount>31</amount>
    <b2c>sample string 29</b2c>
    <bookingReference>sample string 2</bookingReference>
    <childCount>13</childCount>
    <creationDate>sample string 8</creationDate>
    <currency>sample string 32</currency>
    <customBookingReference>sample string 3</customBookingReference>
    <destinationCount>7</destinationCount>
    <endDate>sample string 11</endDate>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 26</hasErrorMessage>
    <id>sample string 1</id>
    <ideaUrl>sample string 20</ideaUrl>
    <infantCount>14</infantCount>
    <language>sample string 18</language>
    <lastUpdateDate>sample string 9</lastUpdateDate>
    <microsite>sample string 22</microsite>
    <nightsCount>6</nightsCount>
    <notes>sample string 16</notes>
    <optigest_id>sample string 23</optigest_id>
    <payment_type>sample string 30</payment_type>
    <referralId>sample string 17</referralId>
    <salesChannel>sample string 19</salesChannel>
    <startDate>sample string 10</startDate>
    <status>sample string 4</status>
    <tripType>sample string 5</tripType>
    <user_id>sample string 28</user_id>
    <voucherUrl>sample string 21</voucherUrl>
  </cBookings.cEntity_pro_bookings>
  <cBookings.cEntity_pro_bookings>
    <_Action>sample string 24</_Action>
    <_SendCredentials>sample string 27</_SendCredentials>
    <adultCount>12</adultCount>
    <agencyBookingReference>sample string 15</agencyBookingReference>
    <amount>31</amount>
    <b2c>sample string 29</b2c>
    <bookingReference>sample string 2</bookingReference>
    <childCount>13</childCount>
    <creationDate>sample string 8</creationDate>
    <currency>sample string 32</currency>
    <customBookingReference>sample string 3</customBookingReference>
    <destinationCount>7</destinationCount>
    <endDate>sample string 11</endDate>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 26</hasErrorMessage>
    <id>sample string 1</id>
    <ideaUrl>sample string 20</ideaUrl>
    <infantCount>14</infantCount>
    <language>sample string 18</language>
    <lastUpdateDate>sample string 9</lastUpdateDate>
    <microsite>sample string 22</microsite>
    <nightsCount>6</nightsCount>
    <notes>sample string 16</notes>
    <optigest_id>sample string 23</optigest_id>
    <payment_type>sample string 30</payment_type>
    <referralId>sample string 17</referralId>
    <salesChannel>sample string 19</salesChannel>
    <startDate>sample string 10</startDate>
    <status>sample string 4</status>
    <tripType>sample string 5</tripType>
    <user_id>sample string 28</user_id>
    <voucherUrl>sample string 21</voucherUrl>
  </cBookings.cEntity_pro_bookings>
</ArrayOfcBookings.cEntity_pro_bookings>