Returns the IDs of editorial recommendation lists. Start with this request when you want to present editorial recommendations for television.
POST /v9/recommendationservice.asmx HTTP/1.1
Host: services.macrovision.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:Header>
</soap12:Header>
<soap12:Body>
<GetRecommendationLists xmlns="http://api.rovicorp.com/v9/recommendationservice">
<request>
<ListGroupName>string</ListGroupName>
<Locale>string</Locale>
<ContentProviderName>string</ContentProviderName>
<Page>
<PageSize>int</PageSize>
<StartIndex>int</StartIndex>
<TotalRows>int</TotalRows>
<SortByColumn>
<int>int</int>
<int>int</int>
</SortByColumn>
</Page>
</request>
</GetRecommendationLists>
</soap12:Body>
</soap12:Envelope>
Get the recommendation lists in the US list group Recommendation List.
Get the next page of recommendation lists in the US list group Recommendation List, the three lists that come after the lists returned in Request Example 1.
Get the recommendation lists in the US list group Recommendation List, but return them in reverse order.
Name | Required | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ListGroupName | Yes | String | Name of the Recommendation List Group you want. Select one of the following, based on language and country:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locale | Yes | String | Language and country code of the television service. This is a case-insensitive combination of the ISO 639 language code, a hyphen character, and the ISO 3166 country code, as described in RFC 1766. Valid locales include:
[1] Includes Wales, Scotland, and Northern Ireland. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClientBatchId | No | String | A trace code to be returned in the response header so you can track a batch of requests. The code can be up to 255 characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ContentProviderName | No | String | This parameter is restricted to custom Rovi applications. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Page | No | DataPage | Settings that return the response one pageful at a time and determine the sequence of the response. The list of recommendation lists is ordered by the fifth column, the DisplayOrder response element. |
Response | Type | Description |
---|---|---|
Build | String | Software build version of the API. |
ClientBatchId | String | The batch ID you supplied in the request. |
EndTimestamp | DateTime | Time the server finished processing the request. |
Errors | Error [ ] | Processing errors or warnings. |
RequestId | String GUID | A generated value that identifies the request and response. |
Status | Status | Processing status, indicating whether the request was successfully processed. |
TimeStamp | DateTime | Time the server started processing the request. |
Name | Type | Description |
---|---|---|
RecommendationLists | RecommendationList [ ] | The recommendation lists requested. |
Page | DataPage | The number of recommendation lists available in the group, plus echoes of the parameters specified in the Page parameter. |
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>
<GetRecommendationListsResponse xmlns="http://api.rovicorp.com/v9/recommendationservice">
<GetRecommendationListsResult>
<RecommendationLists>
<RecommendationList>
<RecommendationListId>string</RecommendationListId>
<Title>string</Title>
<Description>string</Description>
<Configuration>string</Configuration>
<DisplayOrder>int</DisplayOrder>
<Qualification xsi:nil="true" />
<ContentProviderName>string</ContentProviderName>
<ListImageUri>string</ListImageUri>
</RecommendationList>
<RecommendationList>
<RecommendationListId>string</RecommendationListId>
<Title>string</Title>
<Description>string</Description>
<Configuration>string</Configuration>
<DisplayOrder>int</DisplayOrder>
<Qualification xsi:nil="true" />
<ContentProviderName>string</ContentProviderName>
<ListImageUri>string</ListImageUri>
</RecommendationList>
</RecommendationLists>
<Page>
<PageSize>int</PageSize>
<StartIndex>int</StartIndex>
<TotalRows>int</TotalRows>
<SortByColumn>
<int>int</int>
<int>int</int>
</SortByColumn>
</Page>
</GetRecommendationListsResult>
</GetRecommendationListsResponse>
</soap12:Body>
</soap12:Envelope>
Code | Name | Description |
---|---|---|
1001 | Core_MandatoryFieldMissing | A mandatory parameter is not specified. |
5001 | Core_InvalidPagingStartIndex | The StartIndex specified for the Page parameter is negative, non-numeric, or results in a negative range. |
5002 | Core_InvalidPagingPageSize | The PageSize specified for Page parameter is negative or non-numeric. |
10603 | LookupService_InvalidLocale | The locale specified in the request is invalid. |
601001 | Core_InvalidSortingColumnIndex | Warning: An invalid SortByColumn value was specified. |