GET product/getall

Gets all products.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "ProductCode": "sample string 3",
    "Price": 4.0,
    "RRP": 1.0,
    "VatRate": 5.0,
    "AvailableStock": 1,
    "NewProductCode": "sample string 6",
    "MatrixCode": "sample string 7",
    "DateAdded": "2017-11-23T21:55:39.6706079+00:00",
    "CostPrice": 8.1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "ProductCode": "sample string 3",
    "Price": 4.0,
    "RRP": 1.0,
    "VatRate": 5.0,
    "AvailableStock": 1,
    "NewProductCode": "sample string 6",
    "MatrixCode": "sample string 7",
    "DateAdded": "2017-11-23T21:55:39.6706079+00:00",
    "CostPrice": 8.1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "ProductCode": "sample string 3",
    "Price": 4.0,
    "RRP": 1.0,
    "VatRate": 5.0,
    "AvailableStock": 1,
    "NewProductCode": "sample string 6",
    "MatrixCode": "sample string 7",
    "DateAdded": "2017-11-23T21:55:39.6706079+00:00",
    "CostPrice": 8.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <ProductModel>
    <AvailableStock>1</AvailableStock>
    <CostPrice>8.1</CostPrice>
    <DateAdded>2017-11-23T21:55:39.6706079+00:00</DateAdded>
    <Id>1</Id>
    <MatrixCode>sample string 7</MatrixCode>
    <Name>sample string 2</Name>
    <NewProductCode>sample string 6</NewProductCode>
    <Price>4</Price>
    <ProductCode>sample string 3</ProductCode>
    <RRP>1</RRP>
    <VatRate>5</VatRate>
  </ProductModel>
  <ProductModel>
    <AvailableStock>1</AvailableStock>
    <CostPrice>8.1</CostPrice>
    <DateAdded>2017-11-23T21:55:39.6706079+00:00</DateAdded>
    <Id>1</Id>
    <MatrixCode>sample string 7</MatrixCode>
    <Name>sample string 2</Name>
    <NewProductCode>sample string 6</NewProductCode>
    <Price>4</Price>
    <ProductCode>sample string 3</ProductCode>
    <RRP>1</RRP>
    <VatRate>5</VatRate>
  </ProductModel>
  <ProductModel>
    <AvailableStock>1</AvailableStock>
    <CostPrice>8.1</CostPrice>
    <DateAdded>2017-11-23T21:55:39.6706079+00:00</DateAdded>
    <Id>1</Id>
    <MatrixCode>sample string 7</MatrixCode>
    <Name>sample string 2</Name>
    <NewProductCode>sample string 6</NewProductCode>
    <Price>4</Price>
    <ProductCode>sample string 3</ProductCode>
    <RRP>1</RRP>
    <VatRate>5</VatRate>
  </ProductModel>
</ArrayOfProductModel>