Call Structure

This part has been removed from the Syntax and Return sections throughout this manual to simplify the documentation.

Two further key-value pairs need to be passed to complete the JSON-request; One indicating the version of JSON-RPC being used, in this case 2.0 and an id identifying this request:

The id is mandatory but only relevant if multiple requests can be outstanding simultaneously over the same connection. It helps to match responses to (asynchronous) requests. The response for a request will be given the matching id by CambrionixApiService.

Copy
{
  "jsonrpc": "2.0",
  "id": 0
}