POST api/Item/AddItemsStockAccountingData
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:48.4356391+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:48.4356391+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:48.4356391+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:48.4356391+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
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>