POST api/Products/QuantityAvailableAll
Method for checking real-time product availibility in ERP. Method takes no required parameters and checks all products with webshop flag set. Currently available once a minute.
Request Information
URI Parameters
None.
Body Parameters
ProductQuantityAllRequestNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<ProductQuantityAllRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.namjestaj_intermod.hr.Models" />
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductQuantityAllResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode |
Product code in ERP |
string |
Required |
| ProductID |
Product ID in ERP |
integer |
Required |
| QuantityAvailable |
Real-time quantity available |
integer |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"ProductCode": "000669R8170023001",
"ProductID": 64223,
"QuantityAvailable": 0
},
{
"ProductCode": "000669R8170023004",
"ProductID": 64226,
"QuantityAvailable": 15
}
]
application/xml, text/xml
Sample:
<ArrayOfProductQuantityAllResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.namjestaj_intermod.hr.Models">
<ProductQuantityAllResponse>
<ProductCode>000669R8170023001</ProductCode>
<ProductID>64223</ProductID>
<QuantityAvailable>0</QuantityAvailable>
</ProductQuantityAllResponse>
<ProductQuantityAllResponse>
<ProductCode>000669R8170023004</ProductCode>
<ProductID>64226</ProductID>
<QuantityAvailable>15</QuantityAvailable>
</ProductQuantityAllResponse>
</ArrayOfProductQuantityAllResponse>
