.pdf)
WHM Plugins
listsuspended function from within your custom script:
/xml-api/listsuspended function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/listsuspended
listsuspended function from within your custom script:
/json-api/listsuspended function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/listsuspended
listsuspended function. 1 — sucess.
0 — failure.
https://example.com:2087/xml-api/listsuspended in WebHost Manager will produce output similar to:
<listsuspended>
<accts>
<owner>user123</owner>
<reason>Late Payment</reason>
<time>Wed May 20 14:51:02 2009</time>
<unixtime>1242849062</unixtime>
<user>user123</user>
</accts>
<status>1</status>
<statusmsg>Ok</statusmsg>
</listsuspended>
https://example.com:2087/json-api/listsuspended in WebHost Manager will produce output similar to:
{
"status":1,
"statusmsg":"Ok",
"accts":[
{
"reason":"Unknown",
"unixtime":1242056074,
"owner":"user123",
"user":"user123",
"time":"Mon May 11 10:34:34 2009"
}
]
}
Copyright © cPanel 2000–2011.