renew
GET
/module/renew/Renewing a service
To renew the service, this method should be called to perform the service renewal for the user
Request Parameters
agentKey
(string): The key of the agentapiKey
(string): The API key for the servicecycle
(integer): The cycle for renewal
_The "cycle" field can have the following values:
1: for one month (Short term),
3: for three months (Quarterly),
6: for six months (Half-yearly),
12: for twelve months (Annual).
Response
status
: The status of the response.message
: Additional information or message related to the response.apiKey
: The API key associated with the renew method request.
Request
Query Params
agentKey
string
required
Example:
AGENTKEY
apiKey
string
required
Example:
ServiceAPIKEY
cycle
string
required
Example:
1
Request samples
Responses
renew(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
string
required
message
string
required
apiKey
string
required
Examplerenew
{
"status": "true",
"message": "The service was renew successfully",
"apiKey": "ServiceAPIKEY"
}
Last modified: 6 months ago