POST api/campaigns/clone

Clones a campaign.

Request Information

URI Parameters

None.

Body Parameters

The model to clone with.

CloneTemplateCampaignDto
NameDescriptionTypeAdditional information
CurrentTemplateCampaignId

globally unique identifier

None.

NewTemplateCampaignId

globally unique identifier

None.

NewOrderId

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "CurrentTemplateCampaignId": "75c6d27c-76df-440c-993d-f54fee5d377a",
  "NewTemplateCampaignId": "75c1ac72-8f33-45d7-aff5-88a30d00095f",
  "NewOrderId": "1cbbbe9e-e22f-46e5-b064-a1e20e0ccc81"
}

application/xml, text/xml

Sample:
<CloneTemplateCampaignDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
  <CurrentTemplateCampaignId>75c6d27c-76df-440c-993d-f54fee5d377a</CurrentTemplateCampaignId>
  <NewOrderId>1cbbbe9e-e22f-46e5-b064-a1e20e0ccc81</NewOrderId>
  <NewTemplateCampaignId>75c1ac72-8f33-45d7-aff5-88a30d00095f</NewTemplateCampaignId>
</CloneTemplateCampaignDto>

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 'CloneTemplateCampaignDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.