POST api/Campaigns/SaveCampaignSectors
Saves areas against a campaign.
Request Information
URI Parameters
None.
Body Parameters
The model specifying areas to save against a campaign.
AreaWithSectorsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CampaignId | globally unique identifier |
None. |
|
| SelectedSectorName | string |
None. |
|
| SelectedSectors | string |
None. |
|
| Volume | integer |
None. |
|
| SelectedLifeStages | string |
None. |
|
| FamilyTypes | string |
None. |
|
| IncomeBrackets | string |
None. |
|
| SelectedRadius | decimal number |
None. |
|
| SearchKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CampaignId": "1dfab9ca-6a26-4226-9463-384515f0427f",
"SelectedSectorName": "sample string 2",
"SelectedSectors": "sample string 3",
"Volume": 4,
"SelectedLifeStages": "sample string 5",
"FamilyTypes": "sample string 6",
"IncomeBrackets": "sample string 7",
"SelectedRadius": 8.0,
"SearchKey": "sample string 9"
}
application/xml, text/xml
Sample:
<AreaWithSectorsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Target.Models"> <CampaignId>1dfab9ca-6a26-4226-9463-384515f0427f</CampaignId> <FamilyTypes>sample string 6</FamilyTypes> <IncomeBrackets>sample string 7</IncomeBrackets> <SearchKey>sample string 9</SearchKey> <SelectedLifeStages>sample string 5</SelectedLifeStages> <SelectedRadius>8</SelectedRadius> <SelectedSectorName>sample string 2</SelectedSectorName> <SelectedSectors>sample string 3</SelectedSectors> <Volume>4</Volume> </AreaWithSectorsDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.