PUT Campaigns/{id}

Update existing campaign

Returns

HTTP 200, 404, 400 (with validation errors)

Request Information

Parameters

NameDescriptionAdditional information
id
ID of campaign

Define this parameter in the request URI.

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>