POST api/v2/DispatchAdvice/AddDispatchAdvice
Request Information
URI Parameters
None.
Body Parameters
DispatchAdviceHeaderV2| Name | Description | Type | Additional information |
|---|---|---|---|
| DispatchAdviceYear | integer |
None. |
|
| DispatchAdviceBook | string |
None. |
|
| DispatchAdviceNumber | integer |
None. |
|
| WarehouseID | string |
None. |
|
| CustomerID | string |
None. |
|
| CustomerPayerID | string |
None. |
|
| DispatchAdviceDate | date |
None. |
|
| DeliveryDate | string |
None. |
|
| ConfirmationDate | string |
None. |
|
| CustomerConfirmationDate | date |
None. |
|
| DeliveryAddress | string |
None. |
|
| DeliveryMethod | string |
None. |
|
| CurrencyID | string |
None. |
|
| PriceListID | string |
None. |
|
| LanguageID | string |
None. |
|
| VATCalculated | string |
None. |
|
| VATInvoiceType | string |
None. |
|
| CustomerDeliveryDate | date |
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. |
|
| ExchangeRateDate | date |
None. |
|
| ExchangeRate | decimal number |
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. |
|
| ParityCode | string |
None. |
|
| ParityPlace | string |
None. |
|
| RebateAmountDocument | decimal number |
None. |
|
| PaymentPurposeCode | string |
None. |
|
| DocumentSalesType | string |
None. |
|
| CashOperation | boolean |
None. |
|
| CashierID | string |
None. |
|
| PaymentPurposeID | string |
None. |
|
| AttachmentID | string |
None. |
|
| AttachmentIDDeliveryNote | string |
None. |
|
| AnnexID | string |
None. |
|
| FolderID | string |
None. |
|
| DiscountGroupID | string |
None. |
|
| Consigment | boolean |
None. |
|
| ConsigmentWarehouseID | string |
None. |
|
| TrackingNumber | string |
None. |
|
| CustomerClerkID | string |
None. |
|
| CustomerClerkSEQ | string |
None. |
|
| UnloadingTime | date |
None. |
|
| UnloadingNote | string |
None. |
|
| LocationID | string |
None. |
|
| CarrierID | string |
None. |
|
| VehicleRegistrationNumber | string |
None. |
|
| TrailerRegistrationNumber | string |
None. |
|
| Driver | string |
None. |
|
| ExciseDuty | boolean |
None. |
|
| DiscountAmountType | boolean |
None. |
|
| DiscountCalculationMethod | boolean |
None. |
|
| OrderType | string |
None. |
|
| TransferNumber | integer |
None. |
|
| IssueGoodsDate | date |
None. |
|
| Analytics_AN1_ID | string |
None. |
|
| Analytics_AN2_ID | string |
None. |
|
| Analytics_AN3_ID | string |
None. |
|
| DeliveryPlace | string |
None. |
|
| DocumentDeliveryTitle1 | string |
None. |
|
| DocumentDeliveryTitle2 | string |
None. |
|
| DocumentDeliveryTitle3 | string |
None. |
|
| DocumentDeliveryAddress | string |
None. |
|
| DocumentDeliveryHouseNo | string |
None. |
|
| DocumentDeliveryPostalCode | string |
None. |
|
| DocumentDeliveryCity | string |
None. |
|
| DocumentDeliveryCountry | string |
None. |
|
| ReadyForPickup | boolean |
None. |
|
| ReadyForPickupDateTime | date |
None. |
|
| PaymentMethod | string |
None. |
|
| RequiredPrepaymentPercent | decimal number |
None. |
|
| VATTaxCategory | string |
None. |
|
| mojPOSGUID | string |
None. |
|
| BusinessPremiseId | string |
None. |
|
| ElectronicDeviceId | string |
None. |
|
| DraftNamemojPOS | string |
None. |
|
| PrintCopies | string |
None. |
|
| DeliveryNoteNumbermojPOS | integer |
None. |
|
| DeliveryNoteBackendNumber | string |
None. |
|
| DocumentNumberIDmojPOS | string |
None. |
|
| DeliveryContactTypeID | string |
None. |
|
| DeliveryContactInTypeID | integer |
None. |
|
| DeliveryContactDescription | string |
None. |
|
| DeliveryContactPhoneNo | string |
None. |
|
| DispatchAdviceLines | DispatchAdviceLinesV2_ |
None. |
|
| DispatchAdvicePaymentLines | DispatchAdvicePaymentLines |
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>2025-12-19T00:34:14.9984425+01:00</DispatchAdviceDate>
<DeliveryDate>sample string 7</DeliveryDate>
<ConfirmationDate>sample string 8</ConfirmationDate>
<CustomerConfirmationDate>2025-12-19T00:34:14.9994443+01:00</CustomerConfirmationDate>
<DeliveryAddress>sample string 9</DeliveryAddress>
<DeliveryMethod>sample string 10</DeliveryMethod>
<CurrencyID>sample string 11</CurrencyID>
<PriceListID>sample string 12</PriceListID>
<LanguageID>sample string 13</LanguageID>
<VATCalculated>sample string 14</VATCalculated>
<VATInvoiceType>sample string 15</VATInvoiceType>
<CustomerDeliveryDate>2025-12-19T00:34:14.9994443+01:00</CustomerDeliveryDate>
<NetDays>1</NetDays>
<OrderNotice>sample string 16</OrderNotice>
<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>
<QuotationYear>1</QuotationYear>
<QuotationNumber>sample string 22</QuotationNumber>
<Comment>sample string 23</Comment>
<DocumentHeaderDescription>sample string 24</DocumentHeaderDescription>
<DocumentFooterDescription>sample string 25</DocumentFooterDescription>
<ExchangeRateDate>2025-12-19T00:34:14.9994443+01:00</ExchangeRateDate>
<ExchangeRate>1</ExchangeRate>
<RebatePercentage>1</RebatePercentage>
<RebatePercentage2>1</RebatePercentage2>
<RebatePercentage3>1</RebatePercentage3>
<RebatePercentage4>1</RebatePercentage4>
<RebatePercentage5>1</RebatePercentage5>
<InvoiceBook>sample string 26</InvoiceBook>
<AccountingBookGroupID>sample string 27</AccountingBookGroupID>
<ParityCode>sample string 28</ParityCode>
<ParityPlace>sample string 29</ParityPlace>
<RebateAmountDocument>1</RebateAmountDocument>
<PaymentPurposeCode>sample string 30</PaymentPurposeCode>
<DocumentSalesType>sample string 31</DocumentSalesType>
<CashOperation>true</CashOperation>
<CashierID>sample string 32</CashierID>
<PaymentPurposeID>sample string 33</PaymentPurposeID>
<AttachmentID>sample string 34</AttachmentID>
<AttachmentIDDeliveryNote>sample string 35</AttachmentIDDeliveryNote>
<AnnexID>sample string 36</AnnexID>
<FolderID>sample string 37</FolderID>
<DiscountGroupID>sample string 38</DiscountGroupID>
<Consigment>true</Consigment>
<ConsigmentWarehouseID>sample string 39</ConsigmentWarehouseID>
<TrackingNumber>sample string 40</TrackingNumber>
<CustomerClerkID>sample string 41</CustomerClerkID>
<CustomerClerkSEQ>sample string 42</CustomerClerkSEQ>
<UnloadingTime>2025-12-19T00:34:14.9994443+01:00</UnloadingTime>
<UnloadingNote>sample string 43</UnloadingNote>
<LocationID>sample string 44</LocationID>
<CarrierID>sample string 45</CarrierID>
<VehicleRegistrationNumber>sample string 46</VehicleRegistrationNumber>
<TrailerRegistrationNumber>sample string 47</TrailerRegistrationNumber>
<Driver>sample string 48</Driver>
<ExciseDuty>true</ExciseDuty>
<DiscountAmountType>true</DiscountAmountType>
<DiscountCalculationMethod>true</DiscountCalculationMethod>
<OrderType>sample string 49</OrderType>
<TransferNumber>1</TransferNumber>
<IssueGoodsDate>2025-12-19T00:34:15.0004435+01:00</IssueGoodsDate>
<Analytics_AN1_ID>sample string 50</Analytics_AN1_ID>
<Analytics_AN2_ID>sample string 51</Analytics_AN2_ID>
<Analytics_AN3_ID>sample string 52</Analytics_AN3_ID>
<DeliveryPlace>sample string 53</DeliveryPlace>
<DocumentDeliveryTitle1>sample string 54</DocumentDeliveryTitle1>
<DocumentDeliveryTitle2>sample string 55</DocumentDeliveryTitle2>
<DocumentDeliveryTitle3>sample string 56</DocumentDeliveryTitle3>
<DocumentDeliveryAddress>sample string 57</DocumentDeliveryAddress>
<DocumentDeliveryHouseNo>sample string 58</DocumentDeliveryHouseNo>
<DocumentDeliveryPostalCode>sample string 59</DocumentDeliveryPostalCode>
<DocumentDeliveryCity>sample string 60</DocumentDeliveryCity>
<DocumentDeliveryCountry>sample string 61</DocumentDeliveryCountry>
<ReadyForPickup>true</ReadyForPickup>
<ReadyForPickupDateTime>2025-12-19T00:34:15.0004435+01:00</ReadyForPickupDateTime>
<PaymentMethod>sample string 62</PaymentMethod>
<RequiredPrepaymentPercent>1</RequiredPrepaymentPercent>
<VATTaxCategory>sample string 63</VATTaxCategory>
<mojPOSGUID>sample string 64</mojPOSGUID>
<BusinessPremiseId>sample string 65</BusinessPremiseId>
<ElectronicDeviceId>sample string 66</ElectronicDeviceId>
<DraftNamemojPOS>sample string 67</DraftNamemojPOS>
<PrintCopies>sample string 68</PrintCopies>
<DeliveryNoteNumbermojPOS>1</DeliveryNoteNumbermojPOS>
<DeliveryNoteBackendNumber>sample string 69</DeliveryNoteBackendNumber>
<DocumentNumberIDmojPOS>sample string 70</DocumentNumberIDmojPOS>
<DeliveryContactTypeID>sample string 71</DeliveryContactTypeID>
<DeliveryContactInTypeID>1</DeliveryContactInTypeID>
<DeliveryContactDescription>sample string 72</DeliveryContactDescription>
<DeliveryContactPhoneNo>sample string 73</DeliveryContactPhoneNo>
<DispatchAdviceLines>
<DispatchAdviceLine>
<LineNumber>1</LineNumber>
<OrderYear>1</OrderYear>
<OrderNumber>1</OrderNumber>
<OrderLineNumber>1</OrderLineNumber>
<ItemID>sample string 2</ItemID>
<ItemIDType>sample string 3</ItemIDType>
<Quantity>1</Quantity>
<Series>sample string 4</Series>
<ItemTitle1>sample string 5</ItemTitle1>
<ItemTitle2>sample string 6</ItemTitle2>
<ItemDescription>sample string 7</ItemDescription>
<WarehouseID>sample string 8</WarehouseID>
<Price>1</Price>
<PriceWithVAT>1</PriceWithVAT>
<UnitOfMeasure>sample string 9</UnitOfMeasure>
<DiscountPercentage>1</DiscountPercentage>
<DiscountPercentage2>1</DiscountPercentage2>
<DiscountPercentage3>1</DiscountPercentage3>
<DiscountPercentage4>1</DiscountPercentage4>
<DiscountPercentage5>1</DiscountPercentage5>
<VATRateID>sample string 10</VATRateID>
<VATRatePercent>1</VATRatePercent>
<VATCalculated>sample string 11</VATCalculated>
<VATInvoiceType>sample string 12</VATInvoiceType>
<CostCenterID>sample string 13</CostCenterID>
<CostUnitID>sample string 14</CostUnitID>
<ClerkID>sample string 15</ClerkID>
<WorkOrderId>sample string 16</WorkOrderId>
<AnalyticID>sample string 17</AnalyticID>
<DiscountAmountAmount>1</DiscountAmountAmount>
<Note>sample string 18</Note>
<ConsigmentWarehouseID>sample string 19</ConsigmentWarehouseID>
<WHType2ID>sample string 20</WHType2ID>
<PriceIncludeVAT>true</PriceIncludeVAT>
<DeliveryDate>2025-12-19T00:34:15.0014436+01:00</DeliveryDate>
<QuotationYear>1</QuotationYear>
<QuotationNumber>sample string 21</QuotationNumber>
<TextLine>true</TextLine>
<ExpirationDate>2025-12-19T00:34:15.0014436+01:00</ExpirationDate>
<CustomerDeliveryDate>2025-12-19T00:34:15.0014436+01:00</CustomerDeliveryDate>
<NumberOfPackages>1</NumberOfPackages>
<ExciseDuty>true</ExciseDuty>
<ExciseDutyID>sample string 22</ExciseDutyID>
<Analytics_AN1_ID>sample string 23</Analytics_AN1_ID>
<Analytics_AN2_ID>sample string 24</Analytics_AN2_ID>
<Analytics_AN3_ID>sample string 25</Analytics_AN3_ID>
<VATTaxCategory>sample string 26</VATTaxCategory>
<DispatchAdviceLinePallets>
<DispatchAdviceLinePallet>
<PalletLineNumber>1</PalletLineNumber>
<PalletSerialNo>2</PalletSerialNo>
<PalletSSCC>sample string 3</PalletSSCC>
<QuantityOnPallet>1</QuantityOnPallet>
</DispatchAdviceLinePallet>
<DispatchAdviceLinePallet>
<PalletLineNumber>1</PalletLineNumber>
<PalletSerialNo>2</PalletSerialNo>
<PalletSSCC>sample string 3</PalletSSCC>
<QuantityOnPallet>1</QuantityOnPallet>
</DispatchAdviceLinePallet>
</DispatchAdviceLinePallets>
</DispatchAdviceLine>
<DispatchAdviceLine>
<LineNumber>1</LineNumber>
<OrderYear>1</OrderYear>
<OrderNumber>1</OrderNumber>
<OrderLineNumber>1</OrderLineNumber>
<ItemID>sample string 2</ItemID>
<ItemIDType>sample string 3</ItemIDType>
<Quantity>1</Quantity>
<Series>sample string 4</Series>
<ItemTitle1>sample string 5</ItemTitle1>
<ItemTitle2>sample string 6</ItemTitle2>
<ItemDescription>sample string 7</ItemDescription>
<WarehouseID>sample string 8</WarehouseID>
<Price>1</Price>
<PriceWithVAT>1</PriceWithVAT>
<UnitOfMeasure>sample string 9</UnitOfMeasure>
<DiscountPercentage>1</DiscountPercentage>
<DiscountPercentage2>1</DiscountPercentage2>
<DiscountPercentage3>1</DiscountPercentage3>
<DiscountPercentage4>1</DiscountPercentage4>
<DiscountPercentage5>1</DiscountPercentage5>
<VATRateID>sample string 10</VATRateID>
<VATRatePercent>1</VATRatePercent>
<VATCalculated>sample string 11</VATCalculated>
<VATInvoiceType>sample string 12</VATInvoiceType>
<CostCenterID>sample string 13</CostCenterID>
<CostUnitID>sample string 14</CostUnitID>
<ClerkID>sample string 15</ClerkID>
<WorkOrderId>sample string 16</WorkOrderId>
<AnalyticID>sample string 17</AnalyticID>
<DiscountAmountAmount>1</DiscountAmountAmount>
<Note>sample string 18</Note>
<ConsigmentWarehouseID>sample string 19</ConsigmentWarehouseID>
<WHType2ID>sample string 20</WHType2ID>
<PriceIncludeVAT>true</PriceIncludeVAT>
<DeliveryDate>2025-12-19T00:34:15.0014436+01:00</DeliveryDate>
<QuotationYear>1</QuotationYear>
<QuotationNumber>sample string 21</QuotationNumber>
<TextLine>true</TextLine>
<ExpirationDate>2025-12-19T00:34:15.0014436+01:00</ExpirationDate>
<CustomerDeliveryDate>2025-12-19T00:34:15.0014436+01:00</CustomerDeliveryDate>
<NumberOfPackages>1</NumberOfPackages>
<ExciseDuty>true</ExciseDuty>
<ExciseDutyID>sample string 22</ExciseDutyID>
<Analytics_AN1_ID>sample string 23</Analytics_AN1_ID>
<Analytics_AN2_ID>sample string 24</Analytics_AN2_ID>
<Analytics_AN3_ID>sample string 25</Analytics_AN3_ID>
<VATTaxCategory>sample string 26</VATTaxCategory>
<DispatchAdviceLinePallets>
<DispatchAdviceLinePallet>
<PalletLineNumber>1</PalletLineNumber>
<PalletSerialNo>2</PalletSerialNo>
<PalletSSCC>sample string 3</PalletSSCC>
<QuantityOnPallet>1</QuantityOnPallet>
</DispatchAdviceLinePallet>
<DispatchAdviceLinePallet>
<PalletLineNumber>1</PalletLineNumber>
<PalletSerialNo>2</PalletSerialNo>
<PalletSSCC>sample string 3</PalletSSCC>
<QuantityOnPallet>1</QuantityOnPallet>
</DispatchAdviceLinePallet>
</DispatchAdviceLinePallets>
</DispatchAdviceLine>
</DispatchAdviceLines>
<DispatchAdvicePaymentLines>
<DispatchAdvicePaymentLine>
<PaymentLineNo>1</PaymentLineNo>
<PaymentPurposeID>sample string 2</PaymentPurposeID>
<PaymentAmount>1</PaymentAmount>
<PaymentDate>2025-12-19T00:34:15.0024433+01:00</PaymentDate>
<PaymentTransactionID>sample string 3</PaymentTransactionID>
</DispatchAdvicePaymentLine>
<DispatchAdvicePaymentLine>
<PaymentLineNo>1</PaymentLineNo>
<PaymentPurposeID>sample string 2</PaymentPurposeID>
<PaymentAmount>1</PaymentAmount>
<PaymentDate>2025-12-19T00:34:15.0024433+01:00</PaymentDate>
<PaymentTransactionID>sample string 3</PaymentTransactionID>
</DispatchAdvicePaymentLine>
</DispatchAdvicePaymentLines>
</DispatchAdviceHeader>
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>