GetLicenseInfo

Authentication Methods


  1. With a username and password
  2. Using Kerberos
  3. With AMS username and password
Input Parameter Type Description
Token* String Security token
ID* String[] or string Can be a single license id or an array with license id’s
Output Parameter Type Description
Success Boolean True or false

*=required

CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Task=GetLicenseInfo&Token=86ci8dnk44jiett5pth3lreuc6&ID=6f193e62-189c-3462-47a9-a92a05182878'

OR

curl -v 'https://secure.nomadesk.com/ctrller/api.php?Task=GetLicenseInfo&Token=86ci8dnk44jiett5pth3lreuc6&ID[]=6f193e62-189c-3462-47a9-a92a05182878&ID[]=43890bef-dbd5-1cb9-98b7-3d219ab41af0'
RESPONSE
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Licenses>
        <License>
            <ID>f4ef82dd-ebbe-812f-7480-b845a9832c94</ID>
            <Owner>nmua000199</Owner>
            <OwnerEmail>me@example.</OwnerEmail>
            <CreationDstamp>2012-03-27 11:33:30</CreationDstamp>
            <Type>Yearly</Type>
            <Status>Assigned</Status>
            <Active>true</Active>
            <GracePeriodStartDate></GracePeriodStartDate>
            <GracePeriodExpiryDate></GracePeriodExpiryDate>
            <GracePeriodEndDate></GracePeriodEndDate>
        </License>
        <License>
            <ID>43890bef-dbd5-1cb9-98b7-3d219ab41af0</ID>
                <Type>Monthly</Type>
                <CreationDstamp>2012-02-14 09:07:58</CreationDstamp>
                <Status>Unassigned</Status>
            </License>
    </Licenses>
</Response>