POST api/Products/PricelistAvailableAll

Method for checking real-time product pricelist in ERP. Method takes no required parameters. Currently available once a minute.

Request Information

URI Parameters

None.

Body Parameters

ProductPricelistAllRequest

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<ProductPricelistAllRequest 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 ProductPricelistAllResponse
NameDescriptionTypeAdditional information
ProductCode

Product code in ERP

string

Required

ProductID

Product ID in ERP

integer

Required

PriceWholesale

Product wholesale price

decimal number

Required

PriceRetail

Product retail price

decimal number

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductCode": "000669R8170023001",
    "ProductID": 64223,
    "PriceWholesale": 130.0,
    "PriceRetail": 270.0
  },
  {
    "ProductCode": "000669R8170023004",
    "ProductID": 64226,
    "PriceWholesale": 130.0,
    "PriceRetail": 270.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductPricelistAllResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.namjestaj_intermod.hr.Models">
  <ProductPricelistAllResponse>
    <PriceRetail>270</PriceRetail>
    <PriceWholesale>130</PriceWholesale>
    <ProductCode>000669R8170023001</ProductCode>
    <ProductID>64223</ProductID>
  </ProductPricelistAllResponse>
  <ProductPricelistAllResponse>
    <PriceRetail>270</PriceRetail>
    <PriceWholesale>130</PriceWholesale>
    <ProductCode>000669R8170023004</ProductCode>
    <ProductID>64226</ProductID>
  </ProductPricelistAllResponse>
</ArrayOfProductPricelistAllResponse>