POST services/api/v1/Get_StockHistoryForBOSales

Request Information

URI Parameters

None.

Body Parameters

BackofficeSalesHistory_Request
NameDescriptionTypeAdditional information
ItemId

integer

None.

Barcode

string

None.

LocationId

integer

None.

BranchId

integer

None.

SalesId

integer

None.

CustomerId

integer

None.

UserId

integer

None.

ShowMinNoOfSalesOnHistory

boolean

None.

ShowAll

boolean

None.

CompanyId

integer

None.

ShowStockListOnSalesHistory

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemId": 1,
  "Barcode": "sample string 2",
  "LocationId": 3,
  "BranchId": 4,
  "SalesId": 5,
  "CustomerId": 6,
  "UserId": 7,
  "ShowMinNoOfSalesOnHistory": true,
  "ShowAll": true,
  "CompanyId": 10,
  "ShowStockListOnSalesHistory": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of BOStockHistory_Master
NameDescriptionTypeAdditional information
Location

string

None.

Qty

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Location": "sample string 1",
    "Qty": 2.0
  },
  {
    "Location": "sample string 1",
    "Qty": 2.0
  }
]