POST api/Order/GetPriceDisc1Change?AppCode={AppCode}&PlanCode={PlanCode}&ModCode={ModCode}&PartnerId={PartnerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AppCode | string |
Required |
|
PlanCode | string |
Required |
|
ModCode | string |
Required |
|
PartnerId | string |
Required |
Body Parameters
OrderModelName | Description | Type | Additional information |
---|---|---|---|
AppCode | string |
None. |
|
ModCode | string |
None. |
|
PlanCode | string |
None. |
|
PartnerId | string |
None. |
|
CurrCode | string |
None. |
|
Disc1Amt | decimal number |
None. |
|
Disc1UDF | string |
None. |
|
Disc2Amt | decimal number |
None. |
|
Disc2UDF | string |
None. |
|
Quantity | integer |
None. |
|
SellPrcChange | boolean |
None. |
|
SellingPrc | decimal number |
None. |
|
TaxAmt | decimal number |
None. |
|
TaxRate | decimal number |
None. |
|
Total | decimal number |
None. |
|
ifDisc1AmtChange | boolean |
None. |
|
ifQtyChange | boolean |
None. |
|
ifDisc1UDFChange | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppCode": "sample string 1", "ModCode": "sample string 2", "PlanCode": "sample string 3", "PartnerId": "sample string 4", "CurrCode": "sample string 5", "Disc1Amt": 6.0, "Disc1UDF": "sample string 7", "Disc2Amt": 8.0, "Disc2UDF": "sample string 9", "Quantity": 10, "SellPrcChange": true, "SellingPrc": 12.0, "TaxAmt": 13.0, "TaxRate": 14.0, "Total": 15.0, "ifDisc1AmtChange": true, "ifQtyChange": true, "ifDisc1UDFChange": true }
application/xml, text/xml
Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zeoniq.Portal.Bll.Common.Models"> <AppCode>sample string 1</AppCode> <CurrCode>sample string 5</CurrCode> <Disc1Amt>6</Disc1Amt> <Disc1UDF>sample string 7</Disc1UDF> <Disc2Amt>8</Disc2Amt> <Disc2UDF>sample string 9</Disc2UDF> <ModCode>sample string 2</ModCode> <PartnerId>sample string 4</PartnerId> <PlanCode>sample string 3</PlanCode> <Quantity>10</Quantity> <SellPrcChange>true</SellPrcChange> <SellingPrc>12</SellingPrc> <TaxAmt>13</TaxAmt> <TaxRate>14</TaxRate> <Total>15</Total> <ifDisc1AmtChange>true</ifDisc1AmtChange> <ifDisc1UDFChange>true</ifDisc1UDFChange> <ifQtyChange>true</ifQtyChange> </OrderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DiscountModelName | Description | Type | Additional information |
---|---|---|---|
AppDiscAmt | decimal number |
None. |
|
AppDiscUDF | string |
None. |
|
PartnerDiscAmt | decimal number |
None. |
|
PartnerDiscUDF | string |
None. |
|
TotalAfterDisc | decimal number |
None. |
|
TaxRate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "AppDiscAmt": 1.0, "AppDiscUDF": "sample string 2", "PartnerDiscAmt": 3.0, "PartnerDiscUDF": "sample string 4", "TotalAfterDisc": 5.0, "TaxRate": 6.0 }
application/xml, text/xml
Sample:
<DiscountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zeoniq.Portal.Bll.Common.Models"> <AppDiscAmt>1</AppDiscAmt> <AppDiscUDF>sample string 2</AppDiscUDF> <PartnerDiscAmt>3</PartnerDiscAmt> <PartnerDiscUDF>sample string 4</PartnerDiscUDF> <TaxRate>6</TaxRate> <TotalAfterDisc>5</TotalAfterDisc> </DiscountModel>