RecordingNode PUT

RecordingNode PUT
PUT /api/recordingnode/{machinesid}

Report a heartbeat from a client recording node.

When available, server request(s) are located in the result body text.

 

JSON Body Schema

{ 
	"servername": {"type": "string"},
	"operatingsystem": {"type": "string"},
	"timezoneid": {"type": "string"},
	"cpu": {"type": "string"},
	"uptimeseconds": {"type": "integer"},
	"currentdatetimeutc": {"type": "string"},
	"totalmemorymb'": {"type": "integer"},
	"usedmemorymb": {"type": "integer"},
	"totalhddmb": {"type": "integer"},
	"usedhddmb": {"type": "integer"},
	"uploadspending": {"type": "integer"},
	"adapters": {
	    "type": "array",
	    "items": {
		   "name": {"type": "string"},
		   "status": {"type": "string"},
		   "lastpacketdatetimeutc": {"type": "string"},
		   "lastvoippacketdatetimeutc": {"type": "string"}
		   }
	},
	"handsetregistrations": {
		"type": "array",
		"items": {
			"macaddress": {"type": "string"},
			"ipaddress": {"type": "string"},
			"displayname": {"type": "string"},
			"phonenumber": {"type": "string"},
			"useragent": {"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/recordingnode/132974698372549082734497632

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:
<empty>

Calculate your CallN Costs in 60 Seconds

  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • After you sign up, this will be used for your Calln domain.
  • A Team member will contact you on this number.
  • A summary of your calculations will be sent to this email address.
  • You may review our terms and conditions and privacy policies by clicking on the links above.