POST api/Suppliers/Stocklist
Method for retrieving supplier stocklist.
Request Information
URI Parameters
None.
Body Parameters
SupplierStocklistRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierCode |
Supplier code |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SupplierCode": "000233"
}
application/xml, text/xml
Sample:
<SupplierStocklistRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.namjestaj_intermod.hr.Models"> <SupplierCode>000233</SupplierCode> </SupplierStocklistRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SupplierStocklistResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode |
Product code in ERP |
string |
Required |
| Name |
Product name |
string |
Required |
| QuantityAvailable |
Real-time quantity available |
integer |
Required |
| PriceWholesale |
Product wholesale price |
decimal number |
Required |
| Additional |
Additional information |
string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"ProductCode": "000233011",
"Name": "KREVET NA KAT 200X90 NATUR (DRVOPRODUKT)",
"QuantityAvailable": 0,
"PriceWholesale": 1014.0,
"Additional": ""
},
{
"ProductCode": "000233002",
"Name": "KREVET LUX-AFRODITA 200X160 TREŠNJA (DRVOPRODUKT)",
"QuantityAvailable": 0,
"PriceWholesale": 1014.0,
"Additional": ""
}
]
application/xml, text/xml
Sample:
<ArrayOfSupplierStocklistResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.namjestaj_intermod.hr.Models">
<SupplierStocklistResponse>
<Additional></Additional>
<Name>KREVET NA KAT 200X90 NATUR (DRVOPRODUKT)</Name>
<PriceWholesale>1014</PriceWholesale>
<ProductCode>000233011</ProductCode>
<QuantityAvailable>0</QuantityAvailable>
</SupplierStocklistResponse>
<SupplierStocklistResponse>
<Additional></Additional>
<Name>KREVET LUX-AFRODITA 200X160 TREŠNJA (DRVOPRODUKT)</Name>
<PriceWholesale>1014</PriceWholesale>
<ProductCode>000233002</ProductCode>
<QuantityAvailable>0</QuantityAvailable>
</SupplierStocklistResponse>
</ArrayOfSupplierStocklistResponse>
