Booking


Click here for a complete list of operations.

GetPaxInfo

Retrieve the guests of a booking

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WAWS_1_9/Booking.asmx HTTP/1.1
Host: training.costaclick.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.costacrociere.com/WebAffiliation/GetPaxInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Agency xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <Code>string</Code>
      <Culture>string</Culture>
    </Agency>
    <Partner xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <Name>string</Name>
      <Password>string</Password>
    </Partner>
  </soap:Header>
  <soap:Body>
    <GetPaxInfo xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <bookingNumber>string</bookingNumber>
      <lastName>string</lastName>
    </GetPaxInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPaxInfoResponse xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <GetPaxInfoResult>
        <PaxInfo>
          <Guest>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <LocalizedName>string</LocalizedName>
            <Nationality>string</Nationality>
            <Gender>Female or Male or NotAvailable</Gender>
            <Title>string</Title>
            <BirthDate>dateTime</BirthDate>
            <PlaceOfBirth>string</PlaceOfBirth>
            <BirthCountry>string</BirthCountry>
            <LanguageCode>string</LanguageCode>
            <Residence xsi:nil="true" />
            <CostaClubNumber>string</CostaClubNumber>
            <CostaClubCategory>string</CostaClubCategory>
            <Document xsi:nil="true" />
            <RevisionControl xsi:nil="true" />
            <AdditionalInfo xsi:nil="true" />
            <Phone xsi:nil="true" />
            <GuestType>Adult or Child or Infant or Junior</GuestType>
            <Documents xsi:nil="true" />
            <MCHotel xsi:nil="true" />
            <MCTransportation xsi:nil="true" />
            <TTGSequence>string</TTGSequence>
            <CabinInfo xsi:nil="true" />
            <MultiCruiseInsurance xsi:nil="true" />
            <Origin>string</Origin>
            <ActionCodeTTG>string</ActionCodeTTG>
            <SpecialServices xsi:nil="true" />
            <ExtendedProperties xsi:nil="true" />
            <AgeAmount>string</AgeAmount>
            <PaxId>string</PaxId>
            <Email>string</Email>
            <WebCheckIn xsi:nil="true" />
            <MobilePhone>string</MobilePhone>
            <SpecialItems xsi:nil="true" />
            <PrivacyInfo xsi:nil="true" />
            <Compensations xsi:nil="true" />
            <Privacy xsi:nil="true" />
            <PartnerLoyalty xsi:nil="true" />
            <TravelInfo xsi:nil="true" />
            <FiscalCode>string</FiscalCode>
            <AutoItemPrices xsi:nil="true" />
          </Guest>
          <Cabins>
            <Cabin xsi:nil="true" />
            <Cabin xsi:nil="true" />
          </Cabins>
        </PaxInfo>
        <PaxInfo>
          <Guest>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <LocalizedName>string</LocalizedName>
            <Nationality>string</Nationality>
            <Gender>Female or Male or NotAvailable</Gender>
            <Title>string</Title>
            <BirthDate>dateTime</BirthDate>
            <PlaceOfBirth>string</PlaceOfBirth>
            <BirthCountry>string</BirthCountry>
            <LanguageCode>string</LanguageCode>
            <Residence xsi:nil="true" />
            <CostaClubNumber>string</CostaClubNumber>
            <CostaClubCategory>string</CostaClubCategory>
            <Document xsi:nil="true" />
            <RevisionControl xsi:nil="true" />
            <AdditionalInfo xsi:nil="true" />
            <Phone xsi:nil="true" />
            <GuestType>Adult or Child or Infant or Junior</GuestType>
            <Documents xsi:nil="true" />
            <MCHotel xsi:nil="true" />
            <MCTransportation xsi:nil="true" />
            <TTGSequence>string</TTGSequence>
            <CabinInfo xsi:nil="true" />
            <MultiCruiseInsurance xsi:nil="true" />
            <Origin>string</Origin>
            <ActionCodeTTG>string</ActionCodeTTG>
            <SpecialServices xsi:nil="true" />
            <ExtendedProperties xsi:nil="true" />
            <AgeAmount>string</AgeAmount>
            <PaxId>string</PaxId>
            <Email>string</Email>
            <WebCheckIn xsi:nil="true" />
            <MobilePhone>string</MobilePhone>
            <SpecialItems xsi:nil="true" />
            <PrivacyInfo xsi:nil="true" />
            <Compensations xsi:nil="true" />
            <Privacy xsi:nil="true" />
            <PartnerLoyalty xsi:nil="true" />
            <TravelInfo xsi:nil="true" />
            <FiscalCode>string</FiscalCode>
            <AutoItemPrices xsi:nil="true" />
          </Guest>
          <Cabins>
            <Cabin xsi:nil="true" />
            <Cabin xsi:nil="true" />
          </Cabins>
        </PaxInfo>
      </GetPaxInfoResult>
    </GetPaxInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WAWS_1_9/Booking.asmx HTTP/1.1
