POST /API/PING
Report a heartbeat from a client recording point.
When available, receive any server requests in the result.
[DEPRECIATED, USE RECORDINGNODE FROM NOW ON]
EXAMPLE REQUEST
{ "servername": {"type": "string"}, "operatingsystem": {"type": "string"}, "cpu": {"type": "string"}, "uptimeseconds": {"type": "integer"}, "currentdatetimeutc": {"type": "string"}, "totalmemorymb'": {"type": "integer"}, "freememorymb": {"type": "integer"}, "totalhddmb": {"type": "integer"}, "freehddmb": {"type": "integer"} "uploadspending": {"type": "integer"}, "adapters": { "type": "array", "items": { "name": {"type": "string"}, "status": {"type": "string"}, "lastpacketdatetimeutc": {"type": "string"}, "lastvoippacketdatetimeutc": {"type": "string"} } } }
RESULT CODE
200 | OK |
---|---|
400 | servername is empty sid is empty invalid currentdatetimeutc |
401 | Unauthorized |
406 | SSL must be used |
500 | Server Error |
EXAMPLE REQUEST
Example;- PUT https://api.calln.com/api/ping Headers: Content-Type: application/json; charset=utf-8 Content-Length: {body length in bytes} Body: {'servername':'testpc','operatingsystem':'Windows Server 2008 R2 64-bit','cpu':'Intel Xeon 5220','uptimeseconds':328653,'currentdatetimeutc':'2013-10-09 15:23:54','totalmemorymb':8192,'usedmemorymb':1024,'totalhddmb':100000,'usedhddmb':8500, 'uploadspending':0} Result;- 200 (OK) Body: {}