POST api/v1/ItemInventory/Adjust
Adjust inevnetory
Request Information
URI Parameters
Body Parameters
Inventory Ledger Entry to adjust
ItemInventoryLedgerEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemLedgerAdjustmentTypeId | TItemInventoryAdjustmentType | ||
| WarehouseId |
Warehouse ID for the inventory record |
integer | |
| WarehouseName |
Warehouse name for the inventory record |
string | |
| ItemId | integer | ||
| ItemCode |
Item Code for Inventory Record |
string | |
| PONumber | integer | ||
| Quantity | decimal number | ||
| Balance | decimal number | ||
| ReserveBalance | decimal number | ||
| LotNumber | string | ||
| TransactionDate | date | ||
| Description | string | ||
| OrderShipmentId | integer | ||
| OrderId | integer | ||
| ItemReceivingId | integer | ||
| ExecutionTime |
How long the method took in milliseconds. System supplied value. |
integer | |
| TxID |
Transaction ID of the call. Will be added for the response. Not needed in the request. |
string |
Request Formats
application/json, text/json
Sample:
{
"itemLedgerAdjustmentTypeId": "Unknown",
"warehouseId": 2,
"warehouseName": "sample string 3",
"itemId": 4,
"itemCode": "sample string 5",
"poNumber": 6,
"quantity": 7.0,
"balance": 8.0,
"reserveBalance": 9.0,
"lotNumber": "sample string 10",
"transactionDate": "2026-04-06T22:55:42.5245003+00:00",
"description": "sample string 12",
"orderShipmentId": 1,
"orderId": 1,
"itemReceivingId": 1,
"executionTime": 15,
"txID": "sample string 16"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ItemInventoryLedgerEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Models"> <ExecutionTime xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Common">15</ExecutionTime> <TxID xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Common">sample string 16</TxID> <Balance>8</Balance> <Description>sample string 12</Description> <ItemCode>sample string 5</ItemCode> <ItemId>4</ItemId> <ItemLedgerAdjustmentTypeId>Unknown</ItemLedgerAdjustmentTypeId> <ItemReceivingId>1</ItemReceivingId> <LotNumber>sample string 10</LotNumber> <OrderId>1</OrderId> <OrderShipmentId>1</OrderShipmentId> <PONumber>6</PONumber> <Quantity>7</Quantity> <ReserveBalance>9</ReserveBalance> <TransactionDate>2026-04-06T22:55:42.5245003+00:00</TransactionDate> <WarehouseId>2</WarehouseId> <WarehouseName>sample string 3</WarehouseName> </ItemInventoryLedgerEntry>
Response Information
Resource Description
ItemInventoryLedgerEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemLedgerAdjustmentTypeId | TItemInventoryAdjustmentType | ||
| WarehouseId |
Warehouse ID for the inventory record |
integer | |
| WarehouseName |
Warehouse name for the inventory record |
string | |
| ItemId | integer | ||
| ItemCode |
Item Code for Inventory Record |
string | |
| PONumber | integer | ||
| Quantity | decimal number | ||
| Balance | decimal number | ||
| ReserveBalance | decimal number | ||
| LotNumber | string | ||
| TransactionDate | date | ||
| Description | string | ||
| OrderShipmentId | integer | ||
| OrderId | integer | ||
| ItemReceivingId | integer | ||
| ExecutionTime |
How long the method took in milliseconds. System supplied value. |
integer | |
| TxID |
Transaction ID of the call. Will be added for the response. Not needed in the request. |
string |
Response Formats
application/json, text/json
Sample:
{
"itemLedgerAdjustmentTypeId": "Unknown",
"warehouseId": 2,
"warehouseName": "sample string 3",
"itemId": 4,
"itemCode": "sample string 5",
"poNumber": 6,
"quantity": 7.0,
"balance": 8.0,
"reserveBalance": 9.0,
"lotNumber": "sample string 10",
"transactionDate": "2026-04-06T22:55:42.5546494+00:00",
"description": "sample string 12",
"orderShipmentId": 1,
"orderId": 1,
"itemReceivingId": 1,
"executionTime": 15,
"txID": "sample string 16"
}
application/xml, text/xml
Sample:
<ItemInventoryLedgerEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Models"> <ExecutionTime xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Common">15</ExecutionTime> <TxID xmlns="http://schemas.datacontract.org/2004/07/TulaERP.Contract.Common">sample string 16</TxID> <Balance>8</Balance> <Description>sample string 12</Description> <ItemCode>sample string 5</ItemCode> <ItemId>4</ItemId> <ItemLedgerAdjustmentTypeId>Unknown</ItemLedgerAdjustmentTypeId> <ItemReceivingId>1</ItemReceivingId> <LotNumber>sample string 10</LotNumber> <OrderId>1</OrderId> <OrderShipmentId>1</OrderShipmentId> <PONumber>6</PONumber> <Quantity>7</Quantity> <ReserveBalance>9</ReserveBalance> <TransactionDate>2026-04-06T22:55:42.5546494+00:00</TransactionDate> <WarehouseId>2</WarehouseId> <WarehouseName>sample string 3</WarehouseName> </ItemInventoryLedgerEntry>