POST services/api/v1/UpdateStockAdjustment

Request Information

URI Parameters

None.

Body Parameters

StockAdjustment_Master
NameDescriptionTypeAdditional information
ID

integer

None.

stockno

integer

None.

LocationID

integer

None.

BranchID

integer

None.

stockdate

date

None.

Naration

string

None.

ApprovedBy

integer

None.

ApprovedDate

date

None.

IsClosed

boolean

None.

UserId

integer

None.

Isonline

boolean

None.

StockAdjustmentDetails

Collection of Stockadjustment_Details

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "stockno": 2,
  "LocationID": 3,
  "BranchID": 4,
  "stockdate": "2026-09-09T15:21:19.1726133+04:00",
  "Naration": "sample string 6",
  "ApprovedBy": 7,
  "ApprovedDate": "2026-09-09T15:21:19.1726133+04:00",
  "IsClosed": true,
  "UserId": 10,
  "Isonline": true,
  "StockAdjustmentDetails": [
    {
      "ID": 1,
      "StockAdjestmentID": 2,
      "branchid": 3,
      "Barcode": "sample string 4",
      "systemqty": 5.0,
      "actualqty": 6.0,
      "costprice": 7.0,
      "batchno": "sample string 8",
      "expirydate": "2026-09-09T15:21:19.1726133+04:00",
      "ItemName": "sample string 10",
      "Unit": "sample string 11",
      "difference": 12.0,
      "total": 13.0,
      "IsExpiry": true,
      "StockExpiryDetails": [
        {
          "Id": 1,
          "Type": "sample string 2",
          "MasterBarcode": "sample string 3",
          "ActualBarcode": "sample string 4",
          "Qty": 5.0,
          "CostPrice": 6.0,
          "ItemId": 7,
          "ExpiryDate": "2026-09-09T15:21:19.1726133+04:00",
          "BatchNo": "sample string 9",
          "MasterId": 10
        },
        {
          "Id": 1,
          "Type": "sample string 2",
          "MasterBarcode": "sample string 3",
          "ActualBarcode": "sample string 4",
          "Qty": 5.0,
          "CostPrice": 6.0,
          "ItemId": 7,
          "ExpiryDate": "2026-09-09T15:21:19.1726133+04:00",
          "BatchNo": "sample string 9",
          "MasterId": 10
        }
      ]
    },
    {
      "ID": 1,
      "StockAdjestmentID": 2,
      "branchid": 3,
      "Barcode": "sample string 4",
      "systemqty": 5.0,
      "actualqty": 6.0,
      "costprice": 7.0,
      "batchno": "sample string 8",
      "expirydate": "2026-09-09T15:21:19.1726133+04:00",
      "ItemName": "sample string 10",
      "Unit": "sample string 11",
      "difference": 12.0,
      "total": 13.0,
      "IsExpiry": true,
      "StockExpiryDetails": [
        {
          "Id": 1,
          "Type": "sample string 2",
          "MasterBarcode": "sample string 3",
          "ActualBarcode": "sample string 4",
          "Qty": 5.0,
          "CostPrice": 6.0,
          "ItemId": 7,
          "ExpiryDate": "2026-09-09T15:21:19.1726133+04:00",
          "BatchNo": "sample string 9",
          "MasterId": 10
        },
        {
          "Id": 1,
          "Type": "sample string 2",
          "MasterBarcode": "sample string 3",
          "ActualBarcode": "sample string 4",
          "Qty": 5.0,
          "CostPrice": 6.0,
          "ItemId": 7,
          "ExpiryDate": "2026-09-09T15:21:19.1726133+04:00",
          "BatchNo": "sample string 9",
          "MasterId": 10
        }
      ]
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.