POST api/Campaigns/Distribute?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
CampaignDistributeBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| EmployeeId | integer |
None. |
|
| StatusId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "39491b42-3adf-411f-b6ed-ab2b21406035",
"employeeId": 2,
"statusId": "bbcdbc1d-4357-4736-9118-1875426d6f83"
}
application/xml, text/xml
Sample:
<CampaignDistributeBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Campaign"> <EmployeeId>2</EmployeeId> <Id>39491b42-3adf-411f-b6ed-ab2b21406035</Id> <StatusId>bbcdbc1d-4357-4736-9118-1875426d6f83</StatusId> </CampaignDistributeBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.