List all ratecards
media_list_ratecards(archived = NULL, filename = NULL, dma_number = NULL)
archived | string optional. The archival status of the requested item(s). |
---|---|
filename | string optional. If specified, will be used to filter the ratecards returned. Substring matching is supported with "%" and "*" wildcards (e.g., "filename=%ratecard%" will return both "ratecard 1" and "my ratecard"). |
dma_number | integer optional. If specified, will be used to filter the ratecards by DMA. |
An array containing the following fields:
integer, The ratecard ID.
string, Name of the ratecard file.
string, First day to which the ratecard applies.
string, Last day to which the ratecard applies.
integer, Number of the DMA associated with the ratecard.
string, The archival status of the requested item(s).