POST api/Jla/OfflineBooking

Documentation for 'OfflineBooking'.

Request Information

Parameters

NameDescriptionAdditional information
offlineBooking
Documentation for 'offlineBooking'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "NumPassengers": 1,
  "RoomRequirements": {
    "RoomRequirementsId": 1,
    "Single": 2,
    "WillingToShare": true,
    "Twin": 4,
    "Double": 5,
    "Triple": 6
  },
  "Travellers": [
    {
      "Person": {
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "Organisation": "sample string 5",
        "Occupation": "sample string 6",
        "Email": "sample string 7",
        "Phone": "sample string 8",
        "DateOfBirth": "2024-11-21T10:09:45.1232886+00:00",
        "Gender": "sample string 9"
      },
      "PassportDetails": {
        "Nationality": "sample string 2",
        "Number": "sample string 3",
        "IssuingCountry": "sample string 4",
        "IssuingOffice": "sample string 5",
        "ExpiryDate": "2024-11-21T10:09:45.1252872+00:00"
      },
      "InsuranceDetails": {
        "InsuranceCompany": "sample string 2",
        "PolicyNumber": "sample string 3",
        "EmergencyPhone": "sample string 4"
      },
      "EmergencyContactDetails": {
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Email": "sample string 4",
        "Phone": "sample string 5",
        "Relationship": "sample string 6"
      },
      "Address": {
        "Line1": "sample string 2",
        "Line2": "sample string 3",
        "Line3": "sample string 4",
        "City": "sample string 5",
        "County": "sample string 6",
        "Postcode": "sample string 7",
        "Country": "sample string 8",
        "State": "sample string 9"
      },
      "SpecialDietaryRequirements": "sample string 2",
      "MedicalConditions": "sample string 3"
    },
    {
      "Person": {
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "Organisation": "sample string 5",
        "Occupation": "sample string 6",
        "Email": "sample string 7",
        "Phone": "sample string 8",
        "DateOfBirth": "2024-11-21T10:09:45.1232886+00:00",
        "Gender": "sample string 9"
      },
      "PassportDetails": {
        "Nationality": "sample string 2",
        "Number": "sample string 3",
        "IssuingCountry": "sample string 4",
        "IssuingOffice": "sample string 5",
        "ExpiryDate": "2024-11-21T10:09:45.1252872+00:00"
      },
      "InsuranceDetails": {
        "InsuranceCompany": "sample string 2",
        "PolicyNumber": "sample string 3",
        "EmergencyPhone": "sample string 4"
      },
      "EmergencyContactDetails": {
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Email": "sample string 4",
        "Phone": "sample string 5",
        "Relationship": "sample string 6"
      },
      "Address": {
        "Line1": "sample string 2",
        "Line2": "sample string 3",
        "Line3": "sample string 4",
        "City": "sample string 5",
        "County": "sample string 6",
        "Postcode": "sample string 7",
        "Country": "sample string 8",
        "State": "sample string 9"
      },
      "SpecialDietaryRequirements": "sample string 2",
      "MedicalConditions": "sample string 3"
    },
    {
      "Person": {
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4",
        "Organisation": "sample string 5",
        "Occupation": "sample string 6",
        "Email": "sample string 7",
        "Phone": "sample string 8",
        "DateOfBirth": "2024-11-21T10:09:45.1232886+00:00",
        "Gender": "sample string 9"
      },
      "PassportDetails": {
        "Nationality": "sample string 2",
        "Number": "sample string 3",
        "IssuingCountry": "sample string 4",
        "IssuingOffice": "sample string 5",
        "ExpiryDate": "2024-11-21T10:09:45.1252872+00:00"
      },
      "InsuranceDetails": {
        "InsuranceCompany": "sample string 2",
        "PolicyNumber": "sample string 3",
        "EmergencyPhone": "sample string 4"
      },
      "EmergencyContactDetails": {
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Email": "sample string 4",
        "Phone": "sample string 5",
        "Relationship": "sample string 6"
      },
      "Address": {
        "Line1": "sample string 2",
        "Line2": "sample string 3",
        "Line3": "sample string 4",
        "City": "sample string 5",
        "County": "sample string 6",
        "Postcode": "sample string 7",
        "Country": "sample string 8",
        "State": "sample string 9"
      },
      "SpecialDietaryRequirements": "sample string 2",
      "MedicalConditions": "sample string 3"
    }
  ],
  "FlightPreferences": "sample string 2",
  "OtherRequests": "sample string 3",
  "HeardAbout": "sample string 4",
  "WhatHelped": "sample string 5",
  "BookingReferenceNumber": "sample string 6",
  "DateOfDeparture": "2024-11-21T10:09:45.1292853+00:00",
  "Source": "sample string 8",
  "Date": "2024-11-21T10:09:45.1292853+00:00",
  "IP": "sample string 10",
  "ApiKey": "sample string 11"
}

