POST api/Item/AddItemsStockData
Request Information
URI Parameters
None.
Body Parameters
ItemsStockData| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemStockData | Collection of ItemStockData |
None. |
Request Formats
application/xml, text/xml
Sample:
<ItemsStockData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ItemStockData>
<ItemID>sample string 1</ItemID>
<InsUpdDate>2025-11-03T07:58:19.9118665+01:00</InsUpdDate>
<ItemWarehouseTypesData>
<ItemWarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<PlannedMaterialCost>1</PlannedMaterialCost>
<PlannedLaborCost>1</PlannedLaborCost>
<PlannedMachineWorkCost>1</PlannedMachineWorkCost>
<PlannedCooperationCost>1</PlannedCooperationCost>
<PlannedCostPrice>1</PlannedCostPrice>
<EntryDate>2025-11-03T07:58:19.9118665+01:00</EntryDate>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseID>sample string 2</DefaultWarehouseID>
<DefaultWarehouseLocation>sample string 3</DefaultWarehouseLocation>
<AllowedInventoryDifferencePercentage>1</AllowedInventoryDifferencePercentage>
<AllowedInventoryDifferenceQTY>1</AllowedInventoryDifferenceQTY>
</ItemWarehouseTypeData>
<ItemWarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<PlannedMaterialCost>1</PlannedMaterialCost>
<PlannedLaborCost>1</PlannedLaborCost>
<PlannedMachineWorkCost>1</PlannedMachineWorkCost>
<PlannedCooperationCost>1</PlannedCooperationCost>
<PlannedCostPrice>1</PlannedCostPrice>
<EntryDate>2025-11-03T07:58:19.9118665+01:00</EntryDate>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseID>sample string 2</DefaultWarehouseID>
<DefaultWarehouseLocation>sample string 3</DefaultWarehouseLocation>
<AllowedInventoryDifferencePercentage>1</AllowedInventoryDifferencePercentage>
<AllowedInventoryDifferenceQTY>1</AllowedInventoryDifferenceQTY>
</ItemWarehouseTypeData>
</ItemWarehouseTypesData>
<ItemWarehousesData>
<ItemWarehouseData>
<WarehouseID>sample string 1</WarehouseID>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseLocation>sample string 2</DefaultWarehouseLocation>
</ItemWarehouseData>
<ItemWarehouseData>
<WarehouseID>sample string 1</WarehouseID>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseLocation>sample string 2</DefaultWarehouseLocation>
</ItemWarehouseData>
</ItemWarehousesData>
</ItemStockData>
<ItemStockData>
<ItemID>sample string 1</ItemID>
<InsUpdDate>2025-11-03T07:58:19.9118665+01:00</InsUpdDate>
<ItemWarehouseTypesData>
<ItemWarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<PlannedMaterialCost>1</PlannedMaterialCost>
<PlannedLaborCost>1</PlannedLaborCost>
<PlannedMachineWorkCost>1</PlannedMachineWorkCost>
<PlannedCooperationCost>1</PlannedCooperationCost>
<PlannedCostPrice>1</PlannedCostPrice>
<EntryDate>2025-11-03T07:58:19.9118665+01:00</EntryDate>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseID>sample string 2</DefaultWarehouseID>
<DefaultWarehouseLocation>sample string 3</DefaultWarehouseLocation>
<AllowedInventoryDifferencePercentage>1</AllowedInventoryDifferencePercentage>
<AllowedInventoryDifferenceQTY>1</AllowedInventoryDifferenceQTY>
</ItemWarehouseTypeData>
<ItemWarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<PlannedMaterialCost>1</PlannedMaterialCost>
<PlannedLaborCost>1</PlannedLaborCost>
<PlannedMachineWorkCost>1</PlannedMachineWorkCost>
<PlannedCooperationCost>1</PlannedCooperationCost>
<PlannedCostPrice>1</PlannedCostPrice>
<EntryDate>2025-11-03T07:58:19.9118665+01:00</EntryDate>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseID>sample string 2</DefaultWarehouseID>
<DefaultWarehouseLocation>sample string 3</DefaultWarehouseLocation>
<AllowedInventoryDifferencePercentage>1</AllowedInventoryDifferencePercentage>
<AllowedInventoryDifferenceQTY>1</AllowedInventoryDifferenceQTY>
</ItemWarehouseTypeData>
</ItemWarehouseTypesData>
<ItemWarehousesData>
<ItemWarehouseData>
<WarehouseID>sample string 1</WarehouseID>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseLocation>sample string 2</DefaultWarehouseLocation>
</ItemWarehouseData>
<ItemWarehouseData>
<WarehouseID>sample string 1</WarehouseID>
<MinimumStock>1</MinimumStock>
<MaximumStock>1</MaximumStock>
<DefaultWarehouseLocation>sample string 2</DefaultWarehouseLocation>
</ItemWarehouseData>
</ItemWarehousesData>
</ItemStockData>
</ItemsStockData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Keys | Collection of EntityKeyField |
None. |
|
| ResultCode | ExternalResultCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Keys>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
</Keys>
<ResultCode>None</ResultCode>
<Errors>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
</Errors>
</CreateResult>