POST api/commission/CommissionAmt

Request Information

URI Parameters

None.

Body Parameters

DTOCommissionCalcValues
NameDescriptionTypeAdditional information
BasePrice

decimal number

None.

SellingPrice

decimal number

None.

JobType

string

None.

CallType

string

None.

MonthlyRecurring

decimal number

None.

ContractLength

integer

None.

IsPurchased

boolean

None.

IsBuilder

boolean

None.

PrevOwner

decimal number

None.

FreeMonths

decimal number

None.

RMRDiscounted

decimal number

None.

DiscountLessThanTwenty

boolean

None.

NinetyDays

boolean

None.

Loyalty

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BasePrice": 1.0,
  "SellingPrice": 2.0,
  "JobType": "sample string 3",
  "CallType": "sample string 4",
  "MonthlyRecurring": 5.0,
  "ContractLength": 6,
  "IsPurchased": true,
  "IsBuilder": true,
  "PrevOwner": 9.0,
  "FreeMonths": 10.0,
  "RMRDiscounted": 11.0,
  "DiscountLessThanTwenty": true,
  "NinetyDays": true,
  "Loyalty": true
}

application/xml, text/xml

Sample:
<DTOCommissionCalcValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eps_api.Models">
  <BasePrice>1</BasePrice>
  <CallType>sample string 4</CallType>
  <ContractLength>6</ContractLength>
  <DiscountLessThanTwenty>true</DiscountLessThanTwenty>
  <FreeMonths>10</FreeMonths>
  <IsBuilder>true</IsBuilder>
  <IsPurchased>true</IsPurchased>
  <JobType>sample string 3</JobType>
  <Loyalty>true</Loyalty>
  <MonthlyRecurring>5</MonthlyRecurring>
  <NinetyDays>true</NinetyDays>
  <PrevOwner>9</PrevOwner>
  <RMRDiscounted>11</RMRDiscounted>
  <SellingPrice>2</SellingPrice>
</DTOCommissionCalcValues>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>