Salespoint
Click here for a complete list of operations.
RenewAvailabilityLocks
Tries to renew the availability locks. Returns the products that failed to recapture availability.
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 /Salespoint.asmx HTTP/1.1 Host: api.citybreak.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://api.citybreak.com/RenewAvailabilityLocks" <?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> <RenewAvailabilityLocks xmlns="http://api.citybreak.com/" /> </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> <RenewAvailabilityLocksResponse xmlns="http://api.citybreak.com/"> <RenewAvailabilityLocksResult> <BasketProduct> <GuestLinks> <PaymentGuestLink xsi:nil="true" /> <PaymentGuestLink xsi:nil="true" /> </GuestLinks> <ProducttypeName>string</ProducttypeName> <ProducttypeSystemName>string</ProducttypeSystemName> <IdInBasket>int</IdInBasket> <ProducttypeId>int</ProducttypeId> <ProducttypeGroupId>int</ProducttypeGroupId> <ProducttypeDescriptionId>int</ProducttypeDescriptionId> <DateStart>dateTime</DateStart> <DateEnd>dateTime</DateEnd> <ShowPrices>boolean</ShowPrices> <Price>decimal</Price> <Currency>string</Currency> <Vat>decimal</Vat> <PriceMatch>Person or Unit or PaxPriceGroup or PaxNofGuests</PriceMatch> <RateCodeId>int</RateCodeId> <HasSubproducts>boolean</HasSubproducts> <Restrictions>NoRestiction or RatecodeDateTime</Restrictions> <Status>Unknown or NotChanged or New or Removed or Changed or RemovedForEndCustomer</Status> <NumberOfUnits>int</NumberOfUnits> <OccasionHourFrom>short</OccasionHourFrom> <OccasionHourTo>short</OccasionHourTo> <OccasionMinuteFrom>short</OccasionMinuteFrom> <OccasionMinuteTo>short</OccasionMinuteTo> <DurationInTicks>long</DurationInTicks> <TimeUnit>Unknown or Day or Night or PerOccasion or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnit> <TimeUnitPresentation>Unknown or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnitPresentation> <ProducttypeType>int</ProducttypeType> <PackageLightId>int</PackageLightId> <Category>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</Category> <Anonymous>boolean</Anonymous> <CanBeDeleted>boolean</CanBeDeleted> <PackageSlotId>int</PackageSlotId> <NuPacId>int</NuPacId> <NuPacStepId>int</NuPacStepId> <NuPacItemId>int</NuPacItemId> <BookingFlowPackageId>int</BookingFlowPackageId> <BookingFlowPackageItemId>int</BookingFlowPackageItemId> <AddonParentItemId>int</AddonParentItemId> <NuPacAgreementType>string</NuPacAgreementType> <RemoteCode>string</RemoteCode> <TransportSummary> <Section xsi:nil="true" /> <Section xsi:nil="true" /> </TransportSummary> <AggregatorServicesSummary> <Services xsi:nil="true" /> </AggregatorServicesSummary> <AggregatorOrderItemExpirationTime>dateTime</AggregatorOrderItemExpirationTime> <CitybreakProductExpirationTime>dateTime</CitybreakProductExpirationTime> <CanBeEdited>boolean</CanBeEdited> <Fees> <BasketProductFee xsi:nil="true" /> <BasketProductFee xsi:nil="true" /> </Fees> <SubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </SubProducts> <PayOnSiteSubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </PayOnSiteSubProducts> <RateDiscountId>int</RateDiscountId> <OptionalSubProducts> <PaymentOptionalSubProduct xsi:nil="true" /> <PaymentOptionalSubProduct xsi:nil="true" /> </OptionalSubProducts> <DescriptionInfo> <Name>string</Name> </DescriptionInfo> <Error>None or AdditionalComplementaryNeeded or ProductNoLongerAvailable or ProductDoesNotCorrespondToLatestOrderVersion or Error</Error> <HasValidAvailability>boolean</HasValidAvailability> <DiscountInfo> <Id>int</Id> <Name>string</Name> <OriginalPrice>decimal</OriginalPrice> <OriginalPriceIn>decimal</OriginalPriceIn> </DiscountInfo> <AggregatorGroupId>string</AggregatorGroupId> <EditPermissions> <CanRemoveProduct>boolean</CanRemoveProduct> <CanAddProduct>boolean</CanAddProduct> <CanChangeGuestInformation>boolean</CanChangeGuestInformation> <CanChangeCustomerInfo>boolean</CanChangeCustomerInfo> <CanChangeDates>boolean</CanChangeDates> <CanChangeGuests>boolean</CanChangeGuests> <CanChangeAddons>boolean</CanChangeAddons> <CanOverridePrice>boolean</CanOverridePrice> </EditPermissions> <SupplierId>int</SupplierId> <GuestLinkSummary> <TotalCount>int</TotalCount> <AdultCount>int</AdultCount> <ChildCount>int</ChildCount> <Pricegroups xsi:nil="true" /> </GuestLinkSummary> <ThumbnailImageId>int</ThumbnailImageId> <Description>string</Description> </BasketProduct> <BasketProduct> <GuestLinks> <PaymentGuestLink xsi:nil="true" /> <PaymentGuestLink xsi:nil="true" /> </GuestLinks> <ProducttypeName>string</ProducttypeName> <ProducttypeSystemName>string</ProducttypeSystemName> <IdInBasket>int</IdInBasket> <ProducttypeId>int</ProducttypeId> <ProducttypeGroupId>int</ProducttypeGroupId> <ProducttypeDescriptionId>int</ProducttypeDescriptionId> <DateStart>dateTime</DateStart> <DateEnd>dateTime</DateEnd> <ShowPrices>boolean</ShowPrices> <Price>decimal</Price> <Currency>string</Currency> <Vat>decimal</Vat> <PriceMatch>Person or Unit or PaxPriceGroup or PaxNofGuests</PriceMatch> <RateCodeId>int</RateCodeId> <HasSubproducts>boolean</HasSubproducts> <Restrictions>NoRestiction or RatecodeDateTime</Restrictions> <Status>Unknown or NotChanged or New or Removed or Changed or RemovedForEndCustomer</Status> <NumberOfUnits>int</NumberOfUnits> <OccasionHourFrom>short</OccasionHourFrom> <OccasionHourTo>short</OccasionHourTo> <OccasionMinuteFrom>short</OccasionMinuteFrom> <OccasionMinuteTo>short</OccasionMinuteTo> <DurationInTicks>long</DurationInTicks> <TimeUnit>Unknown or Day or Night or PerOccasion or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnit> <TimeUnitPresentation>Unknown or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnitPresentation> <ProducttypeType>int</ProducttypeType> <PackageLightId>int</PackageLightId> <Category>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</Category> <Anonymous>boolean</Anonymous> <CanBeDeleted>boolean</CanBeDeleted> <PackageSlotId>int</PackageSlotId> <NuPacId>int</NuPacId> <NuPacStepId>int</NuPacStepId> <NuPacItemId>int</NuPacItemId> <BookingFlowPackageId>int</BookingFlowPackageId> <BookingFlowPackageItemId>int</BookingFlowPackageItemId> <AddonParentItemId>int</AddonParentItemId> <NuPacAgreementType>string</NuPacAgreementType> <RemoteCode>string</RemoteCode> <TransportSummary> <Section xsi:nil="true" /> <Section xsi:nil="true" /> </TransportSummary> <AggregatorServicesSummary> <Services xsi:nil="true" /> </AggregatorServicesSummary> <AggregatorOrderItemExpirationTime>dateTime</AggregatorOrderItemExpirationTime> <CitybreakProductExpirationTime>dateTime</CitybreakProductExpirationTime> <CanBeEdited>boolean</CanBeEdited> <Fees> <BasketProductFee xsi:nil="true" /> <BasketProductFee xsi:nil="true" /> </Fees> <SubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </SubProducts> <PayOnSiteSubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </PayOnSiteSubProducts> <RateDiscountId>int</RateDiscountId> <OptionalSubProducts> <PaymentOptionalSubProduct xsi:nil="true" /> <PaymentOptionalSubProduct xsi:nil="true" /> </OptionalSubProducts> <DescriptionInfo> <Name>string</Name> </DescriptionInfo> <Error>None or AdditionalComplementaryNeeded or ProductNoLongerAvailable or ProductDoesNotCorrespondToLatestOrderVersion or Error</Error> <HasValidAvailability>boolean</HasValidAvailability> <DiscountInfo> <Id>int</Id> <Name>string</Name> <OriginalPrice>decimal</OriginalPrice> <OriginalPriceIn>decimal</OriginalPriceIn> </DiscountInfo> <AggregatorGroupId>string</AggregatorGroupId> <EditPermissions> <CanRemoveProduct>boolean</CanRemoveProduct> <CanAddProduct>boolean</CanAddProduct> <CanChangeGuestInformation>boolean</CanChangeGuestInformation> <CanChangeCustomerInfo>boolean</CanChangeCustomerInfo> <CanChangeDates>boolean</CanChangeDates> <CanChangeGuests>boolean</CanChangeGuests> <CanChangeAddons>boolean</CanChangeAddons> <CanOverridePrice>boolean</CanOverridePrice> </EditPermissions> <SupplierId>int</SupplierId> <GuestLinkSummary> <TotalCount>int</TotalCount> <AdultCount>int</AdultCount> <ChildCount>int</ChildCount> <Pricegroups xsi:nil="true" /> </GuestLinkSummary> <ThumbnailImageId>int</ThumbnailImageId> <Description>string</Description> </BasketProduct> </RenewAvailabilityLocksResult> </RenewAvailabilityLocksResponse> </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 /Salespoint.asmx HTTP/1.1 Host: api.citybreak.com 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> <RenewAvailabilityLocks xmlns="http://api.citybreak.com/" /> </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> <RenewAvailabilityLocksResponse xmlns="http://api.citybreak.com/"> <RenewAvailabilityLocksResult> <BasketProduct> <GuestLinks> <PaymentGuestLink xsi:nil="true" /> <PaymentGuestLink xsi:nil="true" /> </GuestLinks> <ProducttypeName>string</ProducttypeName> <ProducttypeSystemName>string</ProducttypeSystemName> <IdInBasket>int</IdInBasket> <ProducttypeId>int</ProducttypeId> <ProducttypeGroupId>int</ProducttypeGroupId> <ProducttypeDescriptionId>int</ProducttypeDescriptionId> <DateStart>dateTime</DateStart> <DateEnd>dateTime</DateEnd> <ShowPrices>boolean</ShowPrices> <Price>decimal</Price> <Currency>string</Currency> <Vat>decimal</Vat> <PriceMatch>Person or Unit or PaxPriceGroup or PaxNofGuests</PriceMatch> <RateCodeId>int</RateCodeId> <HasSubproducts>boolean</HasSubproducts> <Restrictions>NoRestiction or RatecodeDateTime</Restrictions> <Status>Unknown or NotChanged or New or Removed or Changed or RemovedForEndCustomer</Status> <NumberOfUnits>int</NumberOfUnits> <OccasionHourFrom>short</OccasionHourFrom> <OccasionHourTo>short</OccasionHourTo> <OccasionMinuteFrom>short</OccasionMinuteFrom> <OccasionMinuteTo>short</OccasionMinuteTo> <DurationInTicks>long</DurationInTicks> <TimeUnit>Unknown or Day or Night or PerOccasion or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnit> <TimeUnitPresentation>Unknown or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnitPresentation> <ProducttypeType>int</ProducttypeType> <PackageLightId>int</PackageLightId> <Category>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</Category> <Anonymous>boolean</Anonymous> <CanBeDeleted>boolean</CanBeDeleted> <PackageSlotId>int</PackageSlotId> <NuPacId>int</NuPacId> <NuPacStepId>int</NuPacStepId> <NuPacItemId>int</NuPacItemId> <BookingFlowPackageId>int</BookingFlowPackageId> <BookingFlowPackageItemId>int</BookingFlowPackageItemId> <AddonParentItemId>int</AddonParentItemId> <NuPacAgreementType>string</NuPacAgreementType> <RemoteCode>string</RemoteCode> <TransportSummary> <Section xsi:nil="true" /> <Section xsi:nil="true" /> </TransportSummary> <AggregatorServicesSummary> <Services xsi:nil="true" /> </AggregatorServicesSummary> <AggregatorOrderItemExpirationTime>dateTime</AggregatorOrderItemExpirationTime> <CitybreakProductExpirationTime>dateTime</CitybreakProductExpirationTime> <CanBeEdited>boolean</CanBeEdited> <Fees> <BasketProductFee xsi:nil="true" /> <BasketProductFee xsi:nil="true" /> </Fees> <SubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </SubProducts> <PayOnSiteSubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </PayOnSiteSubProducts> <RateDiscountId>int</RateDiscountId> <OptionalSubProducts> <PaymentOptionalSubProduct xsi:nil="true" /> <PaymentOptionalSubProduct xsi:nil="true" /> </OptionalSubProducts> <DescriptionInfo> <Name>string</Name> </DescriptionInfo> <Error>None or AdditionalComplementaryNeeded or ProductNoLongerAvailable or ProductDoesNotCorrespondToLatestOrderVersion or Error</Error> <HasValidAvailability>boolean</HasValidAvailability> <DiscountInfo> <Id>int</Id> <Name>string</Name> <OriginalPrice>decimal</OriginalPrice> <OriginalPriceIn>decimal</OriginalPriceIn> </DiscountInfo> <AggregatorGroupId>string</AggregatorGroupId> <EditPermissions> <CanRemoveProduct>boolean</CanRemoveProduct> <CanAddProduct>boolean</CanAddProduct> <CanChangeGuestInformation>boolean</CanChangeGuestInformation> <CanChangeCustomerInfo>boolean</CanChangeCustomerInfo> <CanChangeDates>boolean</CanChangeDates> <CanChangeGuests>boolean</CanChangeGuests> <CanChangeAddons>boolean</CanChangeAddons> <CanOverridePrice>boolean</CanOverridePrice> </EditPermissions> <SupplierId>int</SupplierId> <GuestLinkSummary> <TotalCount>int</TotalCount> <AdultCount>int</AdultCount> <ChildCount>int</ChildCount> <Pricegroups xsi:nil="true" /> </GuestLinkSummary> <ThumbnailImageId>int</ThumbnailImageId> <Description>string</Description> </BasketProduct> <BasketProduct> <GuestLinks> <PaymentGuestLink xsi:nil="true" /> <PaymentGuestLink xsi:nil="true" /> </GuestLinks> <ProducttypeName>string</ProducttypeName> <ProducttypeSystemName>string</ProducttypeSystemName> <IdInBasket>int</IdInBasket> <ProducttypeId>int</ProducttypeId> <ProducttypeGroupId>int</ProducttypeGroupId> <ProducttypeDescriptionId>int</ProducttypeDescriptionId> <DateStart>dateTime</DateStart> <DateEnd>dateTime</DateEnd> <ShowPrices>boolean</ShowPrices> <Price>decimal</Price> <Currency>string</Currency> <Vat>decimal</Vat> <PriceMatch>Person or Unit or PaxPriceGroup or PaxNofGuests</PriceMatch> <RateCodeId>int</RateCodeId> <HasSubproducts>boolean</HasSubproducts> <Restrictions>NoRestiction or RatecodeDateTime</Restrictions> <Status>Unknown or NotChanged or New or Removed or Changed or RemovedForEndCustomer</Status> <NumberOfUnits>int</NumberOfUnits> <OccasionHourFrom>short</OccasionHourFrom> <OccasionHourTo>short</OccasionHourTo> <OccasionMinuteFrom>short</OccasionMinuteFrom> <OccasionMinuteTo>short</OccasionMinuteTo> <DurationInTicks>long</DurationInTicks> <TimeUnit>Unknown or Day or Night or PerOccasion or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnit> <TimeUnitPresentation>Unknown or NoTimeUnit or PerPeriod or OnlyStartDate or StartDateDayCount</TimeUnitPresentation> <ProducttypeType>int</ProducttypeType> <PackageLightId>int</PackageLightId> <Category>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</Category> <Anonymous>boolean</Anonymous> <CanBeDeleted>boolean</CanBeDeleted> <PackageSlotId>int</PackageSlotId> <NuPacId>int</NuPacId> <NuPacStepId>int</NuPacStepId> <NuPacItemId>int</NuPacItemId> <BookingFlowPackageId>int</BookingFlowPackageId> <BookingFlowPackageItemId>int</BookingFlowPackageItemId> <AddonParentItemId>int</AddonParentItemId> <NuPacAgreementType>string</NuPacAgreementType> <RemoteCode>string</RemoteCode> <TransportSummary> <Section xsi:nil="true" /> <Section xsi:nil="true" /> </TransportSummary> <AggregatorServicesSummary> <Services xsi:nil="true" /> </AggregatorServicesSummary> <AggregatorOrderItemExpirationTime>dateTime</AggregatorOrderItemExpirationTime> <CitybreakProductExpirationTime>dateTime</CitybreakProductExpirationTime> <CanBeEdited>boolean</CanBeEdited> <Fees> <BasketProductFee xsi:nil="true" /> <BasketProductFee xsi:nil="true" /> </Fees> <SubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </SubProducts> <PayOnSiteSubProducts> <BasketSubproduct xsi:nil="true" /> <BasketSubproduct xsi:nil="true" /> </PayOnSiteSubProducts> <RateDiscountId>int</RateDiscountId> <OptionalSubProducts> <PaymentOptionalSubProduct xsi:nil="true" /> <PaymentOptionalSubProduct xsi:nil="true" /> </OptionalSubProducts> <DescriptionInfo> <Name>string</Name> </DescriptionInfo> <Error>None or AdditionalComplementaryNeeded or ProductNoLongerAvailable or ProductDoesNotCorrespondToLatestOrderVersion or Error</Error> <HasValidAvailability>boolean</HasValidAvailability> <DiscountInfo> <Id>int</Id> <Name>string</Name> <OriginalPrice>decimal</OriginalPrice> <OriginalPriceIn>decimal</OriginalPriceIn> </DiscountInfo> <AggregatorGroupId>string</AggregatorGroupId> <EditPermissions> <CanRemoveProduct>boolean</CanRemoveProduct> <CanAddProduct>boolean</CanAddProduct> <CanChangeGuestInformation>boolean</CanChangeGuestInformation> <CanChangeCustomerInfo>boolean</CanChangeCustomerInfo> <CanChangeDates>boolean</CanChangeDates> <CanChangeGuests>boolean</CanChangeGuests> <CanChangeAddons>boolean</CanChangeAddons> <CanOverridePrice>boolean</CanOverridePrice> </EditPermissions> <SupplierId>int</SupplierId> <GuestLinkSummary> <TotalCount>int</TotalCount> <AdultCount>int</AdultCount> <ChildCount>int</ChildCount> <Pricegroups xsi:nil="true" /> </GuestLinkSummary> <ThumbnailImageId>int</ThumbnailImageId> <Description>string</Description> </BasketProduct> </RenewAvailabilityLocksResult> </RenewAvailabilityLocksResponse> </soap12:Body> </soap12:Envelope>