POST api/DispatchAdvice/AddDispatchAdvice

Request Information

URI Parameters

None.

Body Parameters

DispatchAdviceHeader
NameDescriptionTypeAdditional information
DispatchAdviceYear

integer

None.

DispatchAdviceBook

string

None.

DispatchAdviceNumber

integer

None.

WarehouseID

string

None.

CustomerID

string

None.

CustomerPayerID

string

None.

DispatchAdviceDate

date

None.

DeliveryDate

date

None.

ConfirmationDate

date

None.

CustomerConfirmationDate

date

None.

DeliveryAddress

string

None.

DeliveryMethod

string

None.

CurrencyID

string

None.

PriceListID

string

None.

LanguageID

string

None.

VATRateDescription

string

None.

VATInvoiceType

string

None.

NetDays

integer

None.

OrderNotice

string

None.

CostCenterID

string

None.

CostUnitID

string

None.

ClerkID

string

None.

WorkOrderID

string

None.

AnalyticID

string

None.

QuotationYear

integer

None.

QuotationNumber

string

None.

Comment

string

None.

DocumentHeaderDescription

string

None.

DocumentFooterDescription

string

None.

Status

string

None.

ExchangeRateDate

date

None.

ExchangeRateID

decimal number

None.

ExchangeRateBase

integer

None.

RebatePercentage

decimal number

None.

RebatePercentage2

decimal number

None.

RebatePercentage3

decimal number

None.

RebatePercentage4

decimal number

None.

RebatePercentage5

decimal number

None.

InvoiceBook

string

None.

AccountingBookGroupID

string

None.

DistanceSale

boolean

None.

AssemblingAndInstallation

boolean

None.

VAT_NonTaxable_Deduction

boolean

None.

ParityCode

string

None.

ParityPlace

string

None.

RebateAmountDocument

decimal number

None.

PaymentCodeID

string

None.

DocumentSalesType

string

None.

CashOperation

boolean

None.

CashierID

string

None.

PaymentPurposeId

string

None.

DiscountGroupID

string

None.

Consigment

boolean

None.

ConsigmentWerehouseID

string

None.

TrackingNumber

string

None.

DispatchAdviceLines

DispatchAdviceLines_

None.

Request Formats

application/xml, text/xml

