https://onetouch.apexedi.com/secure/onetouchapi.asmx?WSDL
Marks a particular file as viewed on the website.
Resource URL
https://onetouch.apexedi.com/secure/onetouchapi.asmx?WSDL
Code Samples
public static void MarkFileAsViewed(string methodCall)
{
string content = String.Format("username={0}&password={1}filename={2}", encUserName, encPassword, encFileName);
Console.WriteLine(DoHttpPost(FormatApexUrl(methodCall, ApexUrl, content)));
}
public static void MarkFileAsViewed(String methodCall)
{
String content = String.format("username=%s&password=%s&filename=%s", encUserName, encPassword, encFileName);
System.out.println(HttpPost.DoHTTPPost(ApexUrl + methodCall, content, errors));
}
begin
url := apexUrl + '/' + 'MarkFileAsViewed';
param := TStringList.create;
param.Add('username=[username]');
param.Add('password=[password]');
param.Add('filename=testreport.txt');
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/MarkFileAsViewed"
<?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>
<MarkFileAsViewed xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<filename>string</filename>
</MarkFileAsViewed>
</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>
<MarkFileAsViewed xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<filename>string</filename>
</MarkFileAsViewed>
</soap12:Body>
</soap12:Envelope>
GET /secure/onetouchapi.asmx/MarkFileAsViewed?username=string&password=string&filename=string HTTP/1.1 Host: onetouch.apexedi.com
POST /secure/onetouchapi.asmx/MarkFileAsViewed HTTP/1.1 Host: onetouch.apexedi.com Content-Type: application/x-www-form-urlencoded Content-Length: length username=string&password=string&filename=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>
<MarkFileAsViewedResponse xmlns="http://tempuri.org/">
<MarkFileAsViewedResult>string</MarkFileAsViewedResult>
</MarkFileAsViewedResponse>
</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>
<MarkFileAsViewedResponse xmlns="http://tempuri.org/">
<MarkFileAsViewedResult>string</MarkFileAsViewedResult>
</MarkFileAsViewedResponse>
</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>