Download OpenAPI specification:Download
NT424 - V1.0 (08/2020)
The MAXIBUS Universel Hub allows to centralize the alarm information of the SORHEA products. It consists in a motherboard managing 4 network bus, 8 alarm contacts. Additional alarm contacts are available with the 8-relay extension cards.
MAXIBUS Universel owns graphical interfaces but also exposes a HTTP API (Application Programming Interface). Your own applications can interact with MAXIBUS Universal data.
This HTTP API is based on the REST architecture style with representations in JSON format.
This documentation is intended for developers. They are expected to be familiar with REST constraints and JSON format.
This documentation shows principal requests to get alarms status in real time.
On the Sorhea products, for each alarm trigger, alarms are locked for 4 seconds. After this laps of time, alarms will be reset.
MAXIBUS Universel HTTP API allows to get alarms functions of a network or a specific node.
Nodes contains general information about a part of the Network. Depending on the configuration, a product may have severals nodes.
Nodes list functions of the product:
The content of nodes responses may be partially described because there are many parameters that are not always usefull.
This is an example implemented in Python. It's a Login request followed by a getNetwork request. Get networks, Python example :
# Get the Token
url = 'http://' + IP_ADDRESS + '/api/' + 'login'
data = '{"data": {"username" :"' + LOGIN + '", "password" : "' + PASSWORD + '"}}'
response = requests.post(url, data=data).json()
token = response['token']['token']
# Get networks
url ='http://' + IP_ADDRESS + '/api/' + 'networks'
response = requests.get(url, headers={'Authorization': 'Token ' + token})Login operation to get a valid Token
Login object
| username | string Username |
| password | string [ 1 .. 8 ] Password |
Successful response
Bad request - Username/Pass missing
Unauthorized - Wrong Login/Pass
Maxibus server
Gets all Network (COM port) objects on Maxibus
| fields required | Array of strings Default: ["idNetwork,type,name,status,nbRadio,radios"] List of object parameters |
Successful response
Bad Request : The URL is not as expected.
No content: no network found on Maxibus.
Internal server error.
Maxibus server
Gets a specific Network from its network id.
| networkId required | integer <uint8> [ 1 .. 4 ] Id of the network |
| fields required | Array of strings Default: ["idNetwork,type,name,status,nbRadio,radios"] List of objects parameters |
Successful response
Bad Request : The URL is not as expected or the network id is missing.
No content: no network found on Maxibus.
Internal server error.
Maxibus server
Gets all Node objects on the selected network
| networkId required | integer <uint8> [ 1 .. 4 ] Id of the network |
| region | string World region. Needed only for solaris network. Value : ['europe', 'usa']. Should return null fields in Frequency if this field is empty |
| fields | Array of strings Default: ["all"] List of object parameters |
| ignore | Array of strings Default: [] List of ignored fields. i.e : ignore=name,type,object.param |
Successful response
Bad Request : The URL is not as expected.
No node found.
Internal server error.
Maxibus server
Gets the selected Node on the selected network
| networkId required | integer <uint8> [ 1 .. 4 ] Id of the network |
| nodeId required | integer <uint8> [ 1 .. 256 ] Id of the node |
| fields | Array of strings Default: ["all"] List of object parameters |
| ignore | Array of strings Default: [] List of ignored fields. i.e : ignore=name,type,object.param |
| region | string World region. Needed only for |
Successful response
Bad request: the URL is not as expected.
No node found
Internal server error.
Maxibus server
Gets all the alarm objects on the selected network
| networkId required | integer <uint8> [ 1 .. 4 ] Network ID |
Successful response
Wrong network id
Network not found
Internal server error.
Maxibus server
Get all alarm objects on the selected node
| networkId required | integer <uint8> [ 1 .. 4 ] Network ID |
| nodeId required | integer <uint8> [ 1 .. 256 ] Id of the node |
Successful response
Invalid Node Id
Network not found
Internal error system
Maxibus server