POST api/v1/CalculateComission
Request Information
URI Parameters
None.
Body Parameters
CalculateComissionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MarketPlaceId | integer |
None. |
|
| CoRate | decimal number |
None. |
|
| SellPrice | decimal number |
None. |
|
| BuyPrice | decimal number |
None. |
|
| CargoPrice | decimal number |
None. |
|
| KdvRate | decimal number |
None. |
|
| StdPzGdr | decimal number |
None. |
|
| DayofOpportunity | decimal number |
None. |
|
| WarehousePrice | decimal number |
None. |
|
| ListPrice | decimal number |
None. |
|
| aynigunkargo | boolean |
None. |
|
| IsMicroIhracat | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"MarketPlaceId": 1,
"CoRate": 2.1,
"SellPrice": 3.1,
"BuyPrice": 4.1,
"CargoPrice": 5.1,
"KdvRate": 6.1,
"StdPzGdr": 7.1,
"DayofOpportunity": 8.1,
"WarehousePrice": 9.1,
"ListPrice": 10.1,
"aynigunkargo": true,
"IsMicroIhracat": true
}
application/xml, text/xml
Sample:
<PriceCalculatorController.CalculateComissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SatisEntegrasyonWebApi.Controllers"> <BuyPrice>4.1</BuyPrice> <CargoPrice>5.1</CargoPrice> <CoRate>2.1</CoRate> <DayofOpportunity>8.1</DayofOpportunity> <IsMicroIhracat>true</IsMicroIhracat> <KdvRate>6.1</KdvRate> <ListPrice>10.1</ListPrice> <MarketPlaceId>1</MarketPlaceId> <SellPrice>3.1</SellPrice> <StdPzGdr>7.1</StdPzGdr> <WarehousePrice>9.1</WarehousePrice> <aynigunkargo>true</aynigunkargo> </PriceCalculatorController.CalculateComissionModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.