PUT v1/Inventory/AddInventory
Adds inventory based on the provided transaction details.
Request Information
URI Parameters
None.
Body Parameters
The transaction details for adding inventory.
TransactionDTOName | Description | Type | Additional information |
---|---|---|---|
ItemID |
Gets or sets the ID of the item involved in the transaction. |
integer |
None. |
ItemTransactionType |
Gets or sets the type of the item transaction (e.g., purchase, sale, transfer). |
string |
None. |
Quantity |
Gets or sets the quantity of the item involved in the transaction. |
integer |
None. |
WarehouseLocationID |
Gets or sets the ID of the warehouse location where the transaction occurred. |
integer |
None. |
TransactionDate |
Gets or sets the date of the transaction. |
date |
None. |
TransactionTime |
Gets or sets the time of the transaction. |
time interval |
None. |
Comment |
Gets or sets any additional comments related to the transaction. |
string |
None. |
UserName |
Gets or sets the username of the person who performed the transaction. |
string |
None. |
ToLocationID |
Gets or sets the ID of the location to which the item is being transferred, if applicable. |
integer |
None. |
OrderID |
Gets or sets the ID of the associated Order in the transaction. |
integer |
None. |
LotID |
Gets or sets the ID of the lot associated with the transaction. |
integer |
None. |
Request Formats
application/json, text/json
{ "ItemID": 1, "ItemTransactionType": "sample string 2", "Quantity": 3, "WarehouseLocationID": 4, "TransactionDate": "2025-07-01T02:50:08.6438863+00:00", "TransactionTime": "00:00:00.1234567", "Comment": "sample string 7", "UserName": "sample string 8", "ToLocationID": 9, "OrderID": 10, "LotID": 13 }
application/xml, text/xml
<TransactionDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ItemID>1</ItemID> <ItemTransactionType>sample string 2</ItemTransactionType> <Quantity>3</Quantity> <WarehouseLocationID>4</WarehouseLocationID> <TransactionDate>2025-07-01T02:50:08.6438863+00:00</TransactionDate> <TransactionTime /> <Comment>sample string 7</Comment> <UserName>sample string 8</UserName> <ToLocationID>9</ToLocationID> <OrderID>10</OrderID> <ObjectID>11</ObjectID> <ObjectTable>sample string 12</ObjectTable> <LotID>13</LotID> <SecondaryObjectId>14</SecondaryObjectId> <SecondaryObjectTable>sample string 15</SecondaryObjectTable> <OrderInventoryId>16</OrderInventoryId> </TransactionDTO>
application/x-www-form-urlencoded
Response Information
Resource Description
A indicating the result of the operation: - if the operation is successful. - if there is an error in the request or internal error. - if the operation fails. - if an exception occurs.
stringResponse Formats
application/json, text/json
"sample string 1"
application/xml, text/xml
<string>sample string 1</string>