POST api/quotation/calproductrate?custcode={custcode}&prod_grp={prod_grp}&calsortfee={calsortfee}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| custcode | string |
Required |
|
| prod_grp | string |
Required |
|
| calsortfee | integer |
Required |
Body Parameters
PriceListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Agreement_date | date |
None. |
|
| Agreement_no | integer |
None. |
|
| Catalog_code | string |
None. |
|
| Cartage_cost | decimal number |
None. |
|
| Date_from | date |
None. |
|
| Date_to | date |
None. |
|
| Discount_pct | decimal number |
None. |
|
| Discount_val | decimal number |
None. |
|
| Part_number | string |
None. |
|
| Old_agreement_date | date |
None. |
|
| Is_available | boolean |
None. |
|
| Price | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| Rec_selected | boolean |
None. |
|
| Route | string |
None. |
|
| Sequence_no | integer |
None. |
|
| Status | string |
None. |
|
| Store_code | string |
None. |
|
| Supplier_code | string |
None. |
|
| Supplier_name | string |
None. |
|
| Description | string |
None. |
|
| For_cur | string |
None. |
|
| Est_time | string |
None. |
|
| Uom_order | string |
None. |
|
| Supplier_store | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Address_1 | string |
None. |
|
| Address_2 | string |
None. |
|
| Postcode | string |
None. |
|
| Truck_type | string |
None. |
|
| Map_reference | string |
None. |
|
| Distance | decimal number |
None. |
|
| Distance_str | string |
None. |
|
| Product_profit | decimal number |
None. |
|
| Discount_percent | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| Total_cost | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Total_price | decimal number |
None. |
|
| ColorRow | boolean |
None. |
|
| ColorBoldCol | boolean |
None. |
|
| ColorFgprice | boolean |
None. |
|
| UpdateLonLat | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Agreement_date": "2025-11-24T05:49:34.7726383+11:00",
"Agreement_no": 2,
"Catalog_code": "sample string 3",
"Cartage_cost": 4.0,
"Date_from": "2025-11-24T05:49:34.7726383+11:00",
"Date_to": "2025-11-24T05:49:34.7726383+11:00",
"Discount_pct": 7.1,
"Discount_val": 8.1,
"Part_number": "sample string 9",
"Old_agreement_date": "2025-11-24T05:49:34.7726383+11:00",
"Is_available": true,
"Price": 12.1,
"Quantity": 13,
"Rec_selected": true,
"Route": "sample string 15",
"Sequence_no": 16,
"Status": "sample string 17",
"Store_code": "sample string 18",
"Supplier_code": "sample string 19",
"Supplier_name": "sample string 20",
"Description": "sample string 21",
"For_cur": "sample string 22",
"Est_time": "sample string 23",
"Uom_order": "sample string 24",
"Supplier_store": "sample string 25",
"City": "sample string 26",
"State": "sample string 27",
"Address_1": "sample string 28",
"Address_2": "sample string 29",
"Postcode": "sample string 30",
"Truck_type": "sample string 31",
"Map_reference": "sample string 32",
"Distance": 33.0,
"Distance_str": "sample string 34",
"Product_profit": 35.1,
"Discount_percent": 36.1,
"Total": 37.1,
"Total_cost": 38.1,
"Latitude": 39.0,
"Longitude": 40.0,
"Total_price": 41.1,
"ColorRow": true,
"ColorBoldCol": true,
"ColorFgprice": true,
"UpdateLonLat": true
}
text/xml
Sample:
<PriceListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model"> <Address_1>sample string 28</Address_1> <Address_2>sample string 29</Address_2> <Agreement_date>2025-11-24T05:49:34.7726383+11:00</Agreement_date> <Agreement_no>2</Agreement_no> <Cartage_cost>4</Cartage_cost> <Catalog_code>sample string 3</Catalog_code> <City>sample string 26</City> <ColorBoldCol>true</ColorBoldCol> <ColorFgprice>true</ColorFgprice> <ColorRow>true</ColorRow> <Date_from>2025-11-24T05:49:34.7726383+11:00</Date_from> <Date_to>2025-11-24T05:49:34.7726383+11:00</Date_to> <Description>sample string 21</Description> <Discount_pct>7.1</Discount_pct> <Discount_percent>36.1</Discount_percent> <Discount_val>8.1</Discount_val> <Distance>33</Distance> <Distance_str>sample string 34</Distance_str> <Est_time>sample string 23</Est_time> <For_cur>sample string 22</For_cur> <Is_available>true</Is_available> <Latitude>39</Latitude> <Longitude>40</Longitude> <Map_reference>sample string 32</Map_reference> <Old_agreement_date>2025-11-24T05:49:34.7726383+11:00</Old_agreement_date> <Part_number>sample string 9</Part_number> <Postcode>sample string 30</Postcode> <Price>12.1</Price> <Product_profit>35.1</Product_profit> <Quantity>13</Quantity> <Rec_selected>true</Rec_selected> <Route>sample string 15</Route> <Sequence_no>16</Sequence_no> <State>sample string 27</State> <Status>sample string 17</Status> <Store_code>sample string 18</Store_code> <Supplier_code>sample string 19</Supplier_code> <Supplier_name>sample string 20</Supplier_name> <Supplier_store>sample string 25</Supplier_store> <Total>37.1</Total> <Total_cost>38.1</Total_cost> <Total_price>41.1</Total_price> <Truck_type>sample string 31</Truck_type> <Uom_order>sample string 24</Uom_order> <UpdateLonLat>true</UpdateLonLat> </PriceListModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |