post
https://sandbox-api.viantinc.com/{basePath}/fee/overwriteCampaignFees
Replaces the assigned fees for the specified Campaign with the supplied list of fee type ids.
Request
POST /fee/overwriteCampaignFees?campaign_id=[campaign_id]
Response
| JSON Fields | Type | Description |
|---|---|---|
| messages | Object Array | An array of any error messages. |
| messages[].level | String | Error level. |
| messages[].code | String | Error code. |
| messages[].message | String | Error message. |
| entity | Integer Array | An array of fee type ids |
Example
Request
curl -u <user>:<password> -X POST -H "Content-Type: application/json" -d '[777,657]' https://sandbox-api.viant.com/v1/fee/overwriteCampaignFees?campaign_id=2367Response
{
"messages": [],
"entity": [777,657]
}