POST api/PAAI/CheckStockViaPAAI
Documentation for 'CheckStockViaPAAI'.
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:
{
"ListPLU": [
"sample string 1",
"sample string 2",
"sample string 3"
]
}
application/xml, text/xml
Sample:
<ReqStockModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ListPLU>
<string>sample string 1</string>
<string>sample string 2</string>
<string>sample string 3</string>
</ListPLU>
</ReqStockModel>
Response Information
Response body formats
application/json, text/json
Sample:
{
"ListPLUStock": [
{
"$id": "2",
"PLU": "sample string 1",
"Stock": 2
},
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"Message": "sample string 1",
"IsSuccess": true
}
application/xml, text/xml
Sample:
<ResStockModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ListPLUStock>
<PLUStock>
<PLU>sample string 1</PLU>
<Stock>2</Stock>
</PLUStock>
<PLUStock>
<PLU>sample string 1</PLU>
<Stock>2</Stock>
</PLUStock>
<PLUStock>
<PLU>sample string 1</PLU>
<Stock>2</Stock>
</PLUStock>
</ListPLUStock>
<Message>sample string 1</Message>
<IsSuccess>true</IsSuccess>
</ResStockModel>