Salespoint
Click here for a complete list of operations.
ExportProducttypeGroupFromCategory
Returns a populated list of Properties to create description XML
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/ExportProducttypeGroupFromCategory"
<?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>
<ExportProducttypeGroupFromCategory xmlns="http://api.citybreak.com/">
<categoryType>int</categoryType>
</ExportProducttypeGroupFromCategory>
</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>
<ExportProducttypeGroupFromCategoryResponse xmlns="http://api.citybreak.com/">
<ExportProducttypeGroupFromCategoryResult>
<XmlExportProducttypeGroup>
<CategoryType>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</CategoryType>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<DescriptionId>int</DescriptionId>
<Name>string</Name>
<ProducttypeGroupId>int</ProducttypeGroupId>
<ProducttypeGroupType>int</ProducttypeGroupType>
<SupplierId>int</SupplierId>
<SupplierName>string</SupplierName>
<Website>string</Website>
<GeoNodeName>string</GeoNodeName>
<GeoNodeId>int</GeoNodeId>
<Bookable>boolean</Bookable>
<Translations>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</Translations>
<AddressList>
<XmlExportAddress xsi:nil="true" />
<XmlExportAddress xsi:nil="true" />
</AddressList>
<PhoneList>
<XmlExportPhone xsi:nil="true" />
<XmlExportPhone xsi:nil="true" />
</PhoneList>
<EmailList>
<XmlExportEmail xsi:nil="true" />
<XmlExportEmail xsi:nil="true" />
</EmailList>
<ImageList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImageList>
<StarClassification>string</StarClassification>
<StaticAttribute>
<BuildYear>string</BuildYear>
<CheckInTime>string</CheckInTime>
<CheckOutTime>string</CheckOutTime>
<Link360>string</Link360>
<NumberOfBars>string</NumberOfBars>
<NumberOfConferenceRooms>string</NumberOfConferenceRooms>
<NumberOfFloors>string</NumberOfFloors>
<NumberOfRestaurants>string</NumberOfRestaurants>
<NumberOfRooms>string</NumberOfRooms>
<OpeningHoursReception>string</OpeningHoursReception>
<RenovationYear>string</RenovationYear>
</StaticAttribute>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProducttypeGroup>
<XmlExportProducttypeGroup>
<CategoryType>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</CategoryType>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<DescriptionId>int</DescriptionId>
<Name>string</Name>
<ProducttypeGroupId>int</ProducttypeGroupId>
<ProducttypeGroupType>int</ProducttypeGroupType>
<SupplierId>int</SupplierId>
<SupplierName>string</SupplierName>
<Website>string</Website>
<GeoNodeName>string</GeoNodeName>
<GeoNodeId>int</GeoNodeId>
<Bookable>boolean</Bookable>
<Translations>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</Translations>
<AddressList>
<XmlExportAddress xsi:nil="true" />
<XmlExportAddress xsi:nil="true" />
</AddressList>
<PhoneList>
<XmlExportPhone xsi:nil="true" />
<XmlExportPhone xsi:nil="true" />
</PhoneList>
<EmailList>
<XmlExportEmail xsi:nil="true" />
<XmlExportEmail xsi:nil="true" />
</EmailList>
<ImageList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImageList>
<StarClassification>string</StarClassification>
<StaticAttribute>
<BuildYear>string</BuildYear>
<CheckInTime>string</CheckInTime>
<CheckOutTime>string</CheckOutTime>
<Link360>string</Link360>
<NumberOfBars>string</NumberOfBars>
<NumberOfConferenceRooms>string</NumberOfConferenceRooms>
<NumberOfFloors>string</NumberOfFloors>
<NumberOfRestaurants>string</NumberOfRestaurants>
<NumberOfRooms>string</NumberOfRooms>
<OpeningHoursReception>string</OpeningHoursReception>
<RenovationYear>string</RenovationYear>
</StaticAttribute>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProducttypeGroup>
</ExportProducttypeGroupFromCategoryResult>
</ExportProducttypeGroupFromCategoryResponse>
</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>
<ExportProducttypeGroupFromCategory xmlns="http://api.citybreak.com/">
<categoryType>int</categoryType>
</ExportProducttypeGroupFromCategory>
</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>
<ExportProducttypeGroupFromCategoryResponse xmlns="http://api.citybreak.com/">
<ExportProducttypeGroupFromCategoryResult>
<XmlExportProducttypeGroup>
<CategoryType>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</CategoryType>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<DescriptionId>int</DescriptionId>
<Name>string</Name>
<ProducttypeGroupId>int</ProducttypeGroupId>
<ProducttypeGroupType>int</ProducttypeGroupType>
<SupplierId>int</SupplierId>
<SupplierName>string</SupplierName>
<Website>string</Website>
<GeoNodeName>string</GeoNodeName>
<GeoNodeId>int</GeoNodeId>
<Bookable>boolean</Bookable>
<Translations>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</Translations>
<AddressList>
<XmlExportAddress xsi:nil="true" />
<XmlExportAddress xsi:nil="true" />
</AddressList>
<PhoneList>
<XmlExportPhone xsi:nil="true" />
<XmlExportPhone xsi:nil="true" />
</PhoneList>
<EmailList>
<XmlExportEmail xsi:nil="true" />
<XmlExportEmail xsi:nil="true" />
</EmailList>
<ImageList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImageList>
<StarClassification>string</StarClassification>
<StaticAttribute>
<BuildYear>string</BuildYear>
<CheckInTime>string</CheckInTime>
<CheckOutTime>string</CheckOutTime>
<Link360>string</Link360>
<NumberOfBars>string</NumberOfBars>
<NumberOfConferenceRooms>string</NumberOfConferenceRooms>
<NumberOfFloors>string</NumberOfFloors>
<NumberOfRestaurants>string</NumberOfRestaurants>
<NumberOfRooms>string</NumberOfRooms>
<OpeningHoursReception>string</OpeningHoursReception>
<RenovationYear>string</RenovationYear>
</StaticAttribute>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProducttypeGroup>
<XmlExportProducttypeGroup>
<CategoryType>CategoryAccommodation or CategoryEvent or CategoryTransportation or CategoryActivity or CategoryOther or CategoryGolf or CategorySystem or CategoryMerchandise</CategoryType>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<DescriptionId>int</DescriptionId>
<Name>string</Name>
<ProducttypeGroupId>int</ProducttypeGroupId>
<ProducttypeGroupType>int</ProducttypeGroupType>
<SupplierId>int</SupplierId>
<SupplierName>string</SupplierName>
<Website>string</Website>
<GeoNodeName>string</GeoNodeName>
<GeoNodeId>int</GeoNodeId>
<Bookable>boolean</Bookable>
<Translations>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</Translations>
<AddressList>
<XmlExportAddress xsi:nil="true" />
<XmlExportAddress xsi:nil="true" />
</AddressList>
<PhoneList>
<XmlExportPhone xsi:nil="true" />
<XmlExportPhone xsi:nil="true" />
</PhoneList>
<EmailList>
<XmlExportEmail xsi:nil="true" />
<XmlExportEmail xsi:nil="true" />
</EmailList>
<ImageList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImageList>
<StarClassification>string</StarClassification>
<StaticAttribute>
<BuildYear>string</BuildYear>
<CheckInTime>string</CheckInTime>
<CheckOutTime>string</CheckOutTime>
<Link360>string</Link360>
<NumberOfBars>string</NumberOfBars>
<NumberOfConferenceRooms>string</NumberOfConferenceRooms>
<NumberOfFloors>string</NumberOfFloors>
<NumberOfRestaurants>string</NumberOfRestaurants>
<NumberOfRooms>string</NumberOfRooms>
<OpeningHoursReception>string</OpeningHoursReception>
<RenovationYear>string</RenovationYear>
</StaticAttribute>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProducttypeGroup>
</ExportProducttypeGroupFromCategoryResult>
</ExportProducttypeGroupFromCategoryResponse>
</soap12:Body>
</soap12:Envelope>