Note: The information returned by this request is also returned by requests offered in our Name API Version 1.1. Because future API development around this information will be focused on the Name API, we now recommend using the Name API for future application development instead of this request.
GetCelebrityDetails returns information about a celebrity and can optionally include a schedule of upcoming broadcast appearances.
To include upcoming broadcast appearances, specify the ServiceId and then limit the results with the following optional parameters:
This request returns a large amount of data. To speed data transmission, do the following:
POST /v9/listingsservice.asmx HTTP/1.1
Host: api.rovicorp.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>
<AuthHeader xmlns="http://api.rovicorp.com/v9/common/types">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<GetCelebrityDetails xmlns="http://api.rovicorp.com/v9/listings">
<request>
<Locale>string</Locale>
<CreditHandle>
<Id>string</Id>
<ProviderId>int</ProviderId>
</CreditHandle>
<MetaData>
<CelebrityMetaData>All or None or Biography or AKAs or Relations or Credits or Factsheets or Awards or Images</CelebrityMetaData>
<CelebrityMetaData>All or None or Biography or AKAs or Relations or Credits or Factsheets or Awards or Images</CelebrityMetaData>
</MetaData>
<Format>PlainText or HTML</Format>
<ServiceId>int</ServiceId>
<StartDate>dateTime</StartDate>
<Duration>int</Duration>
<InProgress>boolean</InProgress>
<SourceFilter>
<Sources>
<SourceId>int</SourceId>
<SourceId>int</SourceId>
</Sources>
<Include>HD or PPV or Music</Include>
<Excludes>
<Exclude>HD or PPV or Music</Exclude>
<Exclude>HD or PPV or Music</Exclude>
</Excludes>
</SourceFilter>
<TitleType>int</TitleType>
<CopyType>int</CopyType>
<Image>
<ImageUrl>string</ImageUrl>
<ImageUseType>Logo or HeroImage or Thumbnail</ImageUseType>
<ImageId>int</ImageId>
<ImageTitle>string</ImageTitle>
<ImageCaption>string</ImageCaption>
<ObjectId>string</ObjectId>
<ObjectType>Program or Credit or Source</ObjectType>
<ObjectName>string</ObjectName>
<Relevancy>boolean</Relevancy>
<ImageCredit>string</ImageCredit>
<ImageCreditDisplay>boolean</ImageCreditDisplay>
<ImageCastWeight>float</ImageCastWeight>
<ImageZoomLevel>1 or 2 or 3 or 4 or 5</ImageZoomLevel>
<ImageHeadcount>int</ImageHeadcount>
<ImageType>string</ImageType>
<ImageFormat>jpg or png or gif or bmp</ImageFormat>
<ImageHorizontalResolution>int</ImageHorizontalResolution>
<ImageVerticalResolution>int</ImageVerticalResolution>
<ImageMaintainAspectFlag>boolean</ImageMaintainAspectFlag>
<ImageExpiryDateTime>dateTime</ImageExpiryDateTime>
<LastUpdate>dateTime</LastUpdate>
<ImageFormatId>int</ImageFormatId>
<Orientation>string</Orientation>
<AspectRatio>string</AspectRatio>
<ImageOwner>string</ImageOwner>
<ParentImageId>int</ParentImageId>
<MaxImageScale>float</MaxImageScale>
</Image>
<IncludeCreditsForEpisodes>boolean</IncludeCreditsForEpisodes>
<ImageCount>int</ImageCount>
<ThisLocaleOnly>boolean</ThisLocaleOnly>
</request>
</GetCelebrityDetails>
</soap12:Body>
</soap12:Envelope>
Request a personal and professional overview for Ice-T.
Request a schedule for the shows that Ice-T is appearing in over the next week on Time Warner Cable in Beverly Hills, California.
Request the list of credits and awards for Mark Harmon, including credits for episodes in a series.
Request up to 25 JPG images of Ice-T alone that fit a bounding box of 240 by 320 pixels.
Request up to 50 different sizes and formats of the last image that was returned in Request Example 4, which is titled Leprechaun in the Hood.
Name | Required | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CreditHandle | Yes | Handle | Database ID of the celebrity. You can get celebrity IDs from responses to GetProgramDetails requests that return Credit ProgramMetaData. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. Note 1: Locale determines the language of program titles and descriptions. If content is not available in that language, a fallback language is chosen according to rules shown in the Language Fallback Sequence table. Note 2: For locales fr-CA and fr-Fr, the following response elements are returned in French if available:
Note 3: If an invalid locale is specified, en-GB will be used. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CopyType | No | Nullable CopyType | Type of description you want. If you specify a copy type that has no content, no description is returned. If you specify 0 or no copy type, the description chosen is based on category, shown below, and the first copy type in the category that is available:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Duration | No | Nullable Integer | If you specify a ServiceId to include a schedule of broadcasts the celebrity appears in, Duration determines the number of minutes the schedule will cover. You can specify 1 to 20160; the default is 20160 (14 days).
Note: The schedule is determined by StartDate, Duration, and InProgress. A duration shorter than 5 minutes may miss shows starting just before or after a half-hour point. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Format | No | Nullable EncodingFormat | Encoding format of the returned program description: HTML or PlainText. Default is PlainText. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Image | No | Image | If you specify Images in the MetaData parameter, Image determines which celebrity and program images are returned in the Images object. Do one of the following:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ImageCount | No | Nullable Integer | If you specify Images in the MetaData parameter, ImageCount determines the number of images returned in the response. The default is 5. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IncludeCreditsForEpisodes | No | Nullable Boolean | If you specify Credits in the MetaData parameter, IncludeCreditsForEpisodes determines whether credits for each episode in a series are returned in the response: true or false. Default is false. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
InProgress | No | Nullable Boolean | If you specify a ServiceId to include a schedule of broadcasts the celebrity appears in, InProgress determines whether shows that are in progress at the StartDate are included in the schedule: true or false. Default is false.
Note: The schedule is determined by StartDate, Duration, and InProgress. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MetaData | No | CelebrityMetaData [ ] | The data you want to be included in the response. Default is All. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ServiceId | No | Nullable Integer | Database ID of the television service. Required if you want a schedule of upcoming programs featuring the celebrity.
To get the service ID for the television service, request the list of services in the area with GetServices. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SourceFilter | No | SourceFilter | If you specify a ServiceId to include a schedule of broadcasts the celebrity appears in, you can use SourceFilter to limit the channels that are included in the results. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
StartDate | No | Nullable DateTime | If you specify a ServiceId to include a schedule of broadcasts the celebrity appears in, you can use StartDate to specify the starting time of the schedule. The default is the time of the request.
Note: The schedule is determined by StartDate, Duration, and InProgress. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ThisLocaleOnly | No | Nullable Boolean | Determines whether to omit Factsheets data if that data is unavailable in the language specified by the Locale parameter: true or false. Default is false. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TitleType | No | Nullable TitleType | Type of title to return for each program. Most programs do not carry all title types, so we recommend using the default unless another type is required. If a program does not have the type specified, the Title element is not returned. |
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 |
---|---|---|
Celebrity | Celebrity | Information about the celebrity you requested. |
Schedule | LinearSchedule | Schedule of upcoming broadcasts featuring the celebrity. Returned only if you specified a ServiceId in the request. |
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>
<GetCelebrityDetailsResponse xmlns="http://api.rovicorp.com/v9/listings">
<GetCelebrityDetailsResult>
<Celebrity DataAvailabilityFlags="int">
<CreditHandle>
<Id>string</Id>
<ProviderId>int</ProviderId>
</CreditHandle>
<CreditName>string</CreditName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<BirthName>string</BirthName>
<BirthPlace>string</BirthPlace>
<DateOfBirth>string</DateOfBirth>
<DateOfDeath>string</DateOfDeath>
<Gender>string</Gender>
<Zodiac>string</Zodiac>
<Profession>string</Profession>
<HighSchool>string</HighSchool>
<College>string</College>
<Description>string</Description>
<Factsheets>
<Factsheet xsi:nil="true" />
<Factsheet xsi:nil="true" />
</Factsheets>
<Awards>
<Award xsi:nil="true" />
<Award xsi:nil="true" />
</Awards>
<AKAs>
<AKA xsi:nil="true" />
<AKA xsi:nil="true" />
</AKAs>
<Relatives>
<Relative xsi:nil="true" />
<Relative xsi:nil="true" />
</Relatives>
<Credits>
<CelebrityCredit xsi:nil="true" />
<CelebrityCredit xsi:nil="true" />
</Credits>
<Images>
<Image xsi:nil="true" />
<Image xsi:nil="true" />
</Images>
<IsCelebrity>boolean</IsCelebrity>
</Celebrity>
<Schedule>
<Locale>string</Locale>
<ServiceId>int</ServiceId>
<Name>string</Name>
<ServiceType>string</ServiceType>
<StartDate>dateTime</StartDate>
<Duration>int</Duration>
<TimeZones>
<TimeZoneInfo xsi:nil="true" />
<TimeZoneInfo xsi:nil="true" />
</TimeZones>
<Airings>
<ListingsAiring xsi:nil="true" />
<ListingsAiring xsi:nil="true" />
</Airings>
</Schedule>
</GetCelebrityDetailsResult>
</GetCelebrityDetailsResponse>
</soap12:Body>
</soap12:Envelope>
Code | Name | Description |
---|---|---|
1001 | Core_MandatoryFieldMissing | A mandatory parameter is not specified. |
502001 | Listings_InvalidCopyType | The CopyType specified in the request is invalid. |