application/xml, text/xml

Sample:
<OfflineBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mvc_RadarApi.Models">
  <ApiKey>sample string 11</ApiKey>
  <Date>2024-11-21T10:09:45.1292853+00:00</Date>
  <IP>sample string 10</IP>
  <Source>sample string 8</Source>
  <BookingReferenceNumber>sample string 6</BookingReferenceNumber>
  <DateOfDeparture>2024-11-21T10:09:45.1292853+00:00</DateOfDeparture>
  <FlightPreferences>sample string 2</FlightPreferences>
  <HeardAbout>sample string 4</HeardAbout>
  <NumPassengers>1</NumPassengers>
  <OtherRequests>sample string 3</OtherRequests>
  <RoomRequirements>
    <Double>5</Double>
    <RoomRequirementsId>1</RoomRequirementsId>
    <Single>2</Single>
    <Triple>6</Triple>
    <Twin>4</Twin>
    <WillingToShare>true</WillingToShare>
  </RoomRequirements>
  <Travellers>
    <BookingPerson>
      <Address>
        <City>sample string 5</City>
        <Country>sample string 8</Country>
        <County>sample string 6</County>
        <Line1>sample string 2</Line1>
        <Line2>sample string 3</Line2>
        <Line3>sample string 4</Line3>
        <Postcode>sample string 7</Postcode>
        <State>sample string 9</State>
      </Address>
      <EmergencyContactDetails>
        <Email>sample string 4</Email>
        <FirstName>sample string 2</FirstName>
        <LastName>sample string 3</LastName>
        <Phone>sample string 5</Phone>
        <Relationship>sample string 6</Relationship>
      </EmergencyContactDetails>
      <InsuranceDetails>
        <EmergencyPhone>sample string 4</EmergencyPhone>
        <InsuranceCompany>sample string 2</InsuranceCompany>
        <PolicyNumber>sample string 3</PolicyNumber>
      </InsuranceDetails>
      <MedicalConditions>sample string 3</MedicalConditions>
      <PassportDetails>
        <ExpiryDate>2024-11-21T10:09:45.1252872+00:00</ExpiryDate>
        <IssuingCountry>sample string 4</IssuingCountry>
        <IssuingOffice>sample string 5</IssuingOffice>
        <Nationality>sample string 2</Nationality>
        <Number>sample string 3</Number>
      </PassportDetails>
      <Person>
        <DateOfBirth>2024-11-21T10:09:45.1232886+00:00</DateOfBirth>
        <Email>sample string 7</Email>
        <FirstName>sample string 3</FirstName>
        <Gender>sample string 9</Gender>
        <LastName>sample string 4</LastName>
        <Occupation>sample string 6</Occupation>
        <Organisation>sample string 5</Organisation>
        <Phone>sample string 8</Phone>
        <Title>sample string 2</Title>
      </Person>
      <SpecialDietaryRequirements>sample string 2</SpecialDietaryRequirements>
    </BookingPerson>
    <BookingPerson>
      <Address>
        <City>sample string 5</City>
        <Country>sample string 8</Country>
        <County>sample string 6</County>
        <Line1>sample string 2</Line1>
        <Line2>sample string 3</Line2>
        <Line3>sample string 4</Line3>
        <Postcode>sample string 7</Postcode>
        <State>sample string 9</State>
      </Address>
      <EmergencyContactDetails>
        <Email>sample string 4</Email>
        <FirstName>sample string 2</FirstName>
        <LastName>sample string 3</LastName>
        <Phone>sample string 5</Phone>
        <Relationship>sample string 6</Relationship>
      </EmergencyContactDetails>
      <InsuranceDetails>
        <EmergencyPhone>sample string 4</EmergencyPhone>
        <InsuranceCompany>sample string 2</InsuranceCompany>
        <PolicyNumber>sample string 3</PolicyNumber>
      </InsuranceDetails>
      <MedicalConditions>sample string 3</MedicalConditions>
      <PassportDetails>
        <ExpiryDate>2024-11-21T10:09:45.1252872+00:00</ExpiryDate>
        <IssuingCountry>sample string 4</IssuingCountry>
        <IssuingOffice>sample string 5</IssuingOffice>
        <Nationality>sample string 2</Nationality>
        <Number>sample string 3</Number>
      </PassportDetails>
      <Person>
        <DateOfBirth>2024-11-21T10:09:45.1232886+00:00</DateOfBirth>
        <Email>sample string 7</Email>
        <FirstName>sample string 3</FirstName>
        <Gender>sample string 9</Gender>
        <LastName>sample string 4</LastName>
        <Occupation>sample string 6</Occupation>
        <Organisation>sample string 5</Organisation>
        <Phone>sample string 8</Phone>
        <Title>sample string 2</Title>
      </Person>
      <SpecialDietaryRequirements>sample string 2</SpecialDietaryRequirements>
    </BookingPerson>
    <BookingPerson>
      <Address>
        <City>sample string 5</City>
        <Country>sample string 8</Country>
        <County>sample string 6</County>
        <Line1>sample string 2</Line1>
        <Line2>sample string 3</Line2>
        <Line3>sample string 4</Line3>
        <Postcode>sample string 7</Postcode>
        <State>sample string 9</State>
      </Address>
      <EmergencyContactDetails>
        <Email>sample string 4</Email>
        <FirstName>sample string 2</FirstName>
        <LastName>sample string 3</LastName>
        <Phone>sample string 5</Phone>
        <Relationship>sample string 6</Relationship>
      </EmergencyContactDetails>
      <InsuranceDetails>
        <EmergencyPhone>sample string 4</EmergencyPhone>
        <InsuranceCompany>sample string 2</InsuranceCompany>
        <PolicyNumber>sample string 3</PolicyNumber>
      </InsuranceDetails>
      <MedicalConditions>sample string 3</MedicalConditions>
      <PassportDetails>
        <ExpiryDate>2024-11-21T10:09:45.1252872+00:00</ExpiryDate>
        <IssuingCountry>sample string 4</IssuingCountry>
        <IssuingOffice>sample string 5</IssuingOffice>
        <Nationality>sample string 2</Nationality>
        <Number>sample string 3</Number>
      </PassportDetails>
      <Person>
        <DateOfBirth>2024-11-21T10:09:45.1232886+00:00</DateOfBirth>
        <Email>sample string 7</Email>
        <FirstName>sample string 3</FirstName>
        <Gender>sample string 9</Gender>
        <LastName>sample string 4</LastName>
        <Occupation>sample string 6</Occupation>
        <Organisation>sample string 5</Organisation>
        <Phone>sample string 8</Phone>
        <Title>sample string 2</Title>
      </Person>
      <SpecialDietaryRequirements>sample string 2</SpecialDietaryRequirements>
    </BookingPerson>
  </Travellers>
  <WhatHelped>sample string 5</WhatHelped>
</OfflineBooking>

application/x-www-form-urlencoded

Sample:

Sample not available.