Data forwarding
“Guide.”
Push messages to own backend systems, BI solutions or other servers via REST API.
- Define forwarding to your own server
- JSON content type, POST method
- Custom headers enables to add authorisation tokens
- Support for basic customisation
- Check status of the last forwarding – status code and result
Step 1
In order to set up forwarding go to “Home” – “Group management”, select group you want to set and chose “Data forwarding” tab.
Note: Remember, data forwarding is located under the currently targeted group, therefore you will be able to forward data only for devices assigned to this group.
Step 2
Now, you are located on the Data forwarding tab. Here, you get to fill in different fields in order to set it up:
- First, enter the Name
- Enter the valid URL (Note: Valid ports 80, 8080, or 443)
- Choose the message type (every options can be selected)
- Business data – processed data from the payload in JSON format
- Sigfox data – data from Sigfox Data advanced messages
- Raw data
- If Basic authentication selected, please enter “username” and “password”
- Then select whether the data will be forwarded for a specific device in the group or for all devices in the group
- Lastly, you can add a Custom header “Name” and “Value”
- Hit add/update
Step 3
In order to verify successful Data forwarding, expand the table below where you can track all Data forwards and it’s status. Simply check the last column called “Success”.
Example:
{ keys: [ { key: 'action', value: 'measurementexcellent' }, { key: 'product', value: 'Insafe+Carbon' }, { key: 'co2', value: 880 }, { key: 'temperature', value: 22.8 }, { key: 'humidity', value: 45.5 }, { key: 'airQualityLevel' }, { key: 'airQualitySource' }, { key: 'co2Level', value: 'excellent'}, { key: 'drynessLevel', value: 'excellent'}, { key: 'mouldLevel', value: 'excellent'}, { key: 'dustmitesLevel', value: 'excellent' }, { key: 'hci', value: 'good'}, { key: 'frame', value: 4 }, { key: 'airAdviceShort', value: 'excellentall' }, { key: 'airAdviceLong', value: 'excellentall' } ], timestamp: 1633408482, type: 'data_bidir', seqNumber: 1071, deviceId: '30CAD1', _id: '615bd615c8c7ddd7271f7ee1' }