<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?enunciate-assumed-base-uri ./?>
<wadl:application xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <wadl:doc xmlns:enunciate="http://enunciate.webcohesion.com/" enunciate:generatedBy="Enunciate-2.0"/>
  
  <wadl:grammars>
    <wadl:include href="ns0.xsd"/>
    <wadl:include href="ns1.xsd"/>
    <wadl:include href="model.xsd"/>
  </wadl:grammars>

  <wadl:resources base="./">

    <wadl:resource path="rs/applicationDiagnostics">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[A REST call that runs an application diagnostics test and captures all of the information that the system currently has.
This information includes items such as Java version, configurations, etc. <br>

<b>Note: </b> The file for the diagnostics is created asynchronously and can be found under your INSTALL_PATH/diagnostics]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/command">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Inputs an allowed command to FCServer.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Required, command data for the call to use]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:command">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Result of the command execution]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:generalResponse"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/config">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retreives all current configuration properties]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all configuration properties]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:dataItems"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/config">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Updates all configurations with new values]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New configuration values]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:dataItems">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the inputed model if successful, or an exception object if not]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Default connection method. Connection info is passed into the request via
query parameters.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="accessToken" style="query">
            <wadl:doc><![CDATA[This is an OAUTH token provided by an
Authentication server and overrides the
user/password combination.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="clientID" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="connectionMode" style="query">
            <wadl:doc><![CDATA[Desired connection mode for this connection
key. If set to -1, then TransferAgent will
cache the first valid mode]]></wadl:doc>
          </wadl:param>
          <wadl:param name="connectionType" style="query">
            <wadl:doc><![CDATA[Desired connection type for this connection.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="createDirectoryOnConnect" style="query">
            <wadl:doc><![CDATA[Whether or not you want to create the initial
directory on connect if it doesn't exist]]></wadl:doc>
          </wadl:param>
          <wadl:param name="id" style="query">
            <wadl:doc><![CDATA[Optional If left blank, all transfers will
use a single multiclient manager and calling
cancel on one transfer will in turn cancel
all transfers. Passing in an ID allows the
developer to control concurrent transfers
independently]]></wadl:doc>
          </wadl:param>
          <wadl:param name="idToken" style="query">
            <wadl:doc><![CDATA[This is an OpenID token and is used in
conjunction with the authToken.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="initialDirectory" style="query">
            <wadl:doc><![CDATA[Initial directory that this connection will
use upon it's first connection to the Server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="keepSessionAlive" style="query">
            <wadl:doc><![CDATA[Whether or not the TransferAgent should keep
the session alive after a transfer completes]]></wadl:doc>
          </wadl:param>
          <wadl:param name="lockInitialDirectory" style="query">
            <wadl:doc><![CDATA[Whether or not you want to lock the user to
their initial directory]]></wadl:doc>
          </wadl:param>
          <wadl:param name="nonce" style="query">
            <wadl:doc><![CDATA[This is an OpenID token and is used in
conjunction with the authToken.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="password" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed if no
tokens. The password of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="refreshToken" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="refreshURI" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remotePort" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The port of
the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remoteServer" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The IP of
the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="servletURL" style="query">
            <wadl:doc><![CDATA[URL representing the Server's current servlet
URL. Used in HTTP transfers]]></wadl:doc>
          </wadl:param>
          <wadl:param name="username" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed if no
tokens. The user name of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="usesSSL" style="query">
            <wadl:doc><![CDATA[Whether or not the connection uses SSL or not]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the connection key for the corresponding connection
information]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[This resource is used to pass munged connection key request to FCServer in order to connect. The request is encrypted to protect
the connection information passed in.]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:mungedConnectionRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[A connection key model containing the connection key used to connect to the given server using the parameters passed in.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/heartbeat">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns OK if system is available.]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a simple "OK" model if successful]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:heartbeat"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/httpinterface">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a list of available interfaces]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all network interfaces]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:networkinterfaces"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/httpinterface">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Specifies a single HTTP interface to communicate on]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Model containing the desired HTTP host]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:httpinterface">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a 200 series HTTP response]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/httpinterface">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Binds all HTTP interfaces contained in the list]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a 200 series HTTP response]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logs">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a given number of most recent lines that occurred in TransferAgent's log file]]></wadl:doc>
        <wadl:request>
          <wadl:param name="lines" style="query">
            <wadl:doc><![CDATA[The number of log lines to be retrieved. The default value is 1000]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the given number of log lines from TransferAgent's log file]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:logs"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/origins">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns the list of blacklisted and whitelisted host addresses associated with TransferAgent]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Return a TransferAgent origins]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:origins"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/origins">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Replaces the existing origin list with new list provided]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:origins">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated origins model or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:origins"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/origins">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Adds an new origin to the TransferAgent's current whitelist.]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:origin">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated origins model or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:origins"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/path">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all the file roots for the local system]]></wadl:doc>
        <wadl:request>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the sort results. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The criteria by which to sort the returned file list. The are four methods to sort the path listings: name, size, lastmodified, and type. The "type" criteria refers to
file type; the extension of the file and whether or not it is a directory]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all the file roots or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/register">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Standard register call. Parameters are the same as the "connect" call.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="accessToken" style="query">
            <wadl:doc><![CDATA[This is an OAUTH token provided by an Authentication server and overrides the user/password combination.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="clientID" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="connectionMode" style="query">
            <wadl:doc><![CDATA[Connection mode that you wish to use for the connection. If set to -1, then TransferAgent will cache the first valid mode]]></wadl:doc>
          </wadl:param>
          <wadl:param name="connectionType" style="query">
            <wadl:doc><![CDATA[Desired connection type for this connection.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="createDirectoryOnConnect" style="query">
            <wadl:doc><![CDATA[Whether or not you want to create the remote directory on connect if it doesn't exist]]></wadl:doc>
          </wadl:param>
          <wadl:param name="id" style="query">
            <wadl:doc><![CDATA[Optional If left blank, all transfers will use a single multiclient manager and calling cancel on one transfer will in turn cancel all transfers. Passing in an ID allows the developer to control concurrent transfers independently]]></wadl:doc>
          </wadl:param>
          <wadl:param name="idToken" style="query">
            <wadl:doc><![CDATA[This is an OpenID token and is used in conjunction with the authToken.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="initialDirectory" style="query">
            <wadl:doc><![CDATA[Initial directory that this connection will use upon it's first connection to the Server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="keepConnectionAlive" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="lockInitialDirectory" style="query">
            <wadl:doc><![CDATA[Whether or not you want to lock the user to their initial directory]]></wadl:doc>
          </wadl:param>
          <wadl:param name="nonce" style="query">
            <wadl:doc><![CDATA[This is an OpenID token and is used in conjunction with the authToken.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="password" style="query">
            <wadl:doc><![CDATA[Required for the success of the call. The password of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="refreshToken" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="refreshURI" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remotePort" style="query">
            <wadl:doc><![CDATA[Required for the success of the call. The port of the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remoteServer" style="query">
            <wadl:doc><![CDATA[Required for the success of the call. The IP of the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="servletURL" style="query">
            <wadl:doc><![CDATA[URL representing the Server's current servlet URL. Used in HTTP transfers]]></wadl:doc>
          </wadl:param>
          <wadl:param name="username" style="query">
            <wadl:doc><![CDATA[Required for the success of the call. The user name of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="usesSSL" style="query">
            <wadl:doc><![CDATA[Whether or not the connection uses SSL or not]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a connection key for the given instance of FCWeb]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/register">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Standard register call. Parameters are the same as the "connect" call. This call is made with a munged request string]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Encrypted connection request to be used]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:mungedConnectionRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a connection key for the given instance of FCWeb]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/remoteControlAuthorization">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:sessionAuthorization">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:sessionInfo"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/remoteControlAuthorization">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[]]></wadl:doc>
        <wadl:request>
          <wadl:param name="logLevel" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:sessionInfo"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/reports">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Retrieves all reports matching a particular criterion]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:ReportsRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a model containing the report information]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:Reports"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/reports">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves all TransferAgent reports]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a model containing the report information]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:Reports"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/serviceStatus">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the current status of all service related parameters. The statuses
are whether the service is installed, whether or not the service is enabled,
whether or not the service is currently running, and whether or not the user
actually has permission to manipulate the service]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a success or error message]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:serviceStatus"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/serviceStatus">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Installs the TransferAgent as a service]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Model containing information on how you like to set up
your TransferAgent service]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:serviceStatus">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a success or error message]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/serviceStatus">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Removes TransferAgent from the service list. If the application is currently
running as a service the call will also shutdown the application]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Return OK.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:serviceStatus"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/shutdown">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Shuts down the TransferAgent and logs the entity that requests the shutdown]]></wadl:doc>
        <wadl:request>
          <wadl:param name="requester" style="query">
            <wadl:doc><![CDATA[The entity that request sent this shutdown request]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a success or error message]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all sites found in the system.]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Return all sites found in the system or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Adds a new site. The newly created site will be returned.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[The new site to add]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:site">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the new site with the newly created site ID]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes sites passed on the generic id model]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:generalIDmodel">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns no content or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/status">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Retrieves the status of a specified transfer via a POST call. This one of two calls that perform the same task. The only difference is the REST method types. This is a POST,
the other is a GET]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:statusRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns an object containing the status of the transfer. If an error occurs a RESTFault will be returned]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:transferDetails"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/status">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns statuses for all active transfers]]></wadl:doc>
        <wadl:request>
          <wadl:param name="id" style="query">
            <wadl:doc><![CDATA[Comma separated list for the transfers that you would like. If this is blank, then all statuses are returned]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns an object containing the status of the transfer. If an error occurs a RESTFault will be returned]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:allTransferDetails"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/system">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Adds a particular system property to the TransferAgent]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New system property to add]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:dataItem">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[DataItemModel Model that was given as parameter to this call]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:dataItem"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/system">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves all or a set of host machine system configuration values]]></wadl:doc>
        <wadl:request>
          <wadl:param name="propertiesSet" style="query">
            <wadl:doc><![CDATA[The set of properties to retrieve. If none are specified, all configurations are returned]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[DataItemsModel Returns all current system properties]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:dataItems"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/tasks">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Adds a new task. The newly created task will be returned]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[The new task to add]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:task">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[New task with the newly created task ID]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/tasks">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves all tasks found in the system.]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all tasks found in the system or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/userDetails">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the details for a given user, specified using a connection key]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[The connection key for the server you wish to connect to]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the user's username and email address]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:userDetails"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/userDetails">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Modifies the user's full name and email values]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Model containing the user's new name and email address]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:userDetails">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns OK if operation was successful or a corresponding error message]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:userDetails"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/userPermissions">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the permissions set on a given user]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[The connection key for the server and user you wish to access]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the set of permissions that the user currently has]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:userPermissions"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/version">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the version of the TransferAgent. Logs a string containing the requesters ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="requester" style="query">
            <wadl:doc><![CDATA[Requester that request the version string]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return RESTModel containing the current version information.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:Version"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/virtualPaths">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves all current virtual paths within the TransferAgent]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the current virtual paths]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:VirtualPaths"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/virtualPaths">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Updates a given virtual path. Returns an error message if any of the models contain illegal characters for the current OS or
if any of provided virtual paths cannot be found on the local file system.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New virtual path to add]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:VirtualPaths">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated virtual paths model]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/weblink">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Generates a new weblink and delivers the link to each address listed in the request body]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:weblink">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[New weblink associated with the values that were supplied]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:weblink"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/weblink">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Removes files from a given weblink]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Files to remove from weblink]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:weblink">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Model containing the status file removal operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:weblinkFileRemoval"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/weblink">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns the status of given weblink]]></wadl:doc>
        <wadl:request>
          <wadl:param name="weblinkID" style="query">
            <wadl:doc><![CDATA[ID of the desired weblink]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Status model that containing details of the weblink's status]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:weblink"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/local">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all the file roots.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the file listing. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The value by which to sort the returned file list]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the roots of the local machine or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Performs a specific file operation without specifying the path in the URI. Operations include: rename, deletion, and create
directories

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Model containing the data for the file operation]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:fileOperation">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the result of the file operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes a collection of files from the file system.

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:generalIDmodel">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[If call is successful, the REST resource will reply with an EmptyModel. If the call fails, the resource
will reply with a GenericExceptionsModel.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/remote">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all the file roots on an instance of FCServer. All file roots in a given user's root will be listed. The user to be searched is specified in the connection key]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the sort results. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="isInitial" style="query">
            <wadl:doc><![CDATA[Whether or not the listing is the initial one]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The value by which to sort the returned file list.]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all the files within a particular remote directory. If an error occurs, a RESTFault will be returned]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes a collection of files on an instance of FCServer. Files to be deleted are supplied in the request body in the form of a RemoteGenericIDsModel]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:generalIDmodel">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the status of the deletion operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns the details of the FCServer root directory.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the status of the deletion operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Performs a specified file operation. The operation is specified using a RemoteFileOperationModel supplied in the request body]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Model containing the data needed for file operation]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:remoteFileOperation">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns an empty REST model]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/transfer">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Transfers the given set of files]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Request payload for the given transfer]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:oldTransferRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the transfered files or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:oldTransferRequest"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/transferRev1">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Transfer resource for transferring single files at a time]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Request for the given transfer]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:transferRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return transfered files or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/transferRev1">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[The main REST call for transferring a collection of files to a destination.
In order to initiate a transfer to a desired to server, please follow the
following steps: 1. Connect to a server by using either the
/rs/agent/connect, or /rs/agent/register REST services 2. Take the
connection key out of the response from the two above REST calls 3. Call
this a POST on this resource. Then supply the connectionKey in the
appropriate fields of the necessary message payload. --- For Upload
Transfers, the SourceConnectionKey is always local, and
DestinationConnectionKey has been supplied by the connect request. --- For
Download Transfers, the SourceConnectionKey has been supplied by the
connect request, and the DestinationConnectionKey is set to local. 4.
Transfer has started, you can now use the /rs/agent/status REST service to
pull information from the ongoing transfer

Note: FileList is an array of file paths.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Request for the given transfer]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:transferRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return transfered files or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/config/{property}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a specific configuration property]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return a specific TransferAgent configuration property]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:dataItem"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Configuration property to retrieve]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/config/{property}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Updates an existing configuration property with a new value]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New value for the specified configuration]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:dataItem">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated configuration property]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Configuration property to update]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/config/{property}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Removes an existing configuration property]]></wadl:doc>
        <wadl:request>
        </wadl:request>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Configuration property to remove]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/connectivityTest">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Performs a connectivity test on a given instance of FCServer.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="password" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The password of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remotePort" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The port of the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remoteServer" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The IP of the server that you wish to connect to]]></wadl:doc>
          </wadl:param>
          <wadl:param name="servletURL" style="query">
            <wadl:doc><![CDATA[URL representing the Server's current servlet URL. Used in HTTP transfers]]></wadl:doc>
          </wadl:param>
          <wadl:param name="username" style="query">
            <wadl:doc><![CDATA[Required for the call to succeed. The user name of a user on the server]]></wadl:doc>
          </wadl:param>
          <wadl:param name="usesSSL" style="query">
            <wadl:doc><![CDATA[Whether or not the connection uses SSL or not]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Results of the test]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectivityTestResults"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/siteConnection">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Method to connect using the FC site feature. Sites can be created in some FC products. If you have a site you wish to connect to,
you may use this connection method and pass in the site ID to get the connection key for that site.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="siteid" style="query">
            <wadl:doc><![CDATA[The site ID of the target site to connection to]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[A connection key model containing the connection key for this site]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/{connectionKey}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[]]></wadl:doc>
        <wadl:request>
          <wadl:param name="testLogin" style="query">
            <wadl:doc><![CDATA[defaults to false, true if you want to test if the
connection key can login.]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[A connection key model that contains the connection key tested]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectionKeyItem"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[the connection key]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/{connectionKey}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[This method is used to test if the connection key still valid or not]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:OpenIDServiceModel">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[A connection key model that contains the connection key tested]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[The connection key]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/{connectionKey}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Resets the sessionID for a given connection. If the MultiClientManager for the given connection is currently IDLE, then the sessionID will be reset immediately.
Otherwise it will reset once the current transfer has completed.]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[EmtpyModel if operation is successful. RESTFault if an error occurs.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[ConnectionKey that is to have it's session reset.]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/currentagent/clientsfromsession">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a list of all clients for specific session ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID of the desired session]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns list of all clients based by session ID]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:idlist"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/currentagent/clientsfromtask">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the list clients associated with a given task]]></wadl:doc>
        <wadl:request>
          <wadl:param name="taskID" style="query">
            <wadl:doc><![CDATA[Id for the desired task]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all clients associated with a the specified task]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:idlist"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/currentagent/sessions">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the list of all sessions]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all sessions]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:idlist"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/currentagent/tasks">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves the list of all tasks]]></wadl:doc>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all tasks]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:idlist"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/graph/agentrates">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer rates for a given agent ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="agentID" style="query">
            <wadl:doc><![CDATA[ID of the given agent]]></wadl:doc>
          </wadl:param>
          <wadl:param name="segmentCount" style="query">
            <wadl:doc><![CDATA[Number of time segments. If segmentCount is not present or is set to zero, an empty list will be returned]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of TransmitRateTimeSliceModel objects.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:graph"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/graph/clientrates">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer rates for a given client and task ID. Both task ID and client ID are necessary for the call to succeed]]></wadl:doc>
        <wadl:request>
          <wadl:param name="clientID" style="query">
            <wadl:doc><![CDATA[ID of the given client]]></wadl:doc>
          </wadl:param>
          <wadl:param name="segmentCount" style="query">
            <wadl:doc><![CDATA[Number of time segments. If segmentCount is not present or is set to zero, an empty list will be returned]]></wadl:doc>
          </wadl:param>
          <wadl:param name="taskID" style="query">
            <wadl:doc><![CDATA[ID of the given task]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of TransmitRateTimeSliceModel objects.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:graph"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/graph/rates">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer rates for all current active transfers]]></wadl:doc>
        <wadl:request>
          <wadl:param name="segmentCount" style="query">
            <wadl:doc><![CDATA[Number of time segments. If segmentCount is not present or is set to zero, an empty list will be returned]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of TransmitRateTimeSliceModel objects.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:graph"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/graph/sessionrates">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer rates for a given session ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="segmentCount" style="query">
            <wadl:doc><![CDATA[Number of time segments. If segmentCount is not present or is set to zero, an empty list will be returned]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID of the given session]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of TransmitRateTimeSliceModel objects.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:graph"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/graph/taskrates">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer rates for a given task ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="segmentCount" style="query">
            <wadl:doc><![CDATA[Number of time segments. If segmentCount is not present or is set to zero, an empty list will be returned]]></wadl:doc>
          </wadl:param>
          <wadl:param name="taskID" style="query">
            <wadl:doc><![CDATA[ID of the given task]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of TransmitRateTimeSliceModel objects.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:graph"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logfile/clientlog">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a list of all logs generated for the given admin ID. This resource will return
all logs associated with a particular FCClient instance]]></wadl:doc>
        <wadl:request>
          <wadl:param name="RESTAuthorization" style="header">
            <wadl:doc><![CDATA[The authentication token for REST services]]></wadl:doc>
          </wadl:param>
          <wadl:param name="adminID" style="query">
            <wadl:doc><![CDATA[The connecting id, associated with a web page open reading]]></wadl:doc>
          </wadl:param>
          <wadl:param name="clientID" style="query">
            <wadl:doc><![CDATA[ID for the desired FCClient]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID to identify the session or task associated with this list of FCClient logs]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all logs generated for the given client since the last time this resource been called. TODO check with Helen]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:logs"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logfile/clientsessionlog">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a list of both session and client logs]]></wadl:doc>
        <wadl:request>
          <wadl:param name="RESTAuthorization" style="header">
            <wadl:doc><![CDATA[The authentication token for REST services]]></wadl:doc>
          </wadl:param>
          <wadl:param name="adminID" style="query">
            <wadl:doc><![CDATA[The connecting id, associated with a web page open reading logs]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID for the given session/task]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all session and client logs]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:logFiles"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logfile/masterlog">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves all logs generated by agent]]></wadl:doc>
        <wadl:request>
          <wadl:param name="RESTAuthorization" style="header">
            <wadl:doc><![CDATA[The authentication token for REST services]]></wadl:doc>
          </wadl:param>
          <wadl:param name="adminID" style="query">
            <wadl:doc><![CDATA[The connecting id, associated with a web page open reading logs]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all logs generated for the given adminID, since this resource was last called]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:logs"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logfile/sessionlog">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a list of all logs generated for the given admin ID. This resource will return
