SolutionDOC_Peppol


Click here for a complete list of operations.

ImportOrders

[Uso interno] Invia una richiesta al Servizio Peppol per il cliente e importa tutti gli ordini restituiti che corrispondono ai criteri specificati.
Gli ordini vengono registrati come transazioni e i file vengono caricati sullo storage.
Se la chiamata va a buon fine, l'oggetto Response contiene il numero di ordini che sono stati importati.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /update/SolutionDOC_Peppol.asmx HTTP/1.1
Host: dev3.solutiondocondemand.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://legal.solutiondocondemand.com/ImportOrders"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ImportOrders xmlns="https://legal.solutiondocondemand.com/">
      <username>string</username>
      <password>base64Binary</password>
      <idCliente>string</idCliente>
    </ImportOrders>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ImportOrdersResponse xmlns="https://legal.solutiondocondemand.com/">
      <ImportOrdersResult>
        <Count>int</Count>
        <LastImportedOrder>
          <InputFlowCode>string</InputFlowCode>
          <Counter>string</Counter>
          <OrderId>string</OrderId>
          <OrderIssueDate>dateTime</OrderIssueDate>
          <OrderTypeCode>int</OrderTypeCode>
          <OrderTypeCodeListId>string</OrderTypeCodeListId>
          <DocumentCurrencyCode>string</DocumentCurrencyCode>
          <DocumentCurrencyCodeListId>string</DocumentCurrencyCodeListId>
          <ValidityPeriodEndDate>dateTime</ValidityPeriodEndDate>
          <BuyerPartyEndpointId>string</BuyerPartyEndpointId>
          <BuyerPartyEndpointSchemeId>string</BuyerPartyEndpointSchemeId>
          <BuyerPartyId>string</BuyerPartyId>
          <BuyerPartySchemeId>string</BuyerPartySchemeId>
          <BuyerPartyName>string</BuyerPartyName>
          <SellerPartyEndpointId>string</SellerPartyEndpointId>
          <SellerPartyEndpointSchemeId>string</SellerPartyEndpointSchemeId>
          <SellerPartyId>string</SellerPartyId>
          <SellerPartySchemeId>string</SellerPartySchemeId>
          <SellerPartyName>string</SellerPartyName>
          <TaxTotalAmount>decimal</TaxTotalAmount>
          <TaxTotalAmountCurrencyId>string</TaxTotalAmountCurrencyId>
          <DocumentType>string</DocumentType>
          <InputFlowItemStatus>string</InputFlowItemStatus>
          <InputChannelType>string</InputChannelType>
          <PeppolStatus>string</PeppolStatus>
          <CreationDate>dateTime</CreationDate>
          <IdDocumento>string</IdDocumento>
          <IdPdV>string</IdPdV>
          <DataPdV>dateTime</DataPdV>
          <IdRdV>string</IdRdV>
          <DataRdV>dateTime</DataRdV>
          <DataPdA>dateTime</DataPdA>
          <StatoConservazione>int</StatoConservazione>
          <MessaggioConservazione>string</MessaggioConservazione>
          <IdCliente>long</IdCliente>
          <CodiceCliente>string</CodiceCliente>
          <IdPacchetto>long</IdPacchetto>
          <HashFile>string</HashFile>
          <NomeFileOriginaleOrdine>string</NomeFileOriginaleOrdine>
          <KeyS3>string</KeyS3>
          <DataImportazione>dateTime</DataImportazione>
        </LastImportedOrder>
      </ImportOrdersResult>
    </ImportOrdersResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /update/SolutionDOC_Peppol.asmx HTTP/1.1
Host: dev3.solutiondocondemand.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ImportOrders xmlns="https://legal.solutiondocondemand.com/">
      <username>string</username>
      <password>base64Binary</password>
      <idCliente>string</idCliente>
    </ImportOrders>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ImportOrdersResponse xmlns="https://legal.solutiondocondemand.com/">
      <ImportOrdersResult>
        <Count>int</Count>
        <LastImportedOrder>
          <InputFlowCode>string</InputFlowCode>
          <Counter>string</Counter>
          <OrderId>string</OrderId>
          <OrderIssueDate>dateTime</OrderIssueDate>
          <OrderTypeCode>int</OrderTypeCode>
          <OrderTypeCodeListId>string</OrderTypeCodeListId>
          <DocumentCurrencyCode>string</DocumentCurrencyCode>
          <DocumentCurrencyCodeListId>string</DocumentCurrencyCodeListId>
          <ValidityPeriodEndDate>dateTime</ValidityPeriodEndDate>
          <BuyerPartyEndpointId>string</BuyerPartyEndpointId>
          <BuyerPartyEndpointSchemeId>string</BuyerPartyEndpointSchemeId>
          <BuyerPartyId>string</BuyerPartyId>
          <BuyerPartySchemeId>string</BuyerPartySchemeId>
          <BuyerPartyName>string</BuyerPartyName>
          <SellerPartyEndpointId>string</SellerPartyEndpointId>
          <SellerPartyEndpointSchemeId>string</SellerPartyEndpointSchemeId>
          <SellerPartyId>string</SellerPartyId>
          <SellerPartySchemeId>string</SellerPartySchemeId>
          <SellerPartyName>string</SellerPartyName>
          <TaxTotalAmount>decimal</TaxTotalAmount>
          <TaxTotalAmountCurrencyId>string</TaxTotalAmountCurrencyId>
          <DocumentType>string</DocumentType>
          <InputFlowItemStatus>string</InputFlowItemStatus>
          <InputChannelType>string</InputChannelType>
          <PeppolStatus>string</PeppolStatus>
          <CreationDate>dateTime</CreationDate>
          <IdDocumento>string</IdDocumento>
          <IdPdV>string</IdPdV>
          <DataPdV>dateTime</DataPdV>
          <IdRdV>string</IdRdV>
          <DataRdV>dateTime</DataRdV>
          <DataPdA>dateTime</DataPdA>
          <StatoConservazione>int</StatoConservazione>
          <MessaggioConservazione>string</MessaggioConservazione>
          <IdCliente>long</IdCliente>
          <CodiceCliente>string</CodiceCliente>
          <IdPacchetto>long</IdPacchetto>
          <HashFile>string</HashFile>
          <NomeFileOriginaleOrdine>string</NomeFileOriginaleOrdine>
          <KeyS3>string</KeyS3>
          <DataImportazione>dateTime</DataImportazione>
        </LastImportedOrder>
      </ImportOrdersResult>
    </ImportOrdersResponse>
  </soap12:Body>
</soap12:Envelope>