V9.Common:ProgramCredit

Jump to: navigation, search

ProgramCredit

Contains information about a credit earned by a celebrity.

Elements

NameTypeDescription
CreditHandle Handle Database ID of the credit.
CreditName String Person or organization that earned the credit in less than 256 characters.
CreditType CreditType Type of credit.
DataAvailabilityFlags Integer Sum of the bit mask values that indicate what data is available about the credit. For example: if Images and Awards data are available, then DataAvailbilityFlags will equal HasImages + HasAwards (4 + 8) or 12.
HasImages
HasAwards
32 HasVideo
Image Image URL to, and information about, an image of the celebrity. (An image is not returned for an organization.) The image is chosen based on the image sequence set for celebrities in the Image Sequence table. The Image element is returned only if an image is available.

Note: Your access to celebrity images is governed by your subscription level.

IsCelebrity Boolean Whether the credit is for a celebrity: true or false.
IsOrganization Boolean Whether the credit is for an organization: true or false.
PartName String Role name of the credit in less than 256 characters.
ProgramHandle Handle Database ID of the program.
Sequence Integer Order of the credit in the list of credits.

XML Response Example

  <ProgramCredit DataAvailabilityFlags="12">
     <ProgramHandle>
        <Id>5043606</Id>
        <ProviderId>2</ProviderId>
     </ProgramHandle>
     <CreditHandle>
        <Id>385689</Id>
        <ProviderId>2</ProviderId>
     </CreditHandle>
     <CreditName>Chuck Lorre</CreditName>
     <PartName/>
     <CreditType>Creator</CreditType>
     <Sequence>9</Sequence>
     <Image>
        <ImageUrl>http://actual-url-concealed.jpg</ImageUrl>
        <ImageUseType xsi:nil="true"/>
        <ImageId>1663191</ImageId>
        <ImageTitle>Chuck Lorre</ImageTitle>
        <ImageCaption>PASADENA, CA - JANUARY 09: Executive producer/co-creator of 'Two and a Half Men' and 'The Big Bang Theory' Chuck Lorre speaks onstage at the CBS Comedy Showrunner Q&amp;A portion of the 2010 Winter TCA Tour day 1 at the Langham Hotel on January 9, 2010 in Pasadena, California.</ImageCaption>
        <ObjectId>385689</ObjectId>
        <ObjectType>Credit</ObjectType>
        <ObjectName>Chuck Lorre;Writer; Executive Producer; Co-Executive Producer</ObjectName>
        <Relevancy>true</Relevancy>
        <ImageCredit>Frederick M. Brown/Getty Images Entertainment/Getty Images</ImageCredit>
        <ImageCreditDisplay xsi:nil="true"/>
        <ImageCastWeight>0</ImageCastWeight>
        <ImageZoomLevel>1</ImageZoomLevel>
        <ImageHeadcount>1</ImageHeadcount>
        <ImageType>Celebrity</ImageType>
        <ImageFormat>jpg</ImageFormat>
        <ImageHorizontalResolution>44</ImageHorizontalResolution>
        <ImageVerticalResolution>60</ImageVerticalResolution>
        <ImageMaintainAspectFlag xsi:nil="true"/>
        <ImageExpiryDateTime xsi:nil="true"/>
        <LastUpdate>2010-06-16T10:16:28.663Z</LastUpdate>
        <ImageFormatId>38</ImageFormatId>
        <Orientation>Portrait</Orientation>
        <AspectRatio>3:4</AspectRatio>
        <ParentImageId>16871797</ParentImageId>
     </Image>
     <IsCelebrity>true</IsCelebrity>
     <IsOrganization>false</IsOrganization>
  </ProgramCredit>

JSON Response Example

JSON responses are available from our REST TV Listings service.
{
  "DataAvailabilityFlags":"12",
  "ProgramHandle":{
     "Id":"5043606",
     "ProviderId":"2"
  },
  "CreditHandle":{
     "Id":"385689",
     "ProviderId":"2"
  },
  "CreditName":"Chuck Lorre",
  "PartName":"",
  "CreditType":"Creator",
  "Sequence":"9",
  "Image":{
     "ImageUrl":"http:\/\/actual-url-concealed.jpg",
     "ImageUseType":"",
     "ImageId":"1663191",
     "ImageTitle":"Chuck Lorre",
     "ImageCaption":"PASADENA, CA - JANUARY 09: Executive producer\/co-creator of 'Two and a Half Men' and 'The Big Bang Theory' Chuck Lorre speaks onstage at the CBS Comedy Showrunner Q&A portion of the 2010 Winter TCA Tour day 1 at the Langham Hotel on January 9, 2010 in Pasadena, California.",
     "ObjectId":"385689",
     "ObjectType":"Credit",
     "ObjectName":"Chuck Lorre;Writer; Executive Producer; Co-Executive Producer",
     "Relevancy":"true",
     "ImageCredit":"Frederick M. Brown\/Getty Images Entertainment\/Getty Images",
     "ImageCreditDisplay":"",
     "ImageCastWeight":"0",
     "ImageZoomLevel":"1",
     "ImageHeadcount":"1",
     "ImageType":"Celebrity",
     "ImageFormat":"jpg",
     "ImageHorizontalResolution":"44",
     "ImageVerticalResolution":"60",
     "ImageMaintainAspectFlag":"",
     "ImageExpiryDateTime":"",
     "LastUpdate":"2010-06-16T10:16:28.663Z",
     "ImageFormatId":"38",
     "Orientation":"Portrait",
     "AspectRatio":"3:4",
     "ParentImageId":"16871797"
  },
  "IsCelebrity":"true",
  "IsOrganization":"false"
}
 
Personal tools