POST Campaigns
Create new campaign
Returns
HTTP 201 (with created entity), 400 (with validation errors)
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
campaign | Campaign object |
Define this parameter in the request body. |
Request body formats
application/json, text/json, text/html
Sample:
{ "ID": 1, "Name": "Human-readable name" }
application/xml, text/xml
Sample:
<ApiCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CallTracker.Api.Models"> <ID>1</ID> <Name>Human-readable name</Name> </ApiCampaign>