Salespoint
Click here for a complete list of operations.
ExportProducttype
Returns a populates list of prodcuts 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/ExportProducttype"
<?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>
<ExportProducttype xmlns="http://api.citybreak.com/">
<producttypeGroupId>int</producttypeGroupId>
</ExportProducttype>
</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>
<ExportProducttypeResponse xmlns="http://api.citybreak.com/">
<ExportProducttypeResult>
<XmlExportProduct>
<BedsExtra>string</BedsExtra>
<BedsStandard>string</BedsStandard>
<CategoryTypeId>string</CategoryTypeId>
<CategoryTypeString>string</CategoryTypeString>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<Name>string</Name>
<DescriptionId>string</DescriptionId>
<ProducttypeGroupId>string</ProducttypeGroupId>
<ProducttypeId>string</ProducttypeId>
<ProducttypeTypeId>string</ProducttypeTypeId>
<ProducttypeTypeString>string</ProducttypeTypeString>
<SquareMeters>string</SquareMeters>
<NumberOfRooms>string</NumberOfRooms>
<ImagesList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImagesList>
<AttributeList>
<XmlExportAttribute xsi:nil="true" />
<XmlExportAttribute xsi:nil="true" />
</AttributeList>
<TranslationList>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</TranslationList>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProduct>
<XmlExportProduct>
<BedsExtra>string</BedsExtra>
<BedsStandard>string</BedsStandard>
<CategoryTypeId>string</CategoryTypeId>
<CategoryTypeString>string</CategoryTypeString>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<Name>string</Name>
<DescriptionId>string</DescriptionId>
<ProducttypeGroupId>string</ProducttypeGroupId>
<ProducttypeId>string</ProducttypeId>
<ProducttypeTypeId>string</ProducttypeTypeId>
<ProducttypeTypeString>string</ProducttypeTypeString>
<SquareMeters>string</SquareMeters>
<NumberOfRooms>string</NumberOfRooms>
<ImagesList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImagesList>
<AttributeList>
<XmlExportAttribute xsi:nil="true" />
<XmlExportAttribute xsi:nil="true" />
</AttributeList>
<TranslationList>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</TranslationList>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProduct>
</ExportProducttypeResult>
</ExportProducttypeResponse>
</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>
<ExportProducttype xmlns="http://api.citybreak.com/">
<producttypeGroupId>int</producttypeGroupId>
</ExportProducttype>
</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>
<ExportProducttypeResponse xmlns="http://api.citybreak.com/">
<ExportProducttypeResult>
<XmlExportProduct>
<BedsExtra>string</BedsExtra>
<BedsStandard>string</BedsStandard>
<CategoryTypeId>string</CategoryTypeId>
<CategoryTypeString>string</CategoryTypeString>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<Name>string</Name>
<DescriptionId>string</DescriptionId>
<ProducttypeGroupId>string</ProducttypeGroupId>
<ProducttypeId>string</ProducttypeId>
<ProducttypeTypeId>string</ProducttypeTypeId>
<ProducttypeTypeString>string</ProducttypeTypeString>
<SquareMeters>string</SquareMeters>
<NumberOfRooms>string</NumberOfRooms>
<ImagesList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImagesList>
<AttributeList>
<XmlExportAttribute xsi:nil="true" />
<XmlExportAttribute xsi:nil="true" />
</AttributeList>
<TranslationList>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</TranslationList>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProduct>
<XmlExportProduct>
<BedsExtra>string</BedsExtra>
<BedsStandard>string</BedsStandard>
<CategoryTypeId>string</CategoryTypeId>
<CategoryTypeString>string</CategoryTypeString>
<Description>string</Description>
<Directions>string</Directions>
<Ingress>string</Ingress>
<Name>string</Name>
<DescriptionId>string</DescriptionId>
<ProducttypeGroupId>string</ProducttypeGroupId>
<ProducttypeId>string</ProducttypeId>
<ProducttypeTypeId>string</ProducttypeTypeId>
<ProducttypeTypeString>string</ProducttypeTypeString>
<SquareMeters>string</SquareMeters>
<NumberOfRooms>string</NumberOfRooms>
<ImagesList>
<XmlExportImage xsi:nil="true" />
<XmlExportImage xsi:nil="true" />
</ImagesList>
<AttributeList>
<XmlExportAttribute xsi:nil="true" />
<XmlExportAttribute xsi:nil="true" />
</AttributeList>
<TranslationList>
<XmlExportTranslation xsi:nil="true" />
<XmlExportTranslation xsi:nil="true" />
</TranslationList>
<TravellerRating>
<RecommendedNo>string</RecommendedNo>
<RecommendedYes>string</RecommendedYes>
<CustomerReviewCount>string</CustomerReviewCount>
<Rating>string</Rating>
<RatingLowest>string</RatingLowest>
<RatingHighest>string</RatingHighest>
<ScoreList xsi:nil="true" />
</TravellerRating>
</XmlExportProduct>
</ExportProducttypeResult>
</ExportProducttypeResponse>
</soap12:Body>
</soap12:Envelope>