SetAutorenew

Log the action of auto renewal for licenses/a license(s).

Authentication Methods


  1. With AMS username and password
Input Parameter Type Description
Token* String
AccountName* String
AutoRenew* Boolean true or false
LicenseID String ID of license to change auto renew for, when not provided all licenses for that group will be changed to the given value
Asynchronously Boolean run the request async or not, by default the action is async
Output Parameter Type Description
Success Status Returns status code

*=required

CURL EXAMPLE
curl -v 'https://example.com/ctrller/api.php?Task=SetAutorenew&AutoRenew=true&Token=74ebd073-b528-8a78-f12c-5829c1c7e5a9'

Response:

<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <TaskID>8a932384-a296-56dc-e75e-6786ca8aecc5</TaskID>
</Response>
CURL EXAMPLE
curl -v 'https://example.com/ctrller/api.php?Task=SetAutorenew&AutoRenew=true&LicenseID=00046814-3548-88c3-4921-b25e240acf63'

Response:

<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <TaskID>8a932384-a296-56dc-e75e-6786ca8aecc5</TaskID>
</Response>