WSEInvoice


Click here for a complete list of operations.

GetRemianingEinvoices

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 /WebServices/WSEInvoice.asmx HTTP/1.1
Host: beta.emessagemio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://mio.emessage.it/GetRemianingEinvoices"

<?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>
    <GetRemianingEinvoices xmlns="http://mio.emessage.it/">
      <Username>string</Username>
      <Password>string</Password>
      <InvoiceItem>
        <Id>int</Id>
        <UserID>int</UserID>
        <RootID>int</RootID>
        <GroupID>int</GroupID>
        <Source>string</Source>
        <Destination>string</Destination>
        <CreationDate>dateTime</CreationDate>
        <P7M>
          <FileID>int</FileID>
          <Filename>string</Filename>
          <FileData>base64Binary</FileData>
          <File>string</File>
        </P7M>
        <Status>Received or ReceivedClicked or ReceivedRegistered or ReceivedToRegister or RequestAccepted or Accepted or ToAccept or RequestRejected or Rejected or ToReject or ToPrint or Printed or Paid or Error</Status>
        <VisStatus>int</VisStatus>
        <SDICode>string</SDICode>
        <FileName>string</FileName>
        <DestinationCode>string</DestinationCode>
        <DocReason>string</DocReason>
        <InvoiceFormat>string</InvoiceFormat>
        <Format>string</Format>
        <Messageid>string</Messageid>
        <Note>string</Note>
        <UserServicePrice>decimal</UserServicePrice>
        <UserServicePrice_FMT>string</UserServicePrice_FMT>
        <SenderName>string</SenderName>
        <ReceiverName>string</ReceiverName>
        <DocTotal>decimal</DocTotal>
        <DocType>string</DocType>
        <DocTypeDescr>string</DocTypeDescr>
        <DocDate>dateTime</DocDate>
        <DocNumber>string</DocNumber>
        <ReceiverOfficeUniqueCode>string</ReceiverOfficeUniqueCode>
        <ReportXML>string</ReportXML>
        <ReportAttachXML>string</ReportAttachXML>
        <ReportAttachPDF>string</ReportAttachPDF>
      </InvoiceItem>
      <Params>
        <OptionalParameters>
          <Name>string</Name>
          <Value />
        </OptionalParameters>
        <OptionalParameters>
          <Name>string</Name>
          <Value />
        </OptionalParameters>
      </Params>
    </GetRemianingEinvoices>
  </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>
    <GetRemianingEinvoicesResponse xmlns="http://mio.emessage.it/">
      <GetRemianingEinvoicesResult>
        <Success>boolean</Success>
        <Data>string</Data>
        <Error>string</Error>
        <CodeError>int</CodeError>
        <OptionalResults>
          <OptionalResults>
            <Name>string</Name>
            <Value />
          </OptionalResults>
          <OptionalResults>
            <Name>string</Name>
            <Value />
          </OptionalResults>
        </OptionalResults>
      </GetRemianingEinvoicesResult>
    </GetRemianingEinvoicesResponse>
  </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 /WebServices/WSEInvoice.asmx HTTP/1.1
Host: beta.emessagemio.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>
    <GetRemianingEinvoices xmlns="http://mio.emessage.it/">
      <Username>string</Username>
      <Password>string</Password>
      <InvoiceItem>
        <Id>int</Id>
        <UserID>int</UserID>
        <RootID>int</RootID>
        <GroupID>int</GroupID>
        <Source>string</Source>
        <Destination>string</Destination>
        <CreationDate>dateTime</CreationDate>
        <P7M>
          <FileID>int</FileID>
          <Filename>string</Filename>
          <FileData>base64Binary</FileData>
          <File>string</File>
        </P7M>
        <Status>Received or ReceivedClicked or ReceivedRegistered or ReceivedToRegister or RequestAccepted or Accepted or ToAccept or RequestRejected or Rejected or ToReject or ToPrint or Printed or Paid or Error</Status>
        <VisStatus>int</VisStatus>
        <SDICode>string</SDICode>
        <FileName>string</FileName>
        <DestinationCode>string</DestinationCode>
        <DocReason>string</DocReason>
        <InvoiceFormat>string</InvoiceFormat>
        <Format>string</Format>
        <Messageid>string</Messageid>
        <Note>string</Note>
        <UserServicePrice>decimal</UserServicePrice>
        <UserServicePrice_FMT>string</UserServicePrice_FMT>
        <SenderName>string</SenderName>
        <ReceiverName>string</ReceiverName>
        <DocTotal>decimal</DocTotal>
        <DocType>string</DocType>
        <DocTypeDescr>string</DocTypeDescr>
        <DocDate>dateTime</DocDate>
        <DocNumber>string</DocNumber>
        <ReceiverOfficeUniqueCode>string</ReceiverOfficeUniqueCode>
        <ReportXML>string</ReportXML>
        <ReportAttachXML>string</ReportAttachXML>
        <ReportAttachPDF>string</ReportAttachPDF>
      </InvoiceItem>
      <Params>
        <OptionalParameters>
          <Name>string</Name>
          <Value />
        </OptionalParameters>
        <OptionalParameters>
          <Name>string</Name>
          <Value />
        </OptionalParameters>
      </Params>
    </GetRemianingEinvoices>
  </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>
    <GetRemianingEinvoicesResponse xmlns="http://mio.emessage.it/">
      <GetRemianingEinvoicesResult>
        <Success>boolean</Success>
        <Data>string</Data>
        <Error>string</Error>
        <CodeError>int</CodeError>
        <OptionalResults>
          <OptionalResults>
            <Name>string</Name>
            <Value />
          </OptionalResults>
          <OptionalResults>
            <Name>string</Name>
            <Value />
          </OptionalResults>
        </OptionalResults>
      </GetRemianingEinvoicesResult>
    </GetRemianingEinvoicesResponse>
  </soap12:Body>
</soap12:Envelope>