V9.RecommendationService:GetRecommendationListNamesExamples

Jump to: navigation, search

GetRecommendationListNames Request Example

Request information about two of the recommendation lists you are using.

  • Specify en-US in the Locale element.
  • In the RecommendationListIds element, specify the IDs of the recommendation lists in string elements.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://api.rovicorp.com/v9/common/types" xmlns:rec="http://api.rovicorp.com/v9/recommendationservice">
   <soapenv:Header>
      <typ:AuthHeader>
         <typ:UserName>username</typ:UserName>
         <typ:Password>password</typ:Password>
      </typ:AuthHeader>
   </soapenv:Header>
   <soapenv:Body>
      <rec:GetRecommendationListNames>
         <rec:request>
            <rec:Locale>en-US</rec:Locale>
            <rec:RecommendationListIds>
               <rec:string>e0beb177-c03f-4070-a9cc-621f0519e3ca</rec:string>
               <rec:string>68bd6410-8229-4666-ad68-211c966aef93</rec:string>
            </rec:RecommendationListIds>
         </rec:request>
      </rec:GetRecommendationListNames>
   </soapenv:Body>
</soapenv:Envelope>

Here's the response to this request.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetRecommendationListNamesResponse xmlns="http://api.rovicorp.com/v9/recommendationservice">
         <GetRecommendationListNamesResult>
            <RequestId xmlns="http://api.rovicorp.com/v9/common/types">cbc75209-bc9d-42d5-b957-c3f7ce999af2</RequestId>
            <TimeStamp xmlns="http://api.rovicorp.com/v9/common/types">2011-06-16T19:07:15.892Z</TimeStamp>
            <Status xmlns="http://api.rovicorp.com/v9/common/types">PNE</Status>
            <Errors xmlns="http://api.rovicorp.com/v9/common/types"/>
            <EndTimestamp xmlns="http://api.rovicorp.com/v9/common/types">2011-06-16T19:07:15.892Z</EndTimestamp>
            <Build xmlns="http://api.rovicorp.com/v9/common/types">CPS Phase v9 Build 9.5.1.8</Build>
            <RecommendationLists>
               <RecommendationList>
                  <RecommendationListId>e0beb177-c03f-4070-a9cc-621f0519e3ca</RecommendationListId>
                  <Title>Sports Hot List</Title>
                  <Description>Compelling sports events and programs. Selections are picked from a wide variety of sports and also include series, movies and documentaries with a sports angle.</Description>
                  <Configuration>&lt;Configuration>&lt;Cobranding PartnerId="0" PartnerName="TV Guide" ImageURL="http://actual-url-concealed.gif"/>&lt;/Configuration></Configuration>
                  <DisplayOrder>100</DisplayOrder>
                  <Qualification/>
                  <ContentProviderName>Corporate</ContentProviderName>
                  <ListImageUri>http://actual-url-concealed.gif</ListImageUri>
               </RecommendationList>
               <RecommendationList>
                  <RecommendationListId>68bd6410-8229-4666-ad68-211c966aef93</RecommendationListId>
                  <Title>Flick Pick Hot List</Title>
                  <Description>The Hot List for Flick Pick Hot List</Description>
                  <Configuration>&lt;Configuration>&lt;Cobranding PartnerId="0" PartnerName="TV Guide" ImageURL="http://actual-url-concealed.gif"/>&lt;/Configuration></Configuration>
                  <DisplayOrder>100</DisplayOrder>
                  <Qualification/>
                  <ContentProviderName>Corporate</ContentProviderName>
                  <ListImageUri>http://actual-url-concealed.gif</ListImageUri>
               </RecommendationList>
            </RecommendationLists>
         </GetRecommendationListNamesResult>
      </GetRecommendationListNamesResponse>
   </soap:Body>
</soap:Envelope>

See Also

↑ Top

Personal tools