c45_pb

sales document order response

Dec 8th, 2020 (edited)
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.57 KB | None | 0 0
  1. <Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
  2.    <Soap:Body>
  3.       <ImportSalesDocument_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/CloudES">
  4.          <return_value>Success!</return_value>
  5.          <xMLSalesDocument>
  6.             <API_ID xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">1234</API_ID>
  7.             <API_Key xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">Q3#Kp1_iT</API_Key>
  8.             <SalesDocument DocumentType="Order" xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">
  9.                <Order_ID>6376567</Order_ID>
  10.                <Order_CaseID>0006</Order_CaseID>
  11.                <Order_Date>2019-12-20</Order_Date>
  12.                <Order_PostingDate>2019-12-21</Order_PostingDate>
  13.                <Order_DueDate>2019-12-25</Order_DueDate>
  14.                <Order_PaymentDueDateFormula>30D</Order_PaymentDueDateFormula>
  15.                <Order_RequisitionNo/>
  16.                <Order_InvoiceNo/>
  17.                <Order_InvoiceStatus/>
  18.                <Order_CurrencyCode/>
  19.                <Order_TotalAmountExclVAT>100</Order_TotalAmountExclVAT>
  20.                <Order_TotalAmountInclVAT>125</Order_TotalAmountInclVAT>
  21.                <Order_NoOfLines>1</Order_NoOfLines>
  22.                <Order_Comment>testing sales order rand</Order_Comment>
  23.                <CustomerInfo>
  24.                   <SellTo_CustomerNo>Cust_123</SellTo_CustomerNo>
  25.                   <BillTo_CustomerNo>Cust_123</BillTo_CustomerNo>
  26.                </CustomerInfo>
  27.                <ShipToInfo>
  28.                   <ShipTo_Name>John Wick</ShipTo_Name>
  29.                   <ShipTo_Name2/>
  30.                   <ShipTo_Attention/>
  31.                   <ShipTo_Address>80, Vincent St</ShipTo_Address>
  32.                   <ShipTo_Address2/>
  33.                   <ShipTo_PostCode>21219988</ShipTo_PostCode>
  34.                   <ShipTo_City>Kiev</ShipTo_City>
  35.                   <ShipTo_CountryCode>UKR</ShipTo_CountryCode>
  36.                </ShipToInfo>
  37.                <SalesLines>
  38.                   <SalesLine>
  39.                      <Line_Type/>
  40.                      <Line_No/>
  41.                      <Line_Description/>
  42.                      <Line_Description2/>
  43.                      <Line_Quantity/>
  44.                      <Line_UnitOfMeasureCode/>
  45.                      <Line_UnitPrice/>
  46.                      <Line_LineDiscountPct/>
  47.                      <Line_LineVATPct/>
  48.                   </SalesLine>
  49.                </SalesLines>
  50.             </SalesDocument>
  51.          </xMLSalesDocument>
  52.       </ImportSalesDocument_Result>
  53.    </Soap:Body>
  54. </Soap:Envelope>
Add Comment
Please, Sign In to add comment