client.media.put_ratecards

A method of the Media endpoint.

put_ratecards(id: int, filename: str, start_on: str, end_on: str, dma_number: int) Response

Replace all attributes of this Ratecard

API URL: PUT /media/ratecards/{id}

import civis
client = civis.APIClient()
response = client.media.put_ratecards(...)
Parameters:
idint

The ratecard ID.

filenamestr

Name of the ratecard file.

start_onstr (date)

First day to which the ratecard applies.

end_onstr (date)

Last day to which the ratecard applies.

dma_numberint

Number of the DMA associated with the ratecard.

Returns:
civis.Response
  • idint

    The ratecard ID.

  • filenamestr

    Name of the ratecard file.

  • start_onstr (date)

    First day to which the ratecard applies.

  • end_onstr (date)

    Last day to which the ratecard applies.

  • dma_numberint

    Number of the DMA associated with the ratecard.

  • archivedbool

    The archival status of the requested item(s).