JavaScript Samples
The following sample helps you extend Contineo capabilities:
Data Model APIs - Search, Insert, Update, Delete
Execute SQL query
Call other API
Send Email
Send SMS
Send HTTP Request
Download/Upload from S3
// Let us assume that the name of SQL is Query Get Current Sensor Data// The Resource ID is 'querygetcurrentsensordata'var responseHandler = { data: data, processResponse(response) { console.log("response :" + JSON.stringify(response)); if (response.result) { updateModelItemState(data, "Coviddatadetails", data.Coviddatadetails, false); } }};executeAppAPI("getversionforgauge", { parameters: {}},null,responseHandler.processResponse);