.. _message_format: Message Format ============== All the JSON messages have the following structures: +------------------------------+--------------------------------------------------------+ | Field | Description | +============+=================+========================================================+ | **Header** | | | +------------+-----------------+--------------------------------------------------------+ | | MessageType | The type of the JSON message. It can have | | | | the following values: | | | +--------------------------------------------------------+ | | | :ref:`READ_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`READ_RESPONSE` | | | +--------------------------------------------------------+ | | | :ref:`WRITE_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`WRITE_RESPONSE` | | | +--------------------------------------------------------+ | | | :ref:`VALUELIST_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`VALUELIST_RESPONSE` | | | +--------------------------------------------------------+ | | | :ref:`VALUEINFO_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`VALUEINFO_RESPONSE` | | | +--------------------------------------------------------+ | | | :ref:`MONITORSTART_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`MONITORSTART_RESPONSE`| | | +--------------------------------------------------------+ | | | :ref:`MONITORSTOP_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`MONITORSTOP_RESPONSE` | | | +--------------------------------------------------------+ | | | :ref:`MONITORUPDATE_MESSAGE`| | | +--------------------------------------------------------+ | | | :ref:`HISTORICALREAD_REQUEST` | | | +--------------------------------------------------------+ | | | :ref:`HISTORICALREAD_RESPONSE` | +------------+-----------------+--------------------------------------------------------+ | | ClientHandler | An identifier of the message which is set by | | | | the client in the request. The server copies its | | | | value to the corresponding response. | +------------+-----------------+--------------------------------------------------------+ | | [StatusCode] | Is sent if an error occurs by processing the | | | | request from the client. | +------------+-----------------+--------------------------------------------------------+ | **Body** | | | +------------+-----------------+--------------------------------------------------------+ All the JSON messages are described by using our :ref:`notation`.