YPCListingSearch


Click here for a complete list of operations.

GetListingDetails

Details request to the YPC API utilizing the parameters passed and returns the Details corresponding to the specified Listing.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
apiID:
listingID:
referrer:
visitorID:
userAgent:
ip:

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 /YPCListingSearch.asmx HTTP/1.1
Host: acsyellowpages.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Berry.YPCAPI/YPCListingSearch.asmx/GetListingDetails"

<?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>
    <GetListingDetails xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
      <apiID>string</apiID>
      <listingID>string</listingID>
      <referrer>string</referrer>
      <visitorID>string</visitorID>
      <userAgent>string</userAgent>
      <ip>string</ip>
    </GetListingDetails>
  </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>
    <GetListingDetailsResponse xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
      <GetListingDetailsResult>
        <Accreditations>string</Accreditations>
        <AdImage>string</AdImage>
        <AdImageClick>string</AdImageClick>
        <AdditionalTexts>string</AdditionalTexts>
        <AfterHoursPhone>string</AfterHoursPhone>
        <AKAs>
          <string>string</string>
          <string>string</string>
        </AKAs>
        <Amenities>string</Amenities>
        <Associations>string</Associations>
        <AudioURL>string</AudioURL>
        <AverageRating>float</AverageRating>
        <BaseClickURL>string</BaseClickURL>
        <BusinessName>string</BusinessName>
        <Categories>
          <string>string</string>
          <string>string</string>
        </Categories>
        <Certification>string</Certification>
        <City>string</City>
        <CouponFlag>boolean</CouponFlag>
        <CouponText>string</CouponText>
        <CouponURL>string</CouponURL>
        <Description>string</Description>
        <DistribAdImage>string</DistribAdImage>
        <DistrbAdImageClick>string</DistrbAdImageClick>
        <Email>string</Email>
        <EmergencyPhone>string</EmergencyPhone>
        <ExtraEmails>
          <string>string</string>
          <string>string</string>
        </ExtraEmails>
        <ExtraFaxs>
          <string>string</string>
          <string>string</string>
        </ExtraFaxs>
        <ExtraPhone>string</ExtraPhone>
        <ExtraTollFree>string</ExtraTollFree>
        <ExtraWebsiteURLs>
          <string>string</string>
          <string>string</string>
        </ExtraWebsiteURLs>
        <GeneralInfo>string</GeneralInfo>
        <HasDisplayAddress>boolean</HasDisplayAddress>
        <HasPriorityShading>boolean</HasPriorityShading>
        <InBusinessSince>string</InBusinessSince>
        <IsRedListing>boolean</IsRedListing>
        <LanguagesSpoken>string</LanguagesSpoken>
        <Latitude>float</Latitude>
        <Longitude>float</Longitude>
        <ListingID>string</ListingID>
        <MobileInfo>string</MobileInfo>
        <MoreInfoURL>string</MoreInfoURL>
        <Neighborhoods>string</Neighborhoods>
        <OmitAddress>boolean</OmitAddress>
        <OmitPhone>boolean</OmitPhone>
        <OpenHours>string</OpenHours>
        <PaymentMethods>string</PaymentMethods>
        <Phone>string</Phone>
        <PrintAdImage>string</PrintAdImage>
        <PrintAdImageClick>string</PrintAdImageClick>
        <RatingCount>int</RatingCount>
        <Services>string</Services>
        <Slogan>string</Slogan>
        <State>string</State>
        <Street>string</Street>
        <VideoURL>string</VideoURL>
        <ViewPhone>string</ViewPhone>
        <WebsiteURL>string</WebsiteURL>
        <Zip>string</Zip>
      </GetListingDetailsResult>
    </GetListingDetailsResponse>
  </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 /YPCListingSearch.asmx HTTP/1.1
