POST api/ItemAccount
Request Information
URI Parameters
None.
Body Parameters
ItemAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ItemCode | string |
Required |
|
| AccountCode | globally unique identifier |
None. |
|
| crdnr | string |
Required |
|
| MainAccount | boolean |
None. |
|
| ItemCodeAccount | string |
None. |
|
| EANCode | string |
None. |
|
| PurchaseCurrency | string |
None. |
|
| PurchasePrice | decimal number |
None. |
|
| PurchaseVATCode | string |
None. |
|
| PurchaseVATPerc | decimal number |
None. |
|
| PurchaseVATIncl | boolean |
None. |
|
| PurchaseUnit | string |
None. |
|
| PurchasePackage | string |
None. |
|
| PurchaseUnitToInternalUnitFactor | decimal number |
None. |
|
| PurchaseUnitToPurchasePackageFactor | decimal number |
None. |
|
| PurchaseOrderSize | decimal number |
None. |
|
| DiscountMargin | decimal number |
None. |
|
| SalesPriceRecommended | decimal number |
None. |
|
| SlsPkgsPerPurPkg | decimal number |
None. |
|
| DeliveryTimeInDays | integer |
None. |
|
| DeliverableFromStock | boolean |
None. |
|
| DocumentID | globally unique identifier |
None. |
|
| SupplierPreference | byte |
None. |
|
| StatisticalFactor | decimal number |
None. |
|
| Warranty | integer |
None. |
|
| CountryOfOrigin | string |
None. |
|
| DropShip | boolean |
None. |
|
| CountryOfAssembly | string |
None. |
|
| Manufacturer | string |
None. |
|
| Division | integer |
None. |
|
| syscreated | date |
None. |
|
| syscreator | integer |
None. |
|
| sysmodified | date |
None. |
|
| sysmodifier | integer |
None. |
|
| sysguid | globally unique identifier |
None. |
|
| TransactionKey | string |
None. |
|
| Action | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ItemCode": "sample string 2",
"AccountCode": "541edbfc-0a79-4bd7-b85a-10bae1ea088a",
"crdnr": "sample string 4",
"MainAccount": true,
"ItemCodeAccount": "sample string 6",
"EANCode": "sample string 7",
"PurchaseCurrency": "sample string 8",
"PurchasePrice": 9.1,
"PurchaseVATCode": "sample string 10",
"PurchaseVATPerc": 11.1,
"PurchaseVATIncl": true,
"PurchaseUnit": "sample string 13",
"PurchasePackage": "sample string 14",
"PurchaseUnitToInternalUnitFactor": 15.1,
"PurchaseUnitToPurchasePackageFactor": 16.1,
"PurchaseOrderSize": 17.1,
"DiscountMargin": 18.1,
"SalesPriceRecommended": 19.1,
"SlsPkgsPerPurPkg": 20.1,
"DeliveryTimeInDays": 21,
"DeliverableFromStock": true,
"DocumentID": "5440a9c6-8b36-4eaa-8122-3bc1ea3089e2",
"SupplierPreference": 64,
"StatisticalFactor": 1.1,
"Warranty": 23,
"CountryOfOrigin": "sample string 24",
"DropShip": true,
"CountryOfAssembly": "sample string 26",
"Manufacturer": "sample string 27",
"Division": 28,
"syscreated": "2026-03-15T17:08:30.4002952+01:00",
"syscreator": 30,
"sysmodified": "2026-03-15T17:08:30.4002952+01:00",
"sysmodifier": 32,
"sysguid": "9a1cb71b-cee1-4832-b420-fb5c00250732",
"TransactionKey": "sample string 33",
"Action": "sample string 34"
}
application/xml, text/xml
Sample:
<ItemAccount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TransactionKey>sample string 33</TransactionKey> <Action>sample string 34</Action> <ID>1</ID> <ItemCode>sample string 2</ItemCode> <AccountCode>541edbfc-0a79-4bd7-b85a-10bae1ea088a</AccountCode> <crdnr>sample string 4</crdnr> <MainAccount>true</MainAccount> <ItemCodeAccount>sample string 6</ItemCodeAccount> <EANCode>sample string 7</EANCode> <PurchaseCurrency>sample string 8</PurchaseCurrency> <PurchasePrice>9.1</PurchasePrice> <PurchaseVATCode>sample string 10</PurchaseVATCode> <PurchaseVATPerc>11.1</PurchaseVATPerc> <PurchaseVATIncl>true</PurchaseVATIncl> <PurchaseUnit>sample string 13</PurchaseUnit> <PurchasePackage>sample string 14</PurchasePackage> <PurchaseUnitToInternalUnitFactor>15.1</PurchaseUnitToInternalUnitFactor> <PurchaseUnitToPurchasePackageFactor>16.1</PurchaseUnitToPurchasePackageFactor> <PurchaseOrderSize>17.1</PurchaseOrderSize> <DiscountMargin>18.1</DiscountMargin> <SalesPriceRecommended>19.1</SalesPriceRecommended> <SlsPkgsPerPurPkg>20.1</SlsPkgsPerPurPkg> <DeliveryTimeInDays>21</DeliveryTimeInDays> <DeliverableFromStock>true</DeliverableFromStock> <DocumentID>5440a9c6-8b36-4eaa-8122-3bc1ea3089e2</DocumentID> <SupplierPreference>64</SupplierPreference> <StatisticalFactor>1.1</StatisticalFactor> <Warranty>23</Warranty> <CountryOfOrigin>sample string 24</CountryOfOrigin> <DropShip>true</DropShip> <CountryOfAssembly>sample string 26</CountryOfAssembly> <Manufacturer>sample string 27</Manufacturer> <Division>28</Division> <syscreated>2026-03-15T17:08:30.4002952+01:00</syscreated> <syscreator>30</syscreator> <sysmodified>2026-03-15T17:08:30.4002952+01:00</sysmodified> <sysmodifier>32</sysmodifier> <sysguid>9a1cb71b-cee1-4832-b420-fb5c00250732</sysguid> </ItemAccount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ItemAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ItemCode | string |
Required |
|
| AccountCode | globally unique identifier |
None. |
|
| crdnr | string |
Required |
|
| MainAccount | boolean |
None. |
|
| ItemCodeAccount | string |
None. |
|
| EANCode | string |
None. |
|
| PurchaseCurrency | string |
None. |
|
| PurchasePrice | decimal number |
None. |
|
| PurchaseVATCode | string |
None. |
|
| PurchaseVATPerc | decimal number |
None. |
|
| PurchaseVATIncl | boolean |
None. |
|
| PurchaseUnit | string |
None. |
|
| PurchasePackage | string |
None. |
|
| PurchaseUnitToInternalUnitFactor | decimal number |
None. |
|
| PurchaseUnitToPurchasePackageFactor | decimal number |
None. |
|
| PurchaseOrderSize | decimal number |
None. |
|
| DiscountMargin | decimal number |
None. |
|
| SalesPriceRecommended | decimal number |
None. |
|
| SlsPkgsPerPurPkg | decimal number |
None. |
|
| DeliveryTimeInDays | integer |
None. |
|
| DeliverableFromStock | boolean |
None. |
|
| DocumentID | globally unique identifier |
None. |
|
| SupplierPreference | byte |
None. |
|
| StatisticalFactor | decimal number |
None. |
|
| Warranty | integer |
None. |
|
| CountryOfOrigin | string |
None. |
|
| DropShip | boolean |
None. |
|
| CountryOfAssembly | string |
None. |
|
| Manufacturer | string |
None. |
|
| Division | integer |
None. |
|
| syscreated | date |
None. |
|
| syscreator | integer |
None. |
|
| sysmodified | date |
None. |
|
| sysmodifier | integer |
None. |
|
| sysguid | globally unique identifier |
None. |
|
| TransactionKey | string |
None. |
|
| Action | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"ItemCode": "sample string 2",
"AccountCode": "66ff44ab-0f7a-4b4b-9bf2-e46b414826a3",
"crdnr": "sample string 4",
"MainAccount": true,
"ItemCodeAccount": "sample string 6",
"EANCode": "sample string 7",
"PurchaseCurrency": "sample string 8",
"PurchasePrice": 9.1,
"PurchaseVATCode": "sample string 10",
"PurchaseVATPerc": 11.1,
"PurchaseVATIncl": true,
"PurchaseUnit": "sample string 13",
"PurchasePackage": "sample string 14",
"PurchaseUnitToInternalUnitFactor": 15.1,
"PurchaseUnitToPurchasePackageFactor": 16.1,
"PurchaseOrderSize": 17.1,
"DiscountMargin": 18.1,
"SalesPriceRecommended": 19.1,
"SlsPkgsPerPurPkg": 20.1,
"DeliveryTimeInDays": 21,
"DeliverableFromStock": true,
"DocumentID": "78f29efb-6f8d-4305-88c6-e2c4998fc640",
"SupplierPreference": 64,
"StatisticalFactor": 1.1,
"Warranty": 23,
"CountryOfOrigin": "sample string 24",
"DropShip": true,
"CountryOfAssembly": "sample string 26",
"Manufacturer": "sample string 27",
"Division": 28,
"syscreated": "2026-03-15T17:08:30.4159169+01:00",
"syscreator": 30,
"sysmodified": "2026-03-15T17:08:30.4159169+01:00",
"sysmodifier": 32,
"sysguid": "d710785d-5bcd-4ff8-92cb-236846c17dc8",
"TransactionKey": "sample string 33",
"Action": "sample string 34"
}
application/xml, text/xml
Sample:
<ItemAccount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TransactionKey>sample string 33</TransactionKey> <Action>sample string 34</Action> <ID>1</ID> <ItemCode>sample string 2</ItemCode> <AccountCode>66ff44ab-0f7a-4b4b-9bf2-e46b414826a3</AccountCode> <crdnr>sample string 4</crdnr> <MainAccount>true</MainAccount> <ItemCodeAccount>sample string 6</ItemCodeAccount> <EANCode>sample string 7</EANCode> <PurchaseCurrency>sample string 8</PurchaseCurrency> <PurchasePrice>9.1</PurchasePrice> <PurchaseVATCode>sample string 10</PurchaseVATCode> <PurchaseVATPerc>11.1</PurchaseVATPerc> <PurchaseVATIncl>true</PurchaseVATIncl> <PurchaseUnit>sample string 13</PurchaseUnit> <PurchasePackage>sample string 14</PurchasePackage> <PurchaseUnitToInternalUnitFactor>15.1</PurchaseUnitToInternalUnitFactor> <PurchaseUnitToPurchasePackageFactor>16.1</PurchaseUnitToPurchasePackageFactor> <PurchaseOrderSize>17.1</PurchaseOrderSize> <DiscountMargin>18.1</DiscountMargin> <SalesPriceRecommended>19.1</SalesPriceRecommended> <SlsPkgsPerPurPkg>20.1</SlsPkgsPerPurPkg> <DeliveryTimeInDays>21</DeliveryTimeInDays> <DeliverableFromStock>true</DeliverableFromStock> <DocumentID>78f29efb-6f8d-4305-88c6-e2c4998fc640</DocumentID> <SupplierPreference>64</SupplierPreference> <StatisticalFactor>1.1</StatisticalFactor> <Warranty>23</Warranty> <CountryOfOrigin>sample string 24</CountryOfOrigin> <DropShip>true</DropShip> <CountryOfAssembly>sample string 26</CountryOfAssembly> <Manufacturer>sample string 27</Manufacturer> <Division>28</Division> <syscreated>2026-03-15T17:08:30.4159169+01:00</syscreated> <syscreator>30</syscreator> <sysmodified>2026-03-15T17:08:30.4159169+01:00</sysmodified> <sysmodifier>32</sysmodifier> <sysguid>d710785d-5bcd-4ff8-92cb-236846c17dc8</sysguid> </ItemAccount>