POST api/PAAI/CheckDeliveryFeeViaPAAI
Documentation for 'CheckDeliveryFeeViaPAAI'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| modelPAAI | Documentation for 'modelPAAI'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ListProduct": [
{
"$id": "2",
"PLU": "sample string 1",
"Qty": 2,
"Note": "sample string 3",
"Subtotal": 4.0
},
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"ZipCode": "sample string 1"
}
application/xml, text/xml
Sample:
<ReqDeliveryModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ListProduct>
<ProductPAAI>
<PLU>sample string 1</PLU>
<Qty>2</Qty>
<Note>sample string 3</Note>
<Subtotal>4</Subtotal>
</ProductPAAI>
<ProductPAAI>
<PLU>sample string 1</PLU>
<Qty>2</Qty>
<Note>sample string 3</Note>
<Subtotal>4</Subtotal>
</ProductPAAI>
<ProductPAAI>
<PLU>sample string 1</PLU>
<Qty>2</Qty>
<Note>sample string 3</Note>
<Subtotal>4</Subtotal>
</ProductPAAI>
</ListProduct>
<ZipCode>sample string 1</ZipCode>
</ReqDeliveryModel>
Response Information
Response body formats
application/json, text/json
Sample:
{
"DeliveryFee": "sample string 1",
"IsSuccess": true,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<ResDeliveryModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DeliveryFee>sample string 1</DeliveryFee> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> </ResDeliveryModel>