GET api/InventoryList?DB={DB}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DB

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StockListGen
NameDescriptionTypeAdditional information
StockListID

integer

None.

Code

string

None.

Description

string

None.

Stock_Group

string

None.

Price

decimal number

None.

Service

boolean

None.

TaxRef

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StockListID": 1,
    "Code": "sample string 2",
    "Description": "sample string 3",
    "Stock_Group": "sample string 4",
    "Price": 5.0,
    "Service": true,
    "TaxRef": "sample string 7"
  },
  {
    "StockListID": 1,
    "Code": "sample string 2",
    "Description": "sample string 3",
    "Stock_Group": "sample string 4",
    "Price": 5.0,
    "Service": true,
    "TaxRef": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockListGen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
  <StockListGen>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Price>5</Price>
    <Service>true</Service>
    <StockListID>1</StockListID>
    <Stock_Group>sample string 4</Stock_Group>
    <TaxRef>sample string 7</TaxRef>
  </StockListGen>
  <StockListGen>
    <Code>sample string 2</Code>
    <Description>sample string 3</Description>
    <Price>5</Price>
    <Service>true</Service>
    <StockListID>1</StockListID>
    <Stock_Group>sample string 4</Stock_Group>
    <TaxRef>sample string 7</TaxRef>
  </StockListGen>
</ArrayOfStockListGen>