action prss_get_api_v2_spotinsertions { label: "Returns the spot insertions matching the query parameters." provider: prss method: GET path: "/api/v2/spotinsertions" encoding: json input: { type: "object" properties: { orderById: { type: "string" enum: ["asc", "desc"] } pageSize: { type: "integer" format: "int32" } pageStart: { type: "integer" format: "int32" } } additionalProperties: false } output: { type: "array" items: { type: "object" description: "A spot insertion for playing a series of spots when a cue is received during a program." required: ["programId", "broadcastServiceId", "cue", "duration", "spots", "startDate", "endDate"] properties: { broadcastServiceId: { type: "integer" format: "int64" description: "The ID of the broadcast service for the spot insertion." } createdDate: { type: "string" format: "date-time" description: "The date and time the spot insertion was created. Generated at creation." } cue: { type: "string" description: "The cue that triggers the spot insertion." } customerId: { type: "integer" format: "int64" description: "The ID of the customer who owns the spot insertion. Set to the logged-in customer at creation." } duration: { type: "integer" format: "int32" description: "The duration of the spot insertion." } endDate: { type: "string" format: "date" description: "The date the spot insertion ends. The time will be set to midnight Eastern Time." } id: { type: "integer" format: "int64" description: "The unique ID of the spot insertion. Generated at creation." } programId: { type: "integer" format: "int64" description: "The ID of the program for the spot insertion." } spots: { type: "array" description: "The ordered list of spot IDs to play." items: { type: "integer" format: "int64" } } startDate: { type: "string" format: "date" description: "The date the spot insertion can start. The time will be set to midnight Eastern Time." } } } } }