Skip to navigation

Export what a channel plays as CSV

This endpoint returns the same timeline as the get what a channel plays endpoint, as a CSV file you can open in a spreadsheet or hand to a scheduling team.

How it works

  1. Make a GET request to this endpoint with the channel’s type and the period you want, using startTime and endTime. Both are required.

  2. The response is a CSV file, sent as an attachment with a generated filename.

  3. Each row is one thing the channel plays, in play order, with its media id, duration in seconds, start time, end time and type. For a loop channel there is also a program id column.

A single export can cover at most 10 days. A longer period is trimmed to the first 10 days rather than refused.

Example

A scheduling team exports next week’s running order for a channel and reviews it in a spreadsheet before the week starts.

Authentication

AuthorizationBasic

FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.

  • Username: Access Token ID
  • Password: Secret Key

Activate your FastPix account to generate your API credentials. See the guide here

Path parameters

channelIdstringRequiredformat: "uuid"
The unique identifier of the channel whose timeline is exported.

Query parameters

typeenumRequired
The type of the channel. It must match the channel's own type.
Allowed values:
startTimestringRequired

The start of the period to export, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC.

endTimestringRequired

The end of the period to export, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC. It must be later than startTime.

Response

Channel timeline exported successfully