API Reference

System.echoData

The system method will return back to you exactly what you are sending. Use this to check method endpoints and required arguments for the services.


Syntax

mixed system.echoData ( mixed data )

Arguments

NameTypeRequiredDefault valueDescription
datamixedRequirednone

Sample Response

Sample REST Response
http://api.filemobile.com/services/rest/system/echoData?data[methodName]=media.getFiles&data[arguments][sort]=upload%20DESC&data[arguments][vhost]=[VHOST_ID]
<?xml version="1.0" encoding="UTF-8"?>
<result>
  <service>system</service>
  <method>echoData</method>
  <arguments>
    <methodName>media.getFiles</methodName>
    <arguments>
      <sort>upload DESC</sort>
      <vhost>VHOST_ID</vhost>
    </arguments>
  </arguments>
</result>
Sample JSON Response
{
    "status": true,
    "result": {
        "service": "system",
        "method": "echoData",
        "arguments": {
            "methodName": "media.getFiles",
            "arguments": {
                "sort": "upload DESC",
                "vhost": "VHOST_ID"
            }
        }
    }
}

Code examples

0 comments

Be the first to comment on echoData.

Add a Comment

  • captcha