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": "e5c30c1c-df24-4f8d-af03-8ac0fa2fb3f1",
"employeeId": 2,
"statusId": "fa2785fc-92f8-4005-a79f-7fc4b4ebb62a"
}
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>e5c30c1c-df24-4f8d-af03-8ac0fa2fb3f1</Id> <StatusId>fa2785fc-92f8-4005-a79f-7fc4b4ebb62a</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.