POST api/communication/campaign/{id}/copy

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CopyCampaignModel
NameDescriptionTypeAdditional information
Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1"
}

application/javascript

Sample:
{"Name":"sample string 1"}

application/xml, text/xml

Sample:
<CopyCampaignModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
</CopyCampaignModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CopyCampaignModel'.

Response Information

Resource Description

WebMethodResultOfCampaign
NameDescriptionTypeAdditional information
Result

Campaign

None.

Success

boolean

None.

ErrorText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": null,
  "Success": true,
  "ErrorText": "sample string 2"
}

application/javascript

Sample:
{"Result":null,"Success":true,"ErrorText":"sample string 2"}

application/xml, text/xml

Sample:
<WebMethodResultOfCampaign xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <ErrorText>sample string 2</ErrorText>
</WebMethodResultOfCampaign>