POST services/api/v1/Get_VarianceReportData
Request Information
URI Parameters
None.
Body Parameters
stkdate_locationId_stkdetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Stkdate | date |
None. |
|
| LocationId | integer |
None. |
|
| stkdetails | Collection of Stockadjustment_Details |
None. |
Request Formats
application/json, text/json
Sample:
{
"Stkdate": "2026-09-09T15:05:04.9377319+04:00",
"LocationId": 2,
"stkdetails": [
{
"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:05:04.9377319+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:05:04.9377319+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:05:04.9377319+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:05:04.9377319+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:05:04.9377319+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:05:04.9377319+04:00",
"BatchNo": "sample string 9",
"MasterId": 10
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Stock_VarianceReport| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| barcode | string |
None. |
|
| name | string |
None. |
|
| deptid | integer |
None. |
|
| systemqty | decimal number |
None. |
|
| aqty | decimal number |
None. |
|
| WACost | decimal number |
None. |
|
| sysamt | decimal number |
None. |
|
| aqtyAmt | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"barcode": "sample string 2",
"name": "sample string 3",
"deptid": 4,
"systemqty": 5.0,
"aqty": 6.0,
"WACost": 7.0,
"sysamt": 8.0,
"aqtyAmt": 9.0
},
{
"id": 1,
"barcode": "sample string 2",
"name": "sample string 3",
"deptid": 4,
"systemqty": 5.0,
"aqty": 6.0,
"WACost": 7.0,
"sysamt": 8.0,
"aqtyAmt": 9.0
}
]