POST api/Campaigns/DistributeSubscribe?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": "d1996328-ec28-482c-8122-91de99e61831",
"employeeId": 2,
"statusId": "ce4b246d-3a9f-41b5-942b-7edad11bffd7"
}
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>d1996328-ec28-482c-8122-91de99e61831</Id> <StatusId>ce4b246d-3a9f-41b5-942b-7edad11bffd7</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.