POST api/ChannelPartnerCompany/Commission/Preview

Request Information

URI Parameters

None.

Body Parameters

CommissionPreviewVm
NameDescriptionTypeAdditional information
ChannelPartnerCompanyId

integer

None.

ProjectId

integer

None.

AgreementAmount

decimal number

None.

PeriodKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChannelPartnerCompanyId": 1,
  "ProjectId": 2,
  "AgreementAmount": 3.1,
  "PeriodKey": "sample string 4"
}

application/xml, text/xml

Sample:
<CommissionPreviewVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.ChannelPartnerModels">
  <AgreementAmount>3.1</AgreementAmount>
  <ChannelPartnerCompanyId>1</ChannelPartnerCompanyId>
  <PeriodKey>sample string 4</PeriodKey>
  <ProjectId>2</ProjectId>
</CommissionPreviewVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommissionPreviewVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.