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": "96e77ed2-d730-486f-a74e-3696b7553fc7",
"employeeId": 2,
"statusId": "b82e5902-e725-40d6-b222-45b88b788eaa"
}
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>96e77ed2-d730-486f-a74e-3696b7553fc7</Id> <StatusId>b82e5902-e725-40d6-b222-45b88b788eaa</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.