get
https://sandbox-api.viantinc.com/{basePath}/fee/getCampaignFees
Returns the ids of fees assigned to the specified Campaign
Request
GET /fee/getCampaignFees?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> https://sandbox-api.viant.com/v1/fee/getCampaignFees?campaign_id=2367
Response
{
"messages": [],
"entity": [787,727]
}