Salespoint
Click here for a complete list of operations.
GetGolfGroupDescriptionFromDescriptionId
Get the description object for a golf product group
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/GetGolfGroupDescriptionFromDescriptionId" <?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> <GetGolfGroupDescriptionFromDescriptionId xmlns="http://api.citybreak.com/"> <descriptionid>int</descriptionid> </GetGolfGroupDescriptionFromDescriptionId> </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> <GetGolfGroupDescriptionFromDescriptionIdResponse xmlns="http://api.citybreak.com/"> <GetGolfGroupDescriptionFromDescriptionIdResult> <Direction xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</Direction> <KeyPickup xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</KeyPickup> <Attributes xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Attributes xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Website xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</Website> <Address xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <StreetAddress1 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress1> <StreetAddress2 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress2> <StreetAddress3 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress3> <City xmlns="http://schemas.citybreak.com/CitybreakTypes">string</City> <ZipCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</ZipCode> <Country xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Country> <MunicpalId xmlns="http://schemas.citybreak.com/CitybreakTypes">string</MunicpalId> </Address> <PhoneReception xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </PhoneReception> <PhoneBooking xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </PhoneBooking> <FaxBooking xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </FaxBooking> <Email xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</Email> <SupplierImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </SupplierImage> <GeoRef xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Link360 xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</Link360> <LinkMap xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Url xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Url> <Target xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Target> <RegisterPostbackInfoKey xmlns="http://schemas.citybreak.com/CitybreakTypes">string</RegisterPostbackInfoKey> <RegisterPostbackInfo xmlns="http://schemas.citybreak.com/CitybreakTypes">string</RegisterPostbackInfo> </LinkMap> <Images xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Images> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </Images> <Images> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </Images> </Images> <Categories xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Categories> <Categories xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Categories> <MaxBeds xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</MaxBeds> <SquareMeters xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</SquareMeters> <Levels xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Levels> <Longitude xmlns="http://schemas.citybreak.com/DescriptionsTypes">double</Longitude> <Latitude xmlns="http://schemas.citybreak.com/DescriptionsTypes">double</Latitude> <Rooms xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Rooms> <Bars xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Bars> <Restaurants xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Restaurants> <ConferenceRooms xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</ConferenceRooms> <OpeningHours xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</OpeningHours> <CheckIn xmlns="http://schemas.citybreak.com/DescriptionsTypes">time</CheckIn> <CheckOut xmlns="http://schemas.citybreak.com/DescriptionsTypes">time</CheckOut> <BuildYear xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</BuildYear> <RenovatedYear xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</RenovatedYear> <ProducttypeType xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</ProducttypeType> <CourseGuides xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <HoleNumber>int</HoleNumber> <YellowTee>int</YellowTee> <RedTee>int</RedTee> <HoleIndex>int</HoleIndex> <Par>int</Par> <CourseImage> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </CourseImage> <Images> <Images xsi:nil="true" /> <Images xsi:nil="true" /> </Images> <Slope>int</Slope> <Description> <Description>string</Description> <LanguageId>int</LanguageId> </Description> </CourseGuides> <CourseGuides xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <HoleNumber>int</HoleNumber> <YellowTee>int</YellowTee> <RedTee>int</RedTee> <HoleIndex>int</HoleIndex> <Par>int</Par> <CourseImage> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </CourseImage> <Images> <Images xsi:nil="true" /> <Images xsi:nil="true" /> </Images> <Slope>int</Slope> <Description> <Description>string</Description> <LanguageId>int</LanguageId> </Description> </CourseGuides> <Arena xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Name>string</Name> <Capacity>int</Capacity> <BrokeGround>string</BrokeGround> <Tenants>string</Tenants> <Renovated>string</Renovated> <ArenaTexts> <Description>string</Description> <Direction>string</Direction> <LanguageId>int</LanguageId> </ArenaTexts> </Arena> <HasTravellerRating xmlns="http://schemas.citybreak.com/DescriptionsTypes">boolean</HasTravellerRating> <ProducttypeImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </ProducttypeImage> <ArenaOverviewImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </ArenaOverviewImage> <Seller1LogoId xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Seller1LogoId> <Seller2LogoId xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Seller2LogoId> <SellerUrl xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</SellerUrl> </GetGolfGroupDescriptionFromDescriptionIdResult> </GetGolfGroupDescriptionFromDescriptionIdResponse> </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> <GetGolfGroupDescriptionFromDescriptionId xmlns="http://api.citybreak.com/"> <descriptionid>int</descriptionid> </GetGolfGroupDescriptionFromDescriptionId> </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> <GetGolfGroupDescriptionFromDescriptionIdResponse xmlns="http://api.citybreak.com/"> <GetGolfGroupDescriptionFromDescriptionIdResult> <Direction xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</Direction> <KeyPickup xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</KeyPickup> <Attributes xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Attributes xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Website xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</Website> <Address xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <StreetAddress1 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress1> <StreetAddress2 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress2> <StreetAddress3 xmlns="http://schemas.citybreak.com/CitybreakTypes">string</StreetAddress3> <City xmlns="http://schemas.citybreak.com/CitybreakTypes">string</City> <ZipCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</ZipCode> <Country xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Country> <MunicpalId xmlns="http://schemas.citybreak.com/CitybreakTypes">string</MunicpalId> </Address> <PhoneReception xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </PhoneReception> <PhoneBooking xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </PhoneBooking> <FaxBooking xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <CountryCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</CountryCode> <AreaCode xmlns="http://schemas.citybreak.com/CitybreakTypes">string</AreaCode> <Number xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Number> </FaxBooking> <Email xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</Email> <SupplierImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </SupplierImage> <GeoRef xmlns="http://schemas.citybreak.com/DescriptionsTypes" /> <Link360 xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</Link360> <LinkMap xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Url xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Url> <Target xmlns="http://schemas.citybreak.com/CitybreakTypes">string</Target> <RegisterPostbackInfoKey xmlns="http://schemas.citybreak.com/CitybreakTypes">string</RegisterPostbackInfoKey> <RegisterPostbackInfo xmlns="http://schemas.citybreak.com/CitybreakTypes">string</RegisterPostbackInfo> </LinkMap> <Images xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Images> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </Images> <Images> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </Images> </Images> <Categories xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Categories> <Categories xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Categories> <MaxBeds xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</MaxBeds> <SquareMeters xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</SquareMeters> <Levels xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Levels> <Longitude xmlns="http://schemas.citybreak.com/DescriptionsTypes">double</Longitude> <Latitude xmlns="http://schemas.citybreak.com/DescriptionsTypes">double</Latitude> <Rooms xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Rooms> <Bars xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Bars> <Restaurants xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Restaurants> <ConferenceRooms xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</ConferenceRooms> <OpeningHours xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</OpeningHours> <CheckIn xmlns="http://schemas.citybreak.com/DescriptionsTypes">time</CheckIn> <CheckOut xmlns="http://schemas.citybreak.com/DescriptionsTypes">time</CheckOut> <BuildYear xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</BuildYear> <RenovatedYear xmlns="http://schemas.citybreak.com/DescriptionsTypes">string</RenovatedYear> <ProducttypeType xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</ProducttypeType> <CourseGuides xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <HoleNumber>int</HoleNumber> <YellowTee>int</YellowTee> <RedTee>int</RedTee> <HoleIndex>int</HoleIndex> <Par>int</Par> <CourseImage> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </CourseImage> <Images> <Images xsi:nil="true" /> <Images xsi:nil="true" /> </Images> <Slope>int</Slope> <Description> <Description>string</Description> <LanguageId>int</LanguageId> </Description> </CourseGuides> <CourseGuides xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <HoleNumber>int</HoleNumber> <YellowTee>int</YellowTee> <RedTee>int</RedTee> <HoleIndex>int</HoleIndex> <Par>int</Par> <CourseImage> <Type>Thumbnail or Big or Other</Type> <Resource xsi:nil="true" /> </CourseImage> <Images> <Images xsi:nil="true" /> <Images xsi:nil="true" /> </Images> <Slope>int</Slope> <Description> <Description>string</Description> <LanguageId>int</LanguageId> </Description> </CourseGuides> <Arena xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Name>string</Name> <Capacity>int</Capacity> <BrokeGround>string</BrokeGround> <Tenants>string</Tenants> <Renovated>string</Renovated> <ArenaTexts> <Description>string</Description> <Direction>string</Direction> <LanguageId>int</LanguageId> </ArenaTexts> </Arena> <HasTravellerRating xmlns="http://schemas.citybreak.com/DescriptionsTypes">boolean</HasTravellerRating> <ProducttypeImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </ProducttypeImage> <ArenaOverviewImage xmlns="http://schemas.citybreak.com/DescriptionsTypes"> <Type>Thumbnail or Big or Other</Type> <Resource /> </ArenaOverviewImage> <Seller1LogoId xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Seller1LogoId> <Seller2LogoId xmlns="http://schemas.citybreak.com/DescriptionsTypes">int</Seller2LogoId> <SellerUrl xmlns="http://schemas.citybreak.com/DescriptionsTypes">anyURI</SellerUrl> </GetGolfGroupDescriptionFromDescriptionIdResult> </GetGolfGroupDescriptionFromDescriptionIdResponse> </soap12:Body> </soap12:Envelope>