This section describes the general process of getting information about existing assets.
Get ID Mapping Information
To get additional information about the ID mapping of a presentation, look for the mappingInfo object in the response. This object includes:
- The ID associated with this program
- The type of ID (tmsID)
- The origin (assigner) of the ID. Origin will be "gracenote" when assigned by GN IDS. If you assign an ID, origin will be the sourceProvided.
For additional information, see the Data Dictionary and Controlled Vocabulary.
Request
Code
Example Response (Partial)
In the response, MappingInfo contains information about how the tmsID was assigned for the presentation.
- id: Contains the tmsID that the presentation is mapped to. This can be either user-provided ID or a gracenote-mapped ID.
- origin: Possible values are sourceProvided and gracenote. If the ID you provided is used, the origin is sourceProvided. If a gracenote-provided ID is used, or if gracenote replaces the ID you provided, gracenote is used.
- type: Describes the type of ID that was used for self-mapping. Currently, this is tmsID only.
Code
Filter programSummaries Based on IDs
Program summaries are paginated collections of summaries for programs in a source's catalog. You can filter programSummaries based on tmsIDs and ExternalIDs. For example, to return only results that include MyID within the presentation's externalIDs
Code
To return only programs that have been mapped to the tmsID MV000000000001.
Code
Get Batch Status
To see the status of all batches, use the batches endpoint.
Example
Code
Use the batch GnID to check the status of a specific batch.
Example
Code
Get Publishing Status
GN IDS provides a status for each registered program to indicate its state in the publishing process (see the table below). Registered data remains private until it is published.
| Status | Description |
|---|---|
| Registered | This is the default state after successful registration. You can add the program to other Catalogs you create for data delivery to select Gracenote licensees. |
| Publish Requested | The program is queued for publishing. This is the default state after a valid Publish request has been accepted. |
| Publishing | The system is now acting upon the program successfully submitted for publishing. |
| Publish Exception | We were not able to publish or associate the program. Details are provided. |
| Published | The program is successfully published and mapped and is available in the Gracenote dataset. |
To get the status of all published programs, use the GET api/v1/publications method.
Request
Code
Response
Code