GET api/ReportStockLocationBalances/{DB}/{StockLocName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DB

string

Required

StockLocName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StockLocData
NameDescriptionTypeAdditional information
StockName

string

None.

CostPrice

decimal number

None.

SellingPrice

decimal number

None.

Quantity

decimal number

None.

Value

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StockName": "sample string 1",
    "CostPrice": 2.0,
    "SellingPrice": 3.0,
    "Quantity": 4.1,
    "Value": 5.0
  },
  {
    "StockName": "sample string 1",
    "CostPrice": 2.0,
    "SellingPrice": 3.0,
    "Quantity": 4.1,
    "Value": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockLocData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
  <StockLocData>
    <CostPrice>2</CostPrice>
    <Quantity>4.1</Quantity>
    <SellingPrice>3</SellingPrice>
    <StockName>sample string 1</StockName>
    <Value>5</Value>
  </StockLocData>
  <StockLocData>
    <CostPrice>2</CostPrice>
    <Quantity>4.1</Quantity>
    <SellingPrice>3</SellingPrice>
    <StockName>sample string 1</StockName>
    <Value>5</Value>
  </StockLocData>
</ArrayOfStockLocData>