Host: acsyellowpages.org
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>
    <GetListingDetails xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
      <apiID>string</apiID>
      <listingID>string</listingID>
      <referrer>string</referrer>
      <visitorID>string</visitorID>
      <userAgent>string</userAgent>
      <ip>string</ip>
    </GetListingDetails>
  </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>
    <GetListingDetailsResponse xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
      <GetListingDetailsResult>
        <Accreditations>string</Accreditations>
        <AdImage>string</AdImage>
        <AdImageClick>string</AdImageClick>
        <AdditionalTexts>string</AdditionalTexts>
        <AfterHoursPhone>string</AfterHoursPhone>
        <AKAs>
          <string>string</string>
          <string>string</string>
        </AKAs>
        <Amenities>string</Amenities>
        <Associations>string</Associations>
        <AudioURL>string</AudioURL>
        <AverageRating>float</AverageRating>
        <BaseClickURL>string</BaseClickURL>
        <BusinessName>string</BusinessName>
        <Categories>
          <string>string</string>
          <string>string</string>
        </Categories>
        <Certification>string</Certification>
        <City>string</City>
        <CouponFlag>boolean</CouponFlag>
        <CouponText>string</CouponText>
        <CouponURL>string</CouponURL>
        <Description>string</Description>
        <DistribAdImage>string</DistribAdImage>
        <DistrbAdImageClick>string</DistrbAdImageClick>
        <Email>string</Email>
        <EmergencyPhone>string</EmergencyPhone>
        <ExtraEmails>
          <string>string</string>
          <string>string</string>
        </ExtraEmails>
        <ExtraFaxs>
          <string>string</string>
          <string>string</string>
        </ExtraFaxs>
        <ExtraPhone>string</ExtraPhone>
        <ExtraTollFree>string</ExtraTollFree>
        <ExtraWebsiteURLs>
          <string>string</string>
          <string>string</string>
        </ExtraWebsiteURLs>
        <GeneralInfo>string</GeneralInfo>
        <HasDisplayAddress>boolean</HasDisplayAddress>
        <HasPriorityShading>boolean</HasPriorityShading>
        <InBusinessSince>string</InBusinessSince>
        <IsRedListing>boolean</IsRedListing>
        <LanguagesSpoken>string</LanguagesSpoken>
        <Latitude>float</Latitude>
        <Longitude>float</Longitude>
        <ListingID>string</ListingID>
        <MobileInfo>string</MobileInfo>
        <MoreInfoURL>string</MoreInfoURL>
        <Neighborhoods>string</Neighborhoods>
        <OmitAddress>boolean</OmitAddress>
        <OmitPhone>boolean</OmitPhone>
        <OpenHours>string</OpenHours>
        <PaymentMethods>string</PaymentMethods>
        <Phone>string</Phone>
        <PrintAdImage>string</PrintAdImage>
        <PrintAdImageClick>string</PrintAdImageClick>
        <RatingCount>int</RatingCount>
        <Services>string</Services>
        <Slogan>string</Slogan>
        <State>string</State>
        <Street>string</Street>
        <VideoURL>string</VideoURL>
        <ViewPhone>string</ViewPhone>
        <WebsiteURL>string</WebsiteURL>
        <Zip>string</Zip>
      </GetListingDetailsResult>
    </GetListingDetailsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /YPCListingSearch.asmx/GetListingDetails?apiID=string&listingID=string&referrer=string&visitorID=string&userAgent=string&ip=string HTTP/1.1
Host: acsyellowpages.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Details xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
  <Accreditations>string</Accreditations>
  <AdImage>string</AdImage>
  <AdImageClick>string</AdImageClick>
  <AdditionalTexts>string</AdditionalTexts>
  <AfterHoursPhone>string</AfterHoursPhone>
  <AKAs>
    <string>string</string>
    <string>string</string>
  </AKAs>
  <Amenities>string</Amenities>
  <Associations>string</Associations>
  <AudioURL>string</AudioURL>
  <AverageRating>float</AverageRating>
  <BaseClickURL>string</BaseClickURL>
  <BusinessName>string</BusinessName>
  <Categories>
    <string>string</string>
    <string>string</string>
  </Categories>
  <Certification>string</Certification>
  <City>string</City>
  <CouponFlag>boolean</CouponFlag>
  <CouponText>string</CouponText>
  <CouponURL>string</CouponURL>
  <Description>string</Description>
  <DistribAdImage>string</DistribAdImage>
  <DistrbAdImageClick>string</DistrbAdImageClick>
  <Email>string</Email>
  <EmergencyPhone>string</EmergencyPhone>
  <ExtraEmails>
    <string>string</string>
    <string>string</string>
  </ExtraEmails>
  <ExtraFaxs>
    <string>string</string>
    <string>string</string>
  </ExtraFaxs>
  <ExtraPhone>string</ExtraPhone>
  <ExtraTollFree>string</ExtraTollFree>
  <ExtraWebsiteURLs>
    <string>string</string>
    <string>string</string>
  </ExtraWebsiteURLs>
  <GeneralInfo>string</GeneralInfo>
  <HasDisplayAddress>boolean</HasDisplayAddress>
  <HasPriorityShading>boolean</HasPriorityShading>
  <InBusinessSince>string</InBusinessSince>
  <IsRedListing>boolean</IsRedListing>
  <LanguagesSpoken>string</LanguagesSpoken>
  <Latitude>float</Latitude>
  <Longitude>float</Longitude>
  <ListingID>string</ListingID>
  <MobileInfo>string</MobileInfo>
  <MoreInfoURL>string</MoreInfoURL>
  <Neighborhoods>string</Neighborhoods>
  <OmitAddress>boolean</OmitAddress>
  <OmitPhone>boolean</OmitPhone>
  <OpenHours>string</OpenHours>
  <PaymentMethods>string</PaymentMethods>
  <Phone>string</Phone>
  <PrintAdImage>string</PrintAdImage>
  <PrintAdImageClick>string</PrintAdImageClick>
  <RatingCount>int</RatingCount>
  <Services>string</Services>
  <Slogan>string</Slogan>
  <State>string</State>
  <Street>string</Street>
  <VideoURL>string</VideoURL>
  <ViewPhone>string</ViewPhone>
  <WebsiteURL>string</WebsiteURL>
  <Zip>string</Zip>
