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": "212bf62c-0fae-4b2c-8e73-175712086075",
"employeeId": 2,
"statusId": "19ba007b-95e5-4054-97cb-1d3702a8099f"
}
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>212bf62c-0fae-4b2c-8e73-175712086075</Id> <StatusId>19ba007b-95e5-4054-97cb-1d3702a8099f</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.