1.4.43 - ReportUsage

The ReportUsage API call provides information on used disk space (Kb) and the number of licenses which are in use.

Keep in mind that disk space reporting is not real time, this is not possible on a distributed architecture. Usage is calculated nightly. Reporting on the number of license is real time.

Authentication Methods


  1. With AMS username and password
Inout Parameter Type Comment
Task String ReportUsage - Name of the task, do not change
Token  String An AMS authentication token
Email  String Email of the account for which usage must be reported
CURL EXAMPLE
https://secure.nomadesk.com/ctrller/api.php?Task=ReportUsage&Email=user@nomadesk.com&Token=9ie8s9b6htm7c0otkm5r6dqmg0
RESPONSE
 <?xml version="1.0" encoding="utf-8" ?>
  <Response>
      <Status>1</Status>
      <Message>Success</Message>
      <Email>gm001@example.com</Email>
      <DiskSpaceInUse>880760</DiskSpaceInUse>
      <NumManagedUsers>2</NumManagedUsers>
      <Fileservers>

              <Fileserver>
                  <Name>nmsa000000000002</Name>
                  <DiskSpaceInUse>440380</DiskSpaceInUse>
              </Fileserver>


              <Fileserver>
                  <Name>nmsa000000000003</Name>
                  <DiskSpaceInUse>440380</DiskSpaceInUse>
              </Fileserver>


              <Fileserver>
                  <Name>nmsa000000000007</Name>
                  <DiskSpaceInUse>0</DiskSpaceInUse>
              </Fileserver>


      </Fileservers>
  </Response>