GetUnviewedFiles

Returns a list of unviewed files.

Resource URL

https://onetouch.apexedi.com/secure/onetouchapi.asmx?WSDL

Code Samples

  • C#
  • Java
  • Delphi
  • SOAP 1.1
  • SOAP 1.2
  • GET
  • POST
public static void GetUnviewedFiles(string methodCall)
    {
        string content = String.Format("username={0}&password={1}", encUserName, encPassword);
        Console.WriteLine(DoHttpPost(FormatApexUrl(methodCall, ApexUrl, content)));
    }
public static void GetUnviewedFiles(String methodCall)
    {
        String content = String.format("username=%s&password=%s", encUserName, encPassword);
        System.out.println(HttpPost.DoHTTPPost(ApexUrl + methodCall, content, errors));
    }
begin
    url := apexUrl + '/' + 'GetUnviewedFiles';
    param := TStringList.create;
    param.Add('username=demo1');
    param.Add('password=medical1');
    WriteLn(PostData(url,param));
end;
POST /secure/onetouchapi.asmx HTTP/1.1
Host: onetouch.apexedi.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetUnviewedFiles"

<?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>
    <GetUnviewedFiles xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetUnviewedFiles>
  </soap:Body>
</soap:Envelope>
POST /secure/onetouchapi.asmx HTTP/1.1
Host: onetouch.apexedi.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>
    <GetUnviewedFiles xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetUnviewedFiles>
  </soap12:Body>
</soap12:Envelope>
GET /secure/onetouchapi.asmx/GetUnviewedFiles?username=string&password=string HTTP/1.1
Host: onetouch.apexedi.com
POST /secure/onetouchapi.asmx/GetUnviewedFiles HTTP/1.1
Host: onetouch.apexedi.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string

Sample Response

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>
    <GetUnviewedFilesResponse xmlns="http://tempuri.org/">
      <GetUnviewedFilesResult>string</GetUnviewedFilesResult>
    </GetUnviewedFilesResponse>
  </soap:Body>
</soap: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>
    <GetUnviewedFilesResponse xmlns="http://tempuri.org/">
      <GetUnviewedFilesResult>string</GetUnviewedFilesResult>
    </GetUnviewedFilesResponse>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>