POST api/ic/listed

Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ProductLite
NameDescriptionTypeAdditional information
ProductCode

string

None.

Description

string

None.

AlternateCode

string

None.

Barcode

string

None.

Barcodes

Collection of ProductBarcode

None.

StockGroupCode

string

None.

SalesGroupCode

string

None.

CreditorCode

string

None.

QuantityOnHand

decimal number

None.

NonDiminishing

boolean

None.

Category2Code

string

None.

Unit

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductCode": "sample string 1",
    "Description": "sample string 2",
    "AlternateCode": "sample string 3",
    "Barcode": "sample string 4",
    "Barcodes": [
      {
        "Barcode": "sample string 1"
      },
      {
        "Barcode": "sample string 1"
      }
    ],
    "StockGroupCode": "sample string 5",
    "SalesGroupCode": "sample string 6",
    "CreditorCode": "sample string 7",
    "QuantityOnHand": 8.0,
    "NonDiminishing": true,
    "Category2Code": "sample string 10",
    "Unit": "sample string 11"
  },
  {
    "ProductCode": "sample string 1",
    "Description": "sample string 2",
    "AlternateCode": "sample string 3",
    "Barcode": "sample string 4",
    "Barcodes": [
      {
        "Barcode": "sample string 1"
      },
      {
        "Barcode": "sample string 1"
      }
    ],
    "StockGroupCode": "sample string 5",
    "SalesGroupCode": "sample string 6",
    "CreditorCode": "sample string 7",
    "QuantityOnHand": 8.0,
    "NonDiminishing": true,
    "Category2Code": "sample string 10",
    "Unit": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC">
  <ProductLite>
    <AlternateCode>sample string 3</AlternateCode>
    <Barcode>sample string 4</Barcode>
    <Barcodes>
      <ProductBarcode>
        <Barcode>sample string 1</Barcode>
      </ProductBarcode>
      <ProductBarcode>
        <Barcode>sample string 1</Barcode>
      </ProductBarcode>
    </Barcodes>
    <Category2Code>sample string 10</Category2Code>
    <CreditorCode>sample string 7</CreditorCode>
    <Description>sample string 2</Description>
    <NonDiminishing>true</NonDiminishing>
    <ProductCode>sample string 1</ProductCode>
    <QuantityOnHand>8</QuantityOnHand>
    <SalesGroupCode>sample string 6</SalesGroupCode>
    <StockGroupCode>sample string 5</StockGroupCode>
    <Unit>sample string 11</Unit>
  </ProductLite>
  <ProductLite>
    <AlternateCode>sample string 3</AlternateCode>
    <Barcode>sample string 4</Barcode>
    <Barcodes>
      <ProductBarcode>
        <Barcode>sample string 1</Barcode>
      </ProductBarcode>
      <ProductBarcode>
        <Barcode>sample string 1</Barcode>
      </ProductBarcode>
    </Barcodes>
    <Category2Code>sample string 10</Category2Code>
    <CreditorCode>sample string 7</CreditorCode>
    <Description>sample string 2</Description>
    <NonDiminishing>true</NonDiminishing>
    <ProductCode>sample string 1</ProductCode>
    <QuantityOnHand>8</QuantityOnHand>
    <SalesGroupCode>sample string 6</SalesGroupCode>
    <StockGroupCode>sample string 5</StockGroupCode>
    <Unit>sample string 11</Unit>
  </ProductLite>
</ArrayOfProductLite>