POST api/Item/AddItemCustomerData

Request Information

URI Parameters

None.

Body Parameters

ItemCustomerData
NameDescriptionTypeAdditional information
ItemID

string

None.

ItemName

string

None.

CustomerID

string

None.

CustomerName

string

None.

CustomerItemID

string

None.

CustomerItemName1

string

None.

CustomerItemName2

string

None.

CustomerItemShortName

string

None.

CustomerConvertFactor

decimal number

None.

CustomerUnitOfMeasurement

string

None.

EDICode

string

None.

OrderingAllowed

boolean

None.

OrderingCurrencyID

string

None.

OrderingPrice

decimal number

None.

OrderingDiscount

decimal number

None.

OrderingDiscount2

decimal number

None.

OrderingDiscount3

decimal number

None.

OrderingDiscount4

decimal number

None.

OrderingDiscount5

decimal number

None.

LeadTime

integer

None.

OrderingType

string

None.

MinimalOrderQty

decimal number

None.

OrderingMultiplier

decimal number

None.

OrderingStep

decimal number

None.

Note

string

None.

InsertedBy

string

None.

InsertionTime

date

None.

ModifiedBy

string

None.

ModificationTime

date

None.

ItemOrganisationID

integer

None.

CustomerOrganisationID

integer

None.

Request Formats

application/xml, text/xml

Sample:
<ItemCustomerData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ItemID>sample string 1</ItemID>
  <ItemName>sample string 2</ItemName>
  <CustomerID>sample string 3</CustomerID>
  <CustomerName>sample string 4</CustomerName>
  <CustomerItemID>sample string 5</CustomerItemID>
  <CustomerItemName1>sample string 6</CustomerItemName1>
  <CustomerItemName2>sample string 7</CustomerItemName2>
  <CustomerItemShortName>sample string 8</CustomerItemShortName>
  <CustomerConvertFactor>1</CustomerConvertFactor>
  <CustomerUnitOfMeasurement>sample string 9</CustomerUnitOfMeasurement>
  <EDICode>sample string 10</EDICode>
  <OrderingAllowed>true</OrderingAllowed>
  <OrderingCurrencyID>sample string 11</OrderingCurrencyID>
  <OrderingPrice>1</OrderingPrice>
  <OrderingDiscount>1</OrderingDiscount>
  <OrderingDiscount2>1</OrderingDiscount2>
  <OrderingDiscount3>1</OrderingDiscount3>
  <OrderingDiscount4>1</OrderingDiscount4>
  <OrderingDiscount5>1</OrderingDiscount5>
  <LeadTime>1</LeadTime>
  <OrderingType>sample string 12</OrderingType>
  <MinimalOrderQty>1</MinimalOrderQty>
  <OrderingMultiplier>1</OrderingMultiplier>
  <OrderingStep>1</OrderingStep>
  <Note>sample string 13</Note>
  <InsertedBy>sample string 14</InsertedBy>
  <InsertionTime>2024-11-23T04:04:51.9517538+01:00</InsertionTime>
  <ModifiedBy>sample string 15</ModifiedBy>
  <ModificationTime>2024-11-23T04:04:51.9517538+01:00</ModificationTime>
  <ItemOrganisationID>1</ItemOrganisationID>
  <CustomerOrganisationID>1</CustomerOrganisationID>
</ItemCustomerData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional 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>