Booking
Click here for a complete list of operations.
SetPaxInfo
Save the given pax array
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/SetPaxInfo" <?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> <SetPaxInfo xmlns="http://schemas.costacrociere.com/WebAffiliation"> <bookingNumber>string</bookingNumber> <guestAray> <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> <Address>string</Address> <City>string</City> <Zipcode>string</Zipcode> <State>string</State> <Country>string</Country> </Residence> <CostaClubNumber>string</CostaClubNumber> <CostaClubCategory>string</CostaClubCategory> <Document> <Type>string</Type> <Number>string</Number> <ExpirationDate>dateTime</ExpirationDate> <IssueDate>dateTime</IssueDate> <IssuedInCountry>string</IssuedInCountry> <IssuedInCity>string</IssuedInCity> </Document> <RevisionControl> <RateChange>boolean</RateChange> <SpecialServicesChanged>boolean</SpecialServicesChanged> <HotelChange>boolean</HotelChange> <TransportationChange>boolean</TransportationChange> <NameChange>boolean</NameChange> </RevisionControl> <AdditionalInfo> <WarningMessage>string</WarningMessage> <InfoMessage>string</InfoMessage> </AdditionalInfo> <Phone> <Type>Home or Mobile or Fax or NA</Type> <Number>string</Number> </Phone> <GuestType>Adult or Child or Infant or Junior</GuestType> <Documents> <GuestDocument xsi:nil="true" /> <GuestDocument xsi:nil="true" /> </Documents> <MCHotel> <MCHotel xsi:nil="true" /> <MCHotel xsi:nil="true" /> </MCHotel> <MCTransportation> <MCTransportation xsi:nil="true" /> <MCTransportation xsi:nil="true" /> </MCTransportation> <TTGSequence>string</TTGSequence> <CabinInfo> <GuestCabinInfo xsi:nil="true" /> <GuestCabinInfo xsi:nil="true" /> </CabinInfo> <MultiCruiseInsurance> <Insurance>boolean</Insurance> <InsuranceType>string</InsuranceType> </MultiCruiseInsurance> <Origin>string</Origin> <ActionCodeTTG>string</ActionCodeTTG> <SpecialServices> <SpecialServices xsi:nil="true" /> <SpecialServices xsi:nil="true" /> </SpecialServices> <ExtendedProperties> <FakedBirthdateUsed>boolean</FakedBirthdateUsed> <PrimaryContact>boolean</PrimaryContact> <CabinPrimaryContact>boolean</CabinPrimaryContact> </ExtendedProperties> <AgeAmount>string</AgeAmount> <PaxId>string</PaxId> <Email>string</Email> <WebCheckIn> <SendAdvertising>boolean</SendAdvertising> <EmergencyInfo xsi:nil="true" /> <AdditionalAdvertisingInfo xsi:nil="true" /> <HealthDeclaration>boolean</HealthDeclaration> </WebCheckIn> <MobilePhone>string</MobilePhone> <SpecialItems> <SpecialItem xsi:nil="true" /> <SpecialItem xsi:nil="true" /> </SpecialItems> <PrivacyInfo> <PrivacyAuthorization>boolean</PrivacyAuthorization> </PrivacyInfo> <Compensations> <Compensation xsi:nil="true" /> <Compensation xsi:nil="true" /> </Compensations> <Privacy> <Print>boolean</Print> <PrivacyTDP>boolean</PrivacyTDP> <PrivacyIM>boolean</PrivacyIM> <PrivacyDAA>boolean</PrivacyDAA> <ByPost>boolean</ByPost> <ByEMail>boolean</ByEMail> <ByPhone>boolean</ByPhone> </Privacy> <PartnerLoyalty> <ProgramCd>string</ProgramCd> <MembershipId>string</MembershipId> </PartnerLoyalty> <TravelInfo> <ErpId>string</ErpId> <TimeStamp>string</TimeStamp> <InsErpId>string</InsErpId> </TravelInfo> <FiscalCode>string</FiscalCode> <AutoItemPrices> <AutoItemDeploymentAmount>double</AutoItemDeploymentAmount> <AutoItemShoreAmount>double</AutoItemShoreAmount> <AutoItemShipAmount>double</AutoItemShipAmount> <AutoItemShipPrice>double</AutoItemShipPrice> <PriceType xsi:nil="true" /> </AutoItemPrices> </Guest> <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> <Address>string</Address> <City>string</City> <Zipcode>string</Zipcode> <State>string</State> <Country>string</Country> </Residence> <CostaClubNumber>string</CostaClubNumber> <CostaClubCategory>string</CostaClubCategory> <Document> <Type>string</Type> <Number>string</Number> <ExpirationDate>dateTime</ExpirationDate> <IssueDate>dateTime</IssueDate> <IssuedInCountry>string</IssuedInCountry> <IssuedInCity>string</IssuedInCity> </Document> <RevisionControl> <RateChange>boolean</RateChange> <SpecialServicesChanged>boolean</SpecialServicesChanged> <HotelChange>boolean</HotelChange> <TransportationChange>boolean</TransportationChange> <NameChange>boolean</NameChange> </RevisionControl> <AdditionalInfo> <WarningMessage>string</WarningMessage> <InfoMessage>string</InfoMessage> </AdditionalInfo> <Phone> <Type>Home or Mobile or Fax or NA</Type> <Number>string</Number> </Phone> <GuestType>Adult or Child or Infant or Junior</GuestType> <Documents> <GuestDocument xsi:nil="true" /> <GuestDocument xsi:nil="true" /> </Documents> <MCHotel> <MCHotel xsi:nil="true" /> <MCHotel xsi:nil="true" /> </MCHotel> <MCTransportation> <MCTransportation xsi:nil="true" /> <MCTransportation xsi:nil="true" /> </MCTransportation> <TTGSequence>string</TTGSequence> <CabinInfo> <GuestCabinInfo xsi:nil="true" /> <GuestCabinInfo xsi:nil="true" /> </CabinInfo> <MultiCruiseInsurance> <Insurance>boolean</Insurance> <InsuranceType>string</InsuranceType> </MultiCruiseInsurance> <Origin>string</Origin> <ActionCodeTTG>string</ActionCodeTTG> <SpecialServices> <SpecialServices xsi:nil="true" /> <SpecialServices xsi:nil="true" /> </SpecialServices> <ExtendedProperties> <FakedBirthdateUsed>boolean</FakedBirthdateUsed> <PrimaryContact>boolean</PrimaryContact> <CabinPrimaryContact>boolean</CabinPrimaryContact> </ExtendedProperties> <AgeAmount>string</AgeAmount> <PaxId>string</PaxId> <Email>string</Email> <WebCheckIn> <SendAdvertising>boolean</SendAdvertising> <EmergencyInfo xsi:nil="true" /> <AdditionalAdvertisingInfo xsi:nil="true" /> <HealthDeclaration>boolean</HealthDeclaration> </WebCheckIn> <MobilePhone>string</MobilePhone> <SpecialItems> <SpecialItem xsi:nil="true" /> <SpecialItem xsi:nil="true" /> </SpecialItems> <PrivacyInfo> <PrivacyAuthorization>boolean</PrivacyAuthorization> </PrivacyInfo> <Compensations> <Compensation xsi:nil="true" /> <Compensation xsi:nil="true" /> </Compensations> <Privacy> <Print>boolean</Print> <PrivacyTDP>boolean</PrivacyTDP> <PrivacyIM>boolean</PrivacyIM> <PrivacyDAA>boolean</PrivacyDAA> <ByPost>boolean</ByPost> <ByEMail>boolean</ByEMail> <ByPhone>boolean</ByPhone> </Privacy> <PartnerLoyalty> <ProgramCd>string</ProgramCd> <MembershipId>string</MembershipId> </PartnerLoyalty> <TravelInfo> <ErpId>string</ErpId> <TimeStamp>string</TimeStamp> <InsErpId>string</InsErpId> </TravelInfo> <FiscalCode>string</FiscalCode> <AutoItemPrices> <AutoItemDeploymentAmount>double</AutoItemDeploymentAmount> <AutoItemShoreAmount>double</AutoItemShoreAmount> <AutoItemShipAmount>double</AutoItemShipAmount> <AutoItemShipPrice>double</AutoItemShipPrice> <PriceType xsi:nil="true" /> </AutoItemPrices> </Guest> </guestAray> </SetPaxInfo> </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> <SetPaxInfoResponse xmlns="http://schemas.costacrociere.com/WebAffiliation"> <SetPaxInfoResult> <Header> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Header> <Body Action="GetCustomer or GetPaxInfo or RevisePaxInfo"> <AgencyId>string</AgencyId> <PaxInfos> <PaxInfo xsi:nil="true" /> <PaxInfo xsi:nil="true" /> </PaxInfos> <SynchronizationID>string</SynchronizationID> <VaxRule>string</VaxRule> </Body> <TrackingHelper GUID="string" /> </SetPaxInfoResult> </SetPaxInfoResponse> </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> <SetPaxInfo xmlns="http://schemas.costacrociere.com/WebAffiliation"> <bookingNumber>string</bookingNumber> <guestAray> <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> <Address>string</Address> <City>string</City> <Zipcode>string</Zipcode> <State>string</State> <Country>string</Country> </Residence> <CostaClubNumber>string</CostaClubNumber> <CostaClubCategory>string</CostaClubCategory> <Document> <Type>string</Type> <Number>string</Number> <ExpirationDate>dateTime</ExpirationDate> <IssueDate>dateTime</IssueDate> <IssuedInCountry>string</IssuedInCountry> <IssuedInCity>string</IssuedInCity> </Document> <RevisionControl> <RateChange>boolean</RateChange> <SpecialServicesChanged>boolean</SpecialServicesChanged> <HotelChange>boolean</HotelChange> <TransportationChange>boolean</TransportationChange> <NameChange>boolean</NameChange> </RevisionControl> <AdditionalInfo> <WarningMessage>string</WarningMessage> <InfoMessage>string</InfoMessage> </AdditionalInfo> <Phone> <Type>Home or Mobile or Fax or NA</Type> <Number>string</Number> </Phone> <GuestType>Adult or Child or Infant or Junior</GuestType> <Documents> <GuestDocument xsi:nil="true" /> <GuestDocument xsi:nil="true" /> </Documents> <MCHotel> <MCHotel xsi:nil="true" /> <MCHotel xsi:nil="true" /> </MCHotel> <MCTransportation> <MCTransportation xsi:nil="true" /> <MCTransportation xsi:nil="true" /> </MCTransportation> <TTGSequence>string</TTGSequence> <CabinInfo> <GuestCabinInfo xsi:nil="true" /> <GuestCabinInfo xsi:nil="true" /> </CabinInfo> <MultiCruiseInsurance> <Insurance>boolean</Insurance> <InsuranceType>string</InsuranceType> </MultiCruiseInsurance> <Origin>string</Origin> <ActionCodeTTG>string</ActionCodeTTG> <SpecialServices> <SpecialServices xsi:nil="true" /> <SpecialServices xsi:nil="true" /> </SpecialServices> <ExtendedProperties> <FakedBirthdateUsed>boolean</FakedBirthdateUsed> <PrimaryContact>boolean</PrimaryContact> <CabinPrimaryContact>boolean</CabinPrimaryContact> </ExtendedProperties> <AgeAmount>string</AgeAmount> <PaxId>string</PaxId> <Email>string</Email> <WebCheckIn> <SendAdvertising>boolean</SendAdvertising> <EmergencyInfo xsi:nil="true" /> <AdditionalAdvertisingInfo xsi:nil="true" /> <HealthDeclaration>boolean</HealthDeclaration> </WebCheckIn> <MobilePhone>string</MobilePhone> <SpecialItems> <SpecialItem xsi:nil="true" /> <SpecialItem xsi:nil="true" /> </SpecialItems> <PrivacyInfo> <PrivacyAuthorization>boolean</PrivacyAuthorization> </PrivacyInfo> <Compensations> <Compensation xsi:nil="true" /> <Compensation xsi:nil="true" /> </Compensations> <Privacy> <Print>boolean</Print> <PrivacyTDP>boolean</PrivacyTDP> <PrivacyIM>boolean</PrivacyIM> <PrivacyDAA>boolean</PrivacyDAA> <ByPost>boolean</ByPost> <ByEMail>boolean</ByEMail> <ByPhone>boolean</ByPhone> </Privacy> <PartnerLoyalty> <ProgramCd>string</ProgramCd> <MembershipId>string</MembershipId> </PartnerLoyalty> <TravelInfo> <ErpId>string</ErpId> <TimeStamp>string</TimeStamp> <InsErpId>string</InsErpId> </TravelInfo> <FiscalCode>string</FiscalCode> <AutoItemPrices> <AutoItemDeploymentAmount>double</AutoItemDeploymentAmount> <AutoItemShoreAmount>double</AutoItemShoreAmount> <AutoItemShipAmount>double</AutoItemShipAmount> <AutoItemShipPrice>double</AutoItemShipPrice> <PriceType xsi:nil="true" /> </AutoItemPrices> </Guest> <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> <Address>string</Address> <City>string</City> <Zipcode>string</Zipcode> <State>string</State> <Country>string</Country> </Residence> <CostaClubNumber>string</CostaClubNumber> <CostaClubCategory>string</CostaClubCategory> <Document> <Type>string</Type> <Number>string</Number> <ExpirationDate>dateTime</ExpirationDate> <IssueDate>dateTime</IssueDate> <IssuedInCountry>string</IssuedInCountry> <IssuedInCity>string</IssuedInCity> </Document> <RevisionControl> <RateChange>boolean</RateChange> <SpecialServicesChanged>boolean</SpecialServicesChanged> <HotelChange>boolean</HotelChange> <TransportationChange>boolean</TransportationChange> <NameChange>boolean</NameChange> </RevisionControl> <AdditionalInfo> <WarningMessage>string</WarningMessage> <InfoMessage>string</InfoMessage> </AdditionalInfo> <Phone> <Type>Home or Mobile or Fax or NA</Type> <Number>string</Number> </Phone> <GuestType>Adult or Child or Infant or Junior</GuestType> <Documents> <GuestDocument xsi:nil="true" /> <GuestDocument xsi:nil="true" /> </Documents> <MCHotel> <MCHotel xsi:nil="true" /> <MCHotel xsi:nil="true" /> </MCHotel> <MCTransportation> <MCTransportation xsi:nil="true" /> <MCTransportation xsi:nil="true" /> </MCTransportation> <TTGSequence>string</TTGSequence> <CabinInfo> <GuestCabinInfo xsi:nil="true" /> <GuestCabinInfo xsi:nil="true" /> </CabinInfo> <MultiCruiseInsurance> <Insurance>boolean</Insurance> <InsuranceType>string</InsuranceType> </MultiCruiseInsurance> <Origin>string</Origin> <ActionCodeTTG>string</ActionCodeTTG> <SpecialServices> <SpecialServices xsi:nil="true" /> <SpecialServices xsi:nil="true" /> </SpecialServices> <ExtendedProperties> <FakedBirthdateUsed>boolean</FakedBirthdateUsed> <PrimaryContact>boolean</PrimaryContact> <CabinPrimaryContact>boolean</CabinPrimaryContact> </ExtendedProperties> <AgeAmount>string</AgeAmount> <PaxId>string</PaxId> <Email>string</Email> <WebCheckIn> <SendAdvertising>boolean</SendAdvertising> <EmergencyInfo xsi:nil="true" /> <AdditionalAdvertisingInfo xsi:nil="true" /> <HealthDeclaration>boolean</HealthDeclaration> </WebCheckIn> <MobilePhone>string</MobilePhone> <SpecialItems> <SpecialItem xsi:nil="true" /> <SpecialItem xsi:nil="true" /> </SpecialItems> <PrivacyInfo> <PrivacyAuthorization>boolean</PrivacyAuthorization> </PrivacyInfo> <Compensations> <Compensation xsi:nil="true" /> <Compensation xsi:nil="true" /> </Compensations> <Privacy> <Print>boolean</Print> <PrivacyTDP>boolean</PrivacyTDP> <PrivacyIM>boolean</PrivacyIM> <PrivacyDAA>boolean</PrivacyDAA> <ByPost>boolean</ByPost> <ByEMail>boolean</ByEMail> <ByPhone>boolean</ByPhone> </Privacy> <PartnerLoyalty> <ProgramCd>string</ProgramCd> <MembershipId>string</MembershipId> </PartnerLoyalty> <TravelInfo> <ErpId>string</ErpId> <TimeStamp>string</TimeStamp> <InsErpId>string</InsErpId> </TravelInfo> <FiscalCode>string</FiscalCode> <AutoItemPrices> <AutoItemDeploymentAmount>double</AutoItemDeploymentAmount> <AutoItemShoreAmount>double</AutoItemShoreAmount> <AutoItemShipAmount>double</AutoItemShipAmount> <AutoItemShipPrice>double</AutoItemShipPrice> <PriceType xsi:nil="true" /> </AutoItemPrices> </Guest> </guestAray> </SetPaxInfo> </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> <SetPaxInfoResponse xmlns="http://schemas.costacrociere.com/WebAffiliation"> <SetPaxInfoResult> <Header> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Header> <Body Action="GetCustomer or GetPaxInfo or RevisePaxInfo"> <AgencyId>string</AgencyId> <PaxInfos> <PaxInfo xsi:nil="true" /> <PaxInfo xsi:nil="true" /> </PaxInfos> <SynchronizationID>string</SynchronizationID> <VaxRule>string</VaxRule> </Body> <TrackingHelper GUID="string" /> </SetPaxInfoResult> </SetPaxInfoResponse> </soap12:Body> </soap12:Envelope>