POST api/ItemAccount

Request Information

URI Parameters

None.

Body Parameters

ItemAccount
NameDescriptionTypeAdditional 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": "c9e109b7-5abd-4722-848b-81f13c12116c",
  "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": "4f1887da-24c3-465d-b2c1-1c59c1ed8268",
  "SupplierPreference": 64,
  "StatisticalFactor": 1.1,
  "Warranty": 23,
  "CountryOfOrigin": "sample string 24",
  "DropShip": true,
  "CountryOfAssembly": "sample string 26",
  "Manufacturer": "sample string 27",
  "Division": 28,
  "syscreated": "2021-04-15T06:16:39.3261483+02:00",
  "syscreator": 30,
  "sysmodified": "2021-04-15T06:16:39.3261483+02:00",
  "sysmodifier": 32,
  "sysguid": "eb773f94-2d00-4654-8095-821416d53dcd",
  "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>c9e109b7-5abd-4722-848b-81f13c12116c</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>4f1887da-24c3-465d-b2c1-1c59c1ed8268</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>2021-04-15T06:16:39.3261483+02:00</syscreated>
  <syscreator>30</syscreator>
  <sysmodified>2021-04-15T06:16:39.3261483+02:00</sysmodified>
  <sysmodifier>32</sysmodifier>
  <sysguid>eb773f94-2d00-4654-8095-821416d53dcd</sysguid>
</ItemAccount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ItemAccount
NameDescriptionTypeAdditional 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": "41402561-65e8-446a-987f-33d457316735",
  "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": "5b5ce6b1-dc72-4e19-a103-6d462c016391",
  "SupplierPreference": 64,
  "StatisticalFactor": 1.1,
  "Warranty": 23,
  "CountryOfOrigin": "sample string 24",
  "DropShip": true,
  "CountryOfAssembly": "sample string 26",
  "Manufacturer": "sample string 27",
  "Division": 28,
  "syscreated": "2021-04-15T06:16:39.3417316+02:00",
  "syscreator": 30,
  "sysmodified": "2021-04-15T06:16:39.3417316+02:00",
  "sysmodifier": 32,
  "sysguid": "364e788d-3c94-42fa-b569-dfc80be86ffa",
  "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>41402561-65e8-446a-987f-33d457316735</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>5b5ce6b1-dc72-4e19-a103-6d462c016391</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>2021-04-15T06:16:39.3417316+02:00</syscreated>
  <syscreator>30</syscreator>
  <sysmodified>2021-04-15T06:16:39.3417316+02:00</sysmodified>
  <sysmodifier>32</sysmodifier>
  <sysguid>364e788d-3c94-42fa-b569-dfc80be86ffa</sysguid>
</ItemAccount>