This is an API which enables you to auto collect data from your IOT devices on Wooqer workapps. Periodically accumulate sensor data and visualize them in wooqer reports.
This API allows data collection for the public process created from wooqer portal.
Data can be dynamic in nature and process must be set as scope public
To submit data directly from REST API, it is mandatory to have API Key generated. This API Key can be requested from wooqer.
API clients must have knowledge of available fields for the public process and purpose of the field. For example, in sample request qt1370089 is used for temperature
https://hub.wooqer.com/tpub/oelprrest.do
POST
X-api-key : <key-generated-from-wooqer>
{ "report": { "evaluationId": 00702, "evaluationGroupId": 999945, "dueType": 4, "other": "", "approveEmail": false, "approveSms": false }, "orgId": 4, "evalDateString": "29/07/2222", "otherAttrib": { "rq1377787": true, "qt1377787": "14", "rq1377778": true, "qt1377778": "15", "rq1377779": true, "qt1377779": "16" } }
evaluationId : Wooqer Process Evaluation ID
evaluationGroupId : Wooqer Process Coverage Group Evaluation ID
evalDateString : Process Submission Date
rq13777787 : Required Question ID
qt13777787 : Response to Required Question ID
200 – OK
You will get the reference ID of the successful submission.
{ "result": "success", "others2": 777777768, "others1": 0.0, "refId": "DBIOT-2824-80", "others": 0.0, "others3": 80 }
401- Unauthorized
{ "result": "Unauthorized" }
Wooqer Public Process Submission API for IOT devices is integrated.