POST api/Campaigns/Distribute?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

CampaignDistributeBindingModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

EmployeeId

integer

None.

StatusId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "dc737e6e-0470-4dfc-9154-d54bbe6ce62e",
  "employeeId": 2,
  "statusId": "1172f644-433f-4dcc-97d5-f67de1220199"
}

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>dc737e6e-0470-4dfc-9154-d54bbe6ce62e</Id>
  <StatusId>1172f644-433f-4dcc-97d5-f67de1220199</StatusId>
</CampaignDistributeBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.