client.media.patch_ratecards

A method of the Media endpoint.

patch_ratecards(id: int, *, filename: str = None, start_on: str = None, end_on: str = None, dma_number: int = None) Response

Update some attributes of this Ratecard

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

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

The ratecard ID.

filenamestr, optional

Name of the ratecard file.

start_onstr (date), optional

First day to which the ratecard applies.

end_onstr (date), optional

Last day to which the ratecard applies.

dma_numberint, optional

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).