Sample:
<DispatchAdviceHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DispatchAdviceYear>1</DispatchAdviceYear>
  <DispatchAdviceBook>sample string 2</DispatchAdviceBook>
  <DispatchAdviceNumber>3</DispatchAdviceNumber>
  <WarehouseID>sample string 4</WarehouseID>
  <CustomerID>sample string 5</CustomerID>
  <CustomerPayerID>sample string 6</CustomerPayerID>
  <DispatchAdviceDate>2023-06-09T21:08:30.498092+02:00</DispatchAdviceDate>
  <DeliveryDate>2023-06-09T21:08:30.498092+02:00</DeliveryDate>
  <ConfirmationDate>2023-06-09T21:08:30.498092+02:00</ConfirmationDate>
  <CustomerConfirmationDate>2023-06-09T21:08:30.498092+02:00</CustomerConfirmationDate>
  <DeliveryAddress>sample string 7</DeliveryAddress>
  <DeliveryMethod>sample string 8</DeliveryMethod>
  <CurrencyID>sample string 9</CurrencyID>
  <PriceListID>sample string 10</PriceListID>
  <LanguageID>sample string 11</LanguageID>
  <VATRateDescription>sample string 12</VATRateDescription>
  <VATInvoiceType>sample string 13</VATInvoiceType>
  <NetDays>14</NetDays>
  <OrderNotice>sample string 15</OrderNotice>
  <CostCenterID>sample string 16</CostCenterID>
  <CostUnitID>sample string 17</CostUnitID>
  <ClerkID>sample string 18</ClerkID>
  <WorkOrderID>sample string 19</WorkOrderID>
  <AnalyticID>sample string 20</AnalyticID>
  <QuotationYear>21</QuotationYear>
  <QuotationNumber>sample string 22</QuotationNumber>
  <Comment>sample string 23</Comment>
  <DocumentHeaderDescription>sample string 24</DocumentHeaderDescription>
  <DocumentFooterDescription>sample string 25</DocumentFooterDescription>
  <Status>sample string 26</Status>
  <ExchangeRateDate>2023-06-09T21:08:30.498092+02:00</ExchangeRateDate>
  <ExchangeRateID>1</ExchangeRateID>
  <ExchangeRateBase>27</ExchangeRateBase>
  <RebatePercentage>1</RebatePercentage>
  <RebatePercentage2>1</RebatePercentage2>
  <RebatePercentage3>1</RebatePercentage3>
  <RebatePercentage4>1</RebatePercentage4>
  <RebatePercentage5>1</RebatePercentage5>
  <InvoiceBook>sample string 28</InvoiceBook>
  <AccountingBookGroupID>sample string 29</AccountingBookGroupID>
  <DistanceSale>true</DistanceSale>
  <AssemblingAndInstallation>true</AssemblingAndInstallation>
  <VAT_NonTaxable_Deduction>true</VAT_NonTaxable_Deduction>
  <ParityCode>sample string 30</ParityCode>
  <ParityPlace>sample string 31</ParityPlace>
  <RebateAmountDocument>1</RebateAmountDocument>
  <PaymentCodeID>sample string 32</PaymentCodeID>
  <DocumentSalesType>sample string 33</DocumentSalesType>
  <CashOperation>true</CashOperation>
  <CashierID>sample string 34</CashierID>
  <PaymentPurposeId>sample string 35</PaymentPurposeId>
  <DiscountGroupID>sample string 36</DiscountGroupID>
  <Consigment>true</Consigment>
  <ConsigmentWerehouseID>sample string 37</ConsigmentWerehouseID>
  <TrackingNumber>sample string 38</TrackingNumber>
  <DispatchAdviceLines>
    <DispatchAdviceLine>
      <LineNumber>1</LineNumber>
      <LineSequence>2</LineSequence>
      <ItemID>sample string 3</ItemID>
      <ItemIDType>sample string 4</ItemIDType>
      <Quantity>1</Quantity>
      <Series>sample string 5</Series>
      <ItemComparisonCode>sample string 6</ItemComparisonCode>
      <ItemTitle1>sample string 7</ItemTitle1>
      <ItemTitle2>sample string 8</ItemTitle2>
      <ItemDescription>sample string 9</ItemDescription>
      <WarehouseID>sample string 10</WarehouseID>
      <Price>1</Price>
      <UnitsForPrice>11</UnitsForPrice>
      <UnitsOfMeasure>sample string 12</UnitsOfMeasure>
      <DiscountPercentage>1</DiscountPercentage>
      <DiscountPercentage2>1</DiscountPercentage2>
      <DiscountPercentage3>1</DiscountPercentage3>
      <DiscountPercentage4>1</DiscountPercentage4>
      <DiscountPercentage5>1</DiscountPercentage5>
      <VATRateID>sample string 13</VATRateID>
      <VATRatePercent>1</VATRatePercent>
      <VATCalculated>sample string 14</VATCalculated>
      <VATRateDescription>sample string 15</VATRateDescription>
      <VATInvoiceType>sample string 16</VATInvoiceType>
      <CostCenterID>sample string 17</CostCenterID>
      <CostUnitID>sample string 18</CostUnitID>
      <ClerkID>sample string 19</ClerkID>
      <WorkOrderId>sample string 20</WorkOrderId>
      <AnalyticID>sample string 21</AnalyticID>
      <Status>sample string 22</Status>
      <GrossAmount>1</GrossAmount>
      <IntermediateAmount>1</IntermediateAmount>
      <NetAmount>1</NetAmount>
      <DiscountAmount>1</DiscountAmount>
      <RebateAmount>1</RebateAmount>
      <VATAmount>1</VATAmount>
      <RebateValue>1</RebateValue>
      <DiscountValue>1</DiscountValue>
      <Note>sample string 23</Note>
      <ConsigmentWerehouseID>sample string 24</ConsigmentWerehouseID>
      <WHType2ID>sample string 25</WHType2ID>
      <PriceIncludeVAT>true</PriceIncludeVAT>
    </DispatchAdviceLine>
    <DispatchAdviceLine>
      <LineNumber>1</LineNumber>
      <LineSequence>2</LineSequence>
      <ItemID>sample string 3</ItemID>
      <ItemIDType>sample string 4</ItemIDType>
      <Quantity>1</Quantity>
      <Series>sample string 5</Series>
      <ItemComparisonCode>sample string 6</ItemComparisonCode>
      <ItemTitle1>sample string 7</ItemTitle1>
      <ItemTitle2>sample string 8</ItemTitle2>
      <ItemDescription>sample string 9</ItemDescription>
      <WarehouseID>sample string 10</WarehouseID>
      <Price>1</Price>
      <UnitsForPrice>11</UnitsForPrice>
      <UnitsOfMeasure>sample string 12</UnitsOfMeasure>
      <DiscountPercentage>1</DiscountPercentage>
      <DiscountPercentage2>1</DiscountPercentage2>
      <DiscountPercentage3>1</DiscountPercentage3>
      <DiscountPercentage4>1</DiscountPercentage4>
      <DiscountPercentage5>1</DiscountPercentage5>
      <VATRateID>sample string 13</VATRateID>
      <VATRatePercent>1</VATRatePercent>
      <VATCalculated>sample string 14</VATCalculated>
      <VATRateDescription>sample string 15</VATRateDescription>
      <VATInvoiceType>sample string 16</VATInvoiceType>
      <CostCenterID>sample string 17</CostCenterID>
      <CostUnitID>sample string 18</CostUnitID>
      <ClerkID>sample string 19</ClerkID>
      <WorkOrderId>sample string 20</WorkOrderId>
      <AnalyticID>sample string 21</AnalyticID>
      <Status>sample string 22</Status>
      <GrossAmount>1</GrossAmount>
      <IntermediateAmount>1</IntermediateAmount>
      <NetAmount>1</NetAmount>
      <DiscountAmount>1</DiscountAmount>
      <RebateAmount>1</RebateAmount>
      <VATAmount>1</VATAmount>
      <RebateValue>1</RebateValue>
      <DiscountValue>1</DiscountValue>
      <Note>sample string 23</Note>
      <ConsigmentWerehouseID>sample string 24</ConsigmentWerehouseID>
      <WHType2ID>sample string 25</WHType2ID>
      <PriceIncludeVAT>true</PriceIncludeVAT>
    </DispatchAdviceLine>
  </DispatchAdviceLines>
</DispatchAdviceHeader>

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>