Host: training.costaclick.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <Agency xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <Code>string</Code>
      <Culture>string</Culture>
    </Agency>
    <Partner xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <Name>string</Name>
      <Password>string</Password>
    </Partner>
  </soap12:Header>
  <soap12:Body>
    <GetPaxInfo xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <bookingNumber>string</bookingNumber>
      <lastName>string</lastName>
    </GetPaxInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPaxInfoResponse xmlns="http://schemas.costacrociere.com/WebAffiliation">
      <GetPaxInfoResult>
        <PaxInfo>
          <Guest>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <LocalizedName>string</LocalizedName>
            <Nationality>string</Nationality>
            <Gender>Female or Male or NotAvailable</Gender>
            <Title>string</Title>
            <BirthDate>dateTime</BirthDate>
            <PlaceOfBirth>string</PlaceOfBirth>
            <BirthCountry>string</BirthCountry>
            <LanguageCode>string</LanguageCode>
            <Residence xsi:nil="true" />
            <CostaClubNumber>string</CostaClubNumber>
            <CostaClubCategory>string</CostaClubCategory>
            <Document xsi:nil="true" />
            <RevisionControl xsi:nil="true" />
            <AdditionalInfo xsi:nil="true" />
            <Phone xsi:nil="true" />
            <GuestType>Adult or Child or Infant or Junior</GuestType>
            <Documents xsi:nil="true" />
            <MCHotel xsi:nil="true" />
            <MCTransportation xsi:nil="true" />
            <TTGSequence>string</TTGSequence>
            <CabinInfo xsi:nil="true" />
            <MultiCruiseInsurance xsi:nil="true" />
            <Origin>string</Origin>
            <ActionCodeTTG>string</ActionCodeTTG>
            <SpecialServices xsi:nil="true" />
            <ExtendedProperties xsi:nil="true" />
            <AgeAmount>string</AgeAmount>
            <PaxId>string</PaxId>
            <Email>string</Email>
            <WebCheckIn xsi:nil="true" />
            <MobilePhone>string</MobilePhone>
            <SpecialItems xsi:nil="true" />
            <PrivacyInfo xsi:nil="true" />
            <Compensations xsi:nil="true" />
            <Privacy xsi:nil="true" />
            <PartnerLoyalty xsi:nil="true" />
            <TravelInfo xsi:nil="true" />
            <FiscalCode>string</FiscalCode>
            <AutoItemPrices xsi:nil="true" />
          </Guest>
          <Cabins>
            <Cabin xsi:nil="true" />
            <Cabin xsi:nil="true" />
          </Cabins>
        </PaxInfo>
        <PaxInfo>
          <Guest>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <LocalizedName>string</LocalizedName>
            <Nationality>string</Nationality>
            <Gender>Female or Male or NotAvailable</Gender>
            <Title>string</Title>
            <BirthDate>dateTime</BirthDate>
            <PlaceOfBirth>string</PlaceOfBirth>
            <BirthCountry>string</BirthCountry>
            <LanguageCode>string</LanguageCode>
            <Residence xsi:nil="true" />
            <CostaClubNumber>string</CostaClubNumber>
            <CostaClubCategory>string</CostaClubCategory>
            <Document xsi:nil="true" />
            <RevisionControl xsi:nil="true" />
            <AdditionalInfo xsi:nil="true" />
            <Phone xsi:nil="true" />
            <GuestType>Adult or Child or Infant or Junior</GuestType>
            <Documents xsi:nil="true" />
            <MCHotel xsi:nil="true" />
            <MCTransportation xsi:nil="true" />
            <TTGSequence>string</TTGSequence>
            <CabinInfo xsi:nil="true" />
            <MultiCruiseInsurance xsi:nil="true" />
            <Origin>string</Origin>
            <ActionCodeTTG>string</ActionCodeTTG>
            <SpecialServices xsi:nil="true" />
            <ExtendedProperties xsi:nil="true" />
            <AgeAmount>string</AgeAmount>
            <PaxId>string</PaxId>
            <Email>string</Email>
            <WebCheckIn xsi:nil="true" />
            <MobilePhone>string</MobilePhone>
            <SpecialItems xsi:nil="true" />
            <PrivacyInfo xsi:nil="true" />
            <Compensations xsi:nil="true" />
            <Privacy xsi:nil="true" />
            <PartnerLoyalty xsi:nil="true" />
            <TravelInfo xsi:nil="true" />
            <FiscalCode>string</FiscalCode>
            <AutoItemPrices xsi:nil="true" />
          </Guest>
          <Cabins>
            <Cabin xsi:nil="true" />
            <Cabin xsi:nil="true" />
          </Cabins>
        </PaxInfo>
      </GetPaxInfoResult>
    </GetPaxInfoResponse>
  </soap12:Body>
</soap12:Envelope>