POST services/api/v1/Get_HistoryForBackOfficeSales

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

BackofficeSalesHistory_Master
NameDescriptionTypeAdditional information
Id

integer

None.

Barcode

string

None.

ItemName

string

None.

ItemId

integer

None.

Unit

string

None.

Contain

decimal number

None.

TaxRate

decimal number

None.

Tax

decimal number

None.

Total

decimal number

None.

StkQty

decimal number

None.

CostPrice

decimal number

None.

SellingPrice

decimal number

None.

HistoryList

Collection of BackofficeSalesHistory_Detail

None.

UserDetails

BackofficeSalesHistory_UserDetail

None.

LocationStockList

Collection of BOStockHistory_Master

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Barcode": "sample string 2",
  "ItemName": "sample string 3",
  "ItemId": 4,
  "Unit": "sample string 5",
  "Contain": 6.0,
  "TaxRate": 7.0,
  "Tax": 8.0,
  "Total": 9.0,
  "StkQty": 10.0,
  "CostPrice": 11.0,
  "SellingPrice": 12.0,
  "HistoryList": [
    {
      "InvNo": "sample string 1",
      "InvDate": "2026-09-09T15:18:10.6074244+04:00",
      "Customer": "sample string 3",
      "Qty": 4.0,
      "Rate": 5.0,
      "Total": 6.0,
      "SalesMan": "sample string 7"
    },
    {
      "InvNo": "sample string 1",
      "InvDate": "2026-09-09T15:18:10.6074244+04:00",
      "Customer": "sample string 3",
      "Qty": 4.0,
      "Rate": 5.0,
      "Total": 6.0,
      "SalesMan": "sample string 7"
    }
  ],
  "UserDetails": {
    "CreatedUser": "sample string 1",
    "CreatedDate": "2026-09-09T15:18:10.6074244+04:00",
    "ModifiedUser": "sample string 3",
    "ModifiedDate": "2026-09-09T15:18:10.6074244+04:00"
  },
  "LocationStockList": [
    {
      "Location": "sample string 1",
      "Qty": 2.0
    },
    {
      "Location": "sample string 1",
      "Qty": 2.0
    }
  ]
}