</Details>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /YPCListingSearch.asmx/GetListingDetails HTTP/1.1
Host: acsyellowpages.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apiID=string&listingID=string&referrer=string&visitorID=string&userAgent=string&ip=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Details xmlns="http://Berry.YPCAPI/YPCListingSearch.asmx">
  <Accreditations>string</Accreditations>
  <AdImage>string</AdImage>
  <AdImageClick>string</AdImageClick>
  <AdditionalTexts>string</AdditionalTexts>
  <AfterHoursPhone>string</AfterHoursPhone>
  <AKAs>
    <string>string</string>
    <string>string</string>
  </AKAs>
  <Amenities>string</Amenities>
  <Associations>string</Associations>
  <AudioURL>string</AudioURL>
  <AverageRating>float</AverageRating>
  <BaseClickURL>string</BaseClickURL>
  <BusinessName>string</BusinessName>
  <Categories>
    <string>string</string>
    <string>string</string>
  </Categories>
  <Certification>string</Certification>
  <City>string</City>
  <CouponFlag>boolean</CouponFlag>
  <CouponText>string</CouponText>
  <CouponURL>string</CouponURL>
  <Description>string</Description>
  <DistribAdImage>string</DistribAdImage>
  <DistrbAdImageClick>string</DistrbAdImageClick>
  <Email>string</Email>
  <EmergencyPhone>string</EmergencyPhone>
  <ExtraEmails>
    <string>string</string>
    <string>string</string>
  </ExtraEmails>
  <ExtraFaxs>
    <string>string</string>
    <string>string</string>
  </ExtraFaxs>
  <ExtraPhone>string</ExtraPhone>
  <ExtraTollFree>string</ExtraTollFree>
  <ExtraWebsiteURLs>
    <string>string</string>
    <string>string</string>
  </ExtraWebsiteURLs>
  <GeneralInfo>string</GeneralInfo>
  <HasDisplayAddress>boolean</HasDisplayAddress>
  <HasPriorityShading>boolean</HasPriorityShading>
  <InBusinessSince>string</InBusinessSince>
  <IsRedListing>boolean</IsRedListing>
  <LanguagesSpoken>string</LanguagesSpoken>
  <Latitude>float</Latitude>
  <Longitude>float</Longitude>
  <ListingID>string</ListingID>
  <MobileInfo>string</MobileInfo>
  <MoreInfoURL>string</MoreInfoURL>
  <Neighborhoods>string</Neighborhoods>
  <OmitAddress>boolean</OmitAddress>
  <OmitPhone>boolean</OmitPhone>
  <OpenHours>string</OpenHours>
  <PaymentMethods>string</PaymentMethods>
  <Phone>string</Phone>
  <PrintAdImage>string</PrintAdImage>
  <PrintAdImageClick>string</PrintAdImageClick>
  <RatingCount>int</RatingCount>
  <Services>string</Services>
  <Slogan>string</Slogan>
  <State>string</State>
  <Street>string</Street>
  <VideoURL>string</VideoURL>
  <ViewPhone>string</ViewPhone>
  <WebsiteURL>string</WebsiteURL>
  <Zip>string</Zip>
</Details>