all logs associated with a particular session ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="RESTAuthorization" style="header">
            <wadl:doc><![CDATA[The authentication token for REST services]]></wadl:doc>
          </wadl:param>
          <wadl:param name="adminID" style="query">
            <wadl:doc><![CDATA[The connecting ID, associated with a web page open reading logs]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID for the session/task]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of all logs related to the provided session since the last time this resource been called]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:logs"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logs/postClearLog">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves logs from the TransferAgent after a supplied date. If no date is supplied, all logs are returned]]></wadl:doc>
        <wadl:request>
          <wadl:param name="lastUpdate" style="query">
            <wadl:doc><![CDATA[The date of the latest desired log]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all logs after the supplied date]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/logs/postTwoWayLogsToFCWeb">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Posts logs to FCWeb]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/x-www-form-urlencoded">
          </wadl:representation>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key associated with the given instance of FCWeb]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Retrieves all logs after the supplied date]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/path/{directory}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all files for the given directory.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the sort results. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The criteria by which to sort the returned file list]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all files for the given directory or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="directory" style="template">
        <wadl:doc><![CDATA[Path to directory for desired path]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/register/{connectionKey}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Resets the sessionID for a given connection. If the MultiClientManager for the given connection is currently IDLE, then the sessionID will be reset immediately.
Otherwise it will reset once the current transfer has completed.]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[EmtpyModel if operation is successful. RESTFault if an error occurs.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[ConnectionKey that is to have it's session reset.]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/remoteControlAuthorization/{id}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Terminates the session with the given ID. Subsequent calls from the terminating address will require manual entry of the
RESTAuthorization header]]></wadl:doc>
        <wadl:request>
          <wadl:param name="RESTAuthorization" style="header">
            <wadl:doc><![CDATA[The authentication token for REST services]]></wadl:doc>
          </wadl:param>
        </wadl:request>
      </wadl:method>
      <wadl:param name="id" style="template">
        <wadl:doc><![CDATA[ID of session to terminate]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/siteStatus/{siteID}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Runs a connection test with a site and returns the result that occurs]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns an object that contains all of the site information for the server. If an error occurs, the call will return an error message instead.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:siteInformation"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="siteID" style="template">
        <wadl:doc><![CDATA[ID of the site to be tested]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites/{site}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns the specified site]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a specific site or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:site"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="site" style="template">
        <wadl:doc><![CDATA[ID of the site to retrieve]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites/{site}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes a specific site]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns no content or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="site" style="template">
        <wadl:doc><![CDATA[ID of the site to delete]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/sites/{site}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Updates an existing site.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[Existing site to update]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:site">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated site or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:site"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="site" style="template">
        <wadl:doc><![CDATA[]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/status/{transferid}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Return a specific status.]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns an object containing the status of the transfer. If an
error occurs a RESTFault will be returned]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:transferDetails"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="transferid" style="template">
        <wadl:doc><![CDATA[ID of a status that you would like to receive]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/system/{property}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes an existing property]]></wadl:doc>
        <wadl:request>
        </wadl:request>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Name of the property to delete]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/system/{property}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a specific TransferAgent configuration property]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a specific TransferAgent configuration property]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:dataItem"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Property to retrieve]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/system/{property}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Update an existing configuration property.]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New data value to be added]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:dataItem">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the updated configuration property or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="property" style="template">
        <wadl:doc><![CDATA[Target property to update]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/tasks/{task}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes a specific task]]></wadl:doc>
        <wadl:request>
        </wadl:request>
      </wadl:method>
      <wadl:param name="task" style="template">
        <wadl:doc><![CDATA[ID of task to delete]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/tasks/{task}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Retrieves a specific task]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return a specific task or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="task" style="template">
        <wadl:doc><![CDATA[ID of task to retrieve]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/tasks/{task}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Updates an existing task]]></wadl:doc>
        <wadl:request>
          <wadl:doc><![CDATA[New values for the given ID]]></wadl:doc>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:task">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Updated task or a fault document]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="task" style="template">
        <wadl:doc><![CDATA[ID of task to update]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/visuals/client">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns a list of transfer visualization statistics]]></wadl:doc>
        <wadl:request>
          <wadl:param name="clientID" style="query">
            <wadl:doc><![CDATA[ID of client to retrieve data from]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[ID of session to retrieve data from]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns a list of transfer visualization statistics]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:transfervisual"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/weblink/cancel">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Cancels the weblink with the provided ID]]></wadl:doc>
        <wadl:request>
          <wadl:param name="weblinkID" style="query">
            <wadl:doc><![CDATA[ID of the link to cancel]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Empty model if successful or a RESTFault if failed]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/weblink/id">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Generates a new weblink ID and delivers it to the requesting TA]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key for server that the weblink will be connected to]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the new weblink ID]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:weblinkID"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/local/filter">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Applies a filter to a given set of files.]]></wadl:doc>
        <wadl:request>
          <wadl:representation mediaType="application/json">
          </wadl:representation>
          <wadl:representation mediaType="application/xml" element="model:filterRequest">
          </wadl:representation>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Return downloaded files or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:filterResponse"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/local/{directory}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[<p>Retrieves the file listing for a given directory.</p>

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the file listing. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The value by which to sort the returned file list]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the file listing for the given directory or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="directory" style="template">
        <wadl:doc><![CDATA[Path to desired directory]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile/{file}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[<p>Retrieves the details for the specified file</p>

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the details for the supplied file]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Path to the desired file. Note that the path must include the full
path. This means that, for example, a unix style file system would
require the leading slash which results in a request that looks like this: "
files/localfile//opt/filecatalyst/whatever."]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile/{file}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Changes the name of a given file

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
          <wadl:param name="renameto" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the status of the rename operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Path to the file to be renamed
Note that the path must include the full
path. This means that, for example, a unix style file system would
require the leading slash which results in a request that looks like this: "
files/localfile//opt/filecatalyst/whatever."]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile/{file}">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Creates a directory at the specified location

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Status of the creation operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Desired path of the new directory
Note that the path must include the full
path. This means that, for example, a unix style file system would
require the leading slash which results in a request that looks like this: "
files/localfile//opt/filecatalyst/whatever."]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/localfile/{file}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes a file from the local system. If the file provided is a directory, that directory is recursively deleted

<p><strong>Note: </strong> When Virtual Paths are defined on the TransferAgent, local file operations are restricted to file paths that begin with a
label found within the Virtual Path list. If a supplied path doesn't start with any of the virtual path labels, the system will reply with an exception.</p>]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Status of the deletion operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Path to the file that is to be deleted
Note that the path must include the full
path. This means that, for example, a unix style file system would
require the leading slash which results in a request that looks like this: "
files/localfile//opt/filecatalyst/whatever."]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/remote/{directory}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns all files and directories found inside the supplied directory]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
          <wadl:param name="invert" style="query">
            <wadl:doc><![CDATA[Whether or not to invert the sort results. Accepts "true" or "false" as a value]]></wadl:doc>
          </wadl:param>
          <wadl:param name="isInitial" style="query">
            <wadl:doc><![CDATA[Whether or not the listing is the initial one]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sortby" style="query">
            <wadl:doc><![CDATA[The value by which to sort the returned file list.]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns all the file roots or a fault document.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObjects"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="directory" style="template">
        <wadl:doc><![CDATA[Query directory located on the instance of FCServer]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile/{file}">
      <wadl:method name="PUT">
        <wadl:doc><![CDATA[Creates a directory at the supplied path.]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Desired location for new directory]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile/{file}">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Deletes the specified file from the specified instance of FCServer. If a directory path is supplied, the directory will be recursively deleted]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the status of the deletion operation]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Location of the file to be deleted]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile/{file}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Returns the details of a specified file or directory]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the details of the specified file]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:fileObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Location of the query file]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/remotefile/{file}">
      <wadl:method name="POST">
        <wadl:doc><![CDATA[Renames a file]]></wadl:doc>
        <wadl:request>
          <wadl:param name="connectionKey" style="query">
            <wadl:doc><![CDATA[Connection key of the target FCServer]]></wadl:doc>
          </wadl:param>
          <wadl:param name="renameto" style="query">
            <wadl:doc><![CDATA[The new name or path of the file]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="file" style="template">
        <wadl:doc><![CDATA[Location of the file to be renamed]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/files/transfer/cancel">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Queues a given transfer to be cancelled.<br>
<strong>Note: </strong> Transferring the transfer is asynchronous function. This means that the transfer may still be executing by the time this method returns]]></wadl:doc>
        <wadl:request>
          <wadl:param name="transferID" style="query">
            <wadl:doc><![CDATA[ID of the transfer that you would like to cancel]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns OK or an exception if the transfer ID does not exist or an error occurred]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/files/transferRev1/cancel">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Queues a given transfer to be cancelled.<br>
<strong>Note: </strong> Transferring the transfer is asynchronous function. This means that the transfer may still be executing by the time this method returns]]></wadl:doc>
        <wadl:request>
          <wadl:param name="transferID" style="query">
            <wadl:doc><![CDATA[ID of the transfer that you would like to cancel]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns OK or an exception if the transfer ID does not exist or an error occurred]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/connectivityTest/{connectionKey}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Performs a connectivity test on a given instance of FCServer. This connectivity test call uses a connection key as the only parameter to specify
a server as opposed to multiple parameters specifying the necessary information]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Results of the test]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectivityTestResults"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[Connection key of the server whose connection is to be tested]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/connect/{connectionKey}/removeKey">
      <wadl:method name="DELETE">
        <wadl:doc><![CDATA[Removes the supplied connection key from the TransferAgent's current connections. Calling this method will cancel any ongoining transfers for the
supplied connection key, and also fully disconnect the current Multi-Client managers from the system.]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[EmtpyModel if operation is successful. RESTFault if an error occurs.]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:emptyObject"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="connectionKey" style="template">
        <wadl:doc><![CDATA[ConnectionKey that is to be removed from the TransferAgent]]></wadl:doc>
      </wadl:param>
    </wadl:resource>

    <wadl:resource path="rs/agent/reports/data/export">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Exports all of the TransferAgentDataReports that match the provided filter parameters into a
downloadable CSV file <br>

<ul>
<li><strong>Note 1: </strong> Reports are created at the <strong>start</strong> of a file transfer
<li><strong>Note 2: </strong> Reports are archived at the <strong>end</strong> of a file transfer
</ul>]]></wadl:doc>
        <wadl:request>
          <wadl:param name="archiveDateFrom" style="query">
            <wadl:doc><![CDATA[Filter out reports that were archived before this UNIX timestamp.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="archiveDateTo" style="query">
            <wadl:doc><![CDATA[Filter reports out that were archived after this UNIX timestamp]]></wadl:doc>
          </wadl:param>
          <wadl:param name="creationDateFrom" style="query">
            <wadl:doc><![CDATA[Filter out reports that were created before this UNIX timestamp.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="creationDateTo" style="query">
            <wadl:doc><![CDATA[Filter reports out that were created after this UNIX timestamp.]]></wadl:doc>
          </wadl:param>
          <wadl:param name="downloadFileName" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="filePath" style="query">
            <wadl:doc><![CDATA[Filter reports that don't have this provided file path]]></wadl:doc>
          </wadl:param>
          <wadl:param name="remoteID" style="query">
            <wadl:doc><![CDATA[Filter reports that don't have a remote Server Agent ID tha]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[]]></wadl:doc>
          </wadl:param>
          <wadl:param name="taskID" style="query">
            <wadl:doc><![CDATA[Filter reports out that don't contain this text in their taskID]]></wadl:doc>
          </wadl:param>
          <wadl:param name="taskName" style="query">
            <wadl:doc><![CDATA[Filter reports out that don't contain this text in their task name]]></wadl:doc>
          </wadl:param>
          <wadl:param name="transferStatus" style="query">
            <wadl:doc><![CDATA[Only include reports that have the following status]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[CSV file that contains all of the data reports that match the search parameters]]></wadl:doc>
          <wadl:representation mediaType="application/octet-stream"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/reports/periodic/export">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Exports all of the PeriodicData that match the provided filter parameters into a downloadable CSV file <br>

<ul>
<li><strong>Note: </strong> Reports are created at the <strong>start</strong> of a file transfer
</ul>]]></wadl:doc>
        <wadl:request>
          <wadl:param name="creationDateEnd" style="query">
            <wadl:doc><![CDATA[Filter reports out that are older than this UNIX timestamp]]></wadl:doc>
          </wadl:param>
          <wadl:param name="creationDateStart" style="query">
            <wadl:doc><![CDATA[Filter reports out that are younger than this UNIX timestamp]]></wadl:doc>
          </wadl:param>
          <wadl:param name="downloadFile" style="query">
            <wadl:doc><![CDATA[Name of the file that shall be downloaded]]></wadl:doc>
          </wadl:param>
          <wadl:param name="reportType" style="query">
            <wadl:doc><![CDATA[Type of report that you wish to retreive. Omit value if you don't want to filter based on type]]></wadl:doc>
          </wadl:param>
          <wadl:param name="sessionID" style="query">
            <wadl:doc><![CDATA[Session ID that you wish to retrieve reports for]]></wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[CSV file that contains all of the periodic reports that match the search parameters]]></wadl:doc>
          <wadl:representation mediaType="application/octet-stream"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>

    <wadl:resource path="rs/agent/siteStatus/connectivityTest/{siteID}">
      <wadl:method name="GET">
        <wadl:doc><![CDATA[Runs a connectivity test with a site for UDP, HTTP, TCP protocols and returns the result that occurs]]></wadl:doc>
        <wadl:request>
        </wadl:request>
        <wadl:response>
          <wadl:doc><![CDATA[Returns the results of the test via a ConnectivityTestResults]]></wadl:doc>
          <wadl:representation mediaType="application/json"/>
          <wadl:representation mediaType="application/xml" element="model:connectivityTestResults"/>
          <wadl:representation mediaType="text/javascript"/>
        </wadl:response>
      </wadl:method>
      <wadl:param name="siteID" style="template">
        <wadl:doc><![CDATA[ID of the site to be tested]]></wadl:doc>
      </wadl:param>
    </wadl:resource>
  </wadl:resources>
</wadl:application>
