GET api/StockAdjustment/GetStockAdjustmentByID?PartsStockAdjustmentID={PartsStockAdjustmentID}
Api to Get Stock Adjustment By Param
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PartsStockAdjustmentID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StockAdjustmentDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StockAdjustmentList | Collection of StockAdjustmentDetailDataModel |
None. |
|
| PartsStockAdjustmentID | integer |
None. |
|
| StockAdjustmentSerialNo | string |
None. |
|
| FacilityID | integer |
None. |
|
| FacilityName | string |
None. |
|
| SubFacilityID | integer |
None. |
|
| SubFacilityName | string |
None. |
|
| OperatorID | integer |
None. |
|
| OperatorName | string |
None. |
|
| AdjustedQuantity | decimal number |
None. |
|
| UnitID | integer |
None. |
|
| UnitCode | string |
None. |
|
| UnitName | string |
None. |
|
| StockAdjustmentNote | string |
None. |
|
| Location | string |
None. |
|
| AddedBy | integer |
None. |
|
| AddedByName | string |
None. |
|
| StockAdjustmentDate | date |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"stockAdjustmentList": [
{
"partsStockAdjustmentDetailID": 1,
"partsStockAdjustmentID": 2,
"unitID": 1,
"unitCode": "sample string 3",
"partID": 1,
"partName": "sample string 4",
"partsCode": "sample string 5",
"partsCostRate": 1.0,
"adjustedQuantity": 1.0,
"stockOnHand": 1.0,
"partsTotalAmount": 1.0
},
{
"partsStockAdjustmentDetailID": 1,
"partsStockAdjustmentID": 2,
"unitID": 1,
"unitCode": "sample string 3",
"partID": 1,
"partName": "sample string 4",
"partsCode": "sample string 5",
"partsCostRate": 1.0,
"adjustedQuantity": 1.0,
"stockOnHand": 1.0,
"partsTotalAmount": 1.0
}
],
"partsStockAdjustmentID": 1,
"stockAdjustmentSerialNo": "sample string 2",
"facilityID": 1,
"facilityName": "sample string 3",
"subFacilityID": 1,
"subFacilityName": "sample string 4",
"operatorID": 1,
"operatorName": "sample string 5",
"adjustedQuantity": 1.0,
"unitID": 1,
"unitCode": "sample string 6",
"unitName": "sample string 7",
"stockAdjustmentNote": "sample string 8",
"location": "sample string 9",
"addedBy": 10,
"addedByName": "sample string 11",
"stockAdjustmentDate": "2026-02-25T15:54:15.3324508-05:00"
}
application/xml, text/xml
Sample:
<StockAdjustmentDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.StockAdjustment">
<AddedBy>10</AddedBy>
<AddedByName>sample string 11</AddedByName>
<AdjustedQuantity>1</AdjustedQuantity>
<FacilityID>1</FacilityID>
<FacilityName>sample string 3</FacilityName>
<Location>sample string 9</Location>
<OperatorID>1</OperatorID>
<OperatorName>sample string 5</OperatorName>
<PartsStockAdjustmentID>1</PartsStockAdjustmentID>
<StockAdjustmentDate>2026-02-25T15:54:15.3324508-05:00</StockAdjustmentDate>
<StockAdjustmentNote>sample string 8</StockAdjustmentNote>
<StockAdjustmentSerialNo>sample string 2</StockAdjustmentSerialNo>
<SubFacilityID>1</SubFacilityID>
<SubFacilityName>sample string 4</SubFacilityName>
<TotalRecord>12</TotalRecord>
<UnitCode>sample string 6</UnitCode>
<UnitID>1</UnitID>
<UnitName>sample string 7</UnitName>
<StockAdjustmentList>
<StockAdjustmentDetailDataModel>
<AdjustedQuantity>1</AdjustedQuantity>
<PartID>1</PartID>
<PartName>sample string 4</PartName>
<PartsCode>sample string 5</PartsCode>
<PartsCostRate>1</PartsCostRate>
<PartsStockAdjustmentDetailID>1</PartsStockAdjustmentDetailID>
<PartsStockAdjustmentID>2</PartsStockAdjustmentID>
<PartsTotalAmount>1</PartsTotalAmount>
<StockOnHand>1</StockOnHand>
<UnitCode>sample string 3</UnitCode>
<UnitID>1</UnitID>
</StockAdjustmentDetailDataModel>
<StockAdjustmentDetailDataModel>
<AdjustedQuantity>1</AdjustedQuantity>
<PartID>1</PartID>
<PartName>sample string 4</PartName>
<PartsCode>sample string 5</PartsCode>
<PartsCostRate>1</PartsCostRate>
<PartsStockAdjustmentDetailID>1</PartsStockAdjustmentDetailID>
<PartsStockAdjustmentID>2</PartsStockAdjustmentID>
<PartsTotalAmount>1</PartsTotalAmount>
<StockOnHand>1</StockOnHand>
<UnitCode>sample string 3</UnitCode>
<UnitID>1</UnitID>
</StockAdjustmentDetailDataModel>
</StockAdjustmentList>
</StockAdjustmentDataResponse>
multipart/form-data
Sample:
<StockAdjustmentDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.StockAdjustment"><AddedBy>10</AddedBy><AddedByName>sample string 11</AddedByName><AdjustedQuantity>1</AdjustedQuantity><FacilityID>1</FacilityID><FacilityName>sample string 3</FacilityName><Location>sample string 9</Location><OperatorID>1</OperatorID><OperatorName>sample string 5</OperatorName><PartsStockAdjustmentID>1</PartsStockAdjustmentID><StockAdjustmentDate>2026-02-25T15:54:15.3324508-05:00</StockAdjustmentDate><StockAdjustmentNote>sample string 8</StockAdjustmentNote><StockAdjustmentSerialNo>sample string 2</StockAdjustmentSerialNo><SubFacilityID>1</SubFacilityID><SubFacilityName>sample string 4</SubFacilityName><TotalRecord>12</TotalRecord><UnitCode>sample string 6</UnitCode><UnitID>1</UnitID><UnitName>sample string 7</UnitName><StockAdjustmentList><StockAdjustmentDetailDataModel><AdjustedQuantity>1</AdjustedQuantity><PartID>1</PartID><PartName>sample string 4</PartName><PartsCode>sample string 5</PartsCode><PartsCostRate>1</PartsCostRate><PartsStockAdjustmentDetailID>1</PartsStockAdjustmentDetailID><PartsStockAdjustmentID>2</PartsStockAdjustmentID><PartsTotalAmount>1</PartsTotalAmount><StockOnHand>1</StockOnHand><UnitCode>sample string 3</UnitCode><UnitID>1</UnitID></StockAdjustmentDetailDataModel><StockAdjustmentDetailDataModel><AdjustedQuantity>1</AdjustedQuantity><PartID>1</PartID><PartName>sample string 4</PartName><PartsCode>sample string 5</PartsCode><PartsCostRate>1</PartsCostRate><PartsStockAdjustmentDetailID>1</PartsStockAdjustmentDetailID><PartsStockAdjustmentID>2</PartsStockAdjustmentID><PartsTotalAmount>1</PartsTotalAmount><StockOnHand>1</StockOnHand><UnitCode>sample string 3</UnitCode><UnitID>1</UnitID></StockAdjustmentDetailDataModel></StockAdjustmentList></StockAdjustmentDataResponse>