GraphQL Query Example
Using the Postman GraphQL request, paste the following in the "Query" section:
query GetOnDemandOneHour(
$programDuration: RuntimeSecondsFilterInput, $programFormats: [PLIProgramFormat]
) {
items(
programRuntimeSeconds: $programDuration,
programFormats: $programFormats
) {
title
seriesCode
url
}
}
And this in the "Variables" section:
{ "programDuration": { "max": 3600 }, "programFormats": ["ON_DEMAND_PROGRAM"] }

Troubleshooting
401 Unauthorized: verify
Ocp-Apim-Subscription-Keyheader value and ensure your subscription is active.Empty results: remove filters incrementally to confirm which filter is too restrictive.
GraphQL validation errors: use Postman introspection to verify field names, input types, and enum values.
GraphQL introspection errors: please double-check the URL and subscription key to ensure you have the correct values.