POST api/WFM/AddCampaignDocument
Request Information
URI Parameters
None.
Body Parameters
CampaignDocumentRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CampaignId | string |
None. |
|
| FileName | string |
None. |
|
| FileType | string |
None. |
|
| FilePath | string |
None. |
|
| TargetFilePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CampaignId": "sample string 1",
"FileName": "sample string 2",
"FileType": "sample string 3",
"FilePath": "sample string 4",
"TargetFilePath": "sample string 5"
}
application/xml, text/xml
Sample:
<WFMController.CampaignDocumentRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WFM_WebAPI.Controllers"> <CampaignId>sample string 1</CampaignId> <FileName>sample string 2</FileName> <FilePath>sample string 4</FilePath> <FileType>sample string 3</FileType> <TargetFilePath>sample string 5</TargetFilePath> </WFMController.CampaignDocumentRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericApiResponseOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| ErrorDesc | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"ErrorDesc": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<GenericApiResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WFM_WebAPI.dto.response"> <Data /> <ErrorDesc>sample string 2</ErrorDesc> <Status>1</Status> </GenericApiResponseOfanyType>