PATCH api/Item/UpdateItemsStockAccountingData
Request Information
URI Parameters
None.
Body Parameters
ItemsStockAccountingData| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemStockAccountingData | Collection of ItemStockAccountingData |
None. |
Request Formats
application/xml, text/xml
Sample:
<ItemsStockAccountingData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ItemStockAccountingData>
<ItemID>sample string 1</ItemID>
<WarehouseTypesData>
<WarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<InventoryAccount>sample string 2</InventoryAccount>
<ConsumptionAccount>sample string 3</ConsumptionAccount>
<BillingAccount>sample string 4</BillingAccount>
<InventoryAccountOB>sample string 5</InventoryAccountOB>
<BillingAccountOB>sample string 6</BillingAccountOB>
<WorkInProgressAccount>sample string 7</WorkInProgressAccount>
<ConsumptionAccountOB>sample string 8</ConsumptionAccountOB>
<InsUpdDate>2025-11-03T07:58:20.9240457+01:00</InsUpdDate>
</WarehouseTypeData>
<WarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<InventoryAccount>sample string 2</InventoryAccount>
<ConsumptionAccount>sample string 3</ConsumptionAccount>
<BillingAccount>sample string 4</BillingAccount>
<InventoryAccountOB>sample string 5</InventoryAccountOB>
<BillingAccountOB>sample string 6</BillingAccountOB>
<WorkInProgressAccount>sample string 7</WorkInProgressAccount>
<ConsumptionAccountOB>sample string 8</ConsumptionAccountOB>
<InsUpdDate>2025-11-03T07:58:20.9240457+01:00</InsUpdDate>
</WarehouseTypeData>
</WarehouseTypesData>
<ItemGroup>sample string 2</ItemGroup>
<ItemClassification>sample string 3</ItemClassification>
<ItemDepartment>sample string 4</ItemDepartment>
</ItemStockAccountingData>
<ItemStockAccountingData>
<ItemID>sample string 1</ItemID>
<WarehouseTypesData>
<WarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<InventoryAccount>sample string 2</InventoryAccount>
<ConsumptionAccount>sample string 3</ConsumptionAccount>
<BillingAccount>sample string 4</BillingAccount>
<InventoryAccountOB>sample string 5</InventoryAccountOB>
<BillingAccountOB>sample string 6</BillingAccountOB>
<WorkInProgressAccount>sample string 7</WorkInProgressAccount>
<ConsumptionAccountOB>sample string 8</ConsumptionAccountOB>
<InsUpdDate>2025-11-03T07:58:20.9240457+01:00</InsUpdDate>
</WarehouseTypeData>
<WarehouseTypeData>
<WarehouseType>sample string 1</WarehouseType>
<InventoryAccount>sample string 2</InventoryAccount>
<ConsumptionAccount>sample string 3</ConsumptionAccount>
<BillingAccount>sample string 4</BillingAccount>
<InventoryAccountOB>sample string 5</InventoryAccountOB>
<BillingAccountOB>sample string 6</BillingAccountOB>
<WorkInProgressAccount>sample string 7</WorkInProgressAccount>
<ConsumptionAccountOB>sample string 8</ConsumptionAccountOB>
<InsUpdDate>2025-11-03T07:58:20.9240457+01:00</InsUpdDate>
</WarehouseTypeData>
</WarehouseTypesData>
<ItemGroup>sample string 2</ItemGroup>
<ItemClassification>sample string 3</ItemClassification>
<ItemDepartment>sample string 4</ItemDepartment>
</ItemStockAccountingData>
</ItemsStockAccountingData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | ExternalResultCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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>
</UpdateResult>