POST api/campaigns/render/{id}/{key}
Renders a campaign against a key using the given xml.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the campaign to render. |
globally unique identifier |
Required |
| key |
The key to render the campaign against. |
string |
Required |
Body Parameters
The xml of the campaign to render.
TemplateCampaignXmlDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CampaignPreviewXmlDocument | XDocument |
None. |
|
| CampaignProofXmlDocument | XDocument |
None. |
Request Formats
application/json, text/json
Sample:
{
"CampaignPreviewXmlDocument": {},
"CampaignProofXmlDocument": {}
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.