| Requires any of the roles: | Client, Admin, Partner |
| PUT | /campaign/actions/files | Set Campaign Action Files |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CampaignsId | body | long | Yes | |
| CampaignActionsId | body | long | No | |
| Files | body | List<CampaignActionFile> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| FileType | form | string | No | |
| FileSize | form | string | No | |
| Extension | form | string | No | |
| UploadUrl | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /campaign/actions/files HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CampaignsId: 0,
CampaignActionsId: 0,
Files:
[
{
Name: String,
FileType: String,
FileSize: String,
Extension: String,
UploadUrl: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False