OIBus API Reference
OIBus API (3.6.9)
Download OpenAPI specification:
OIBus API is a RESTful interface for managing industrial data flows. It allows you to configure connectors, schedule data collection, transform and route data, monitor system health, and secure communications. Designed for developers and system integrators, it enables seamless integration between industrial systems and enterprise applications.
Get north connector manifest
Retrieves a specific north connector manifest by its type
path Parameters
| type required | string |
Responses
Response samples
- 200
{- "id": "modbus",
- "category": "file",
- "types": [
- "time-values",
- "any",
- "setpoints"
], - "settings": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Debug Console Output",
- "type": "modbus",
- "description": "Outputs data to console for debugging purposes",
- "enabled": true
}
]Create north connector
Creates a new north connector with the provided configuration
query Parameters
| duplicate required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the North connector. |
| type required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
| description required | string The description of the North connector. |
| enabled required | boolean Whether the North connector is enabled. |
required | NorthAmazonS3Settings (object) or NorthAzureBlobSettings (object) or NorthConsoleSettings (object) or NorthFileWriterSettings (object) or NorthModbusSettings (object) or NorthMQTTSettings (object) or NorthOIAnalyticsSettings (object) or NorthOPCUASettings (object) or NorthRESTSettings (object) or NorthSFTPSettings (object) (NorthSettings) |
required | object The caching configuration for the North connector. |
| subscriptions required | Array of strings The list of subscribed South connector IDs. |
required | Array of objects (TransformerIdWithOptions) The list of transformers to apply to the data. |
Responses
Request samples
- Payload
{- "name": "Debug Console Output",
- "type": "modbus",
- "description": "Outputs data to console for debugging purposes",
- "enabled": true,
- "settings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 0,
- "enabled": false
}, - "error": {
- "retentionDuration": 86400000,
- "retryCount": 0,
- "retryInterval": 1000
}, - "throttling": {
- "maxNumberOfElements": 100,
- "maxSize": 1048576,
- "runMinDelay": 100
}, - "trigger": {
- "numberOfFiles": 1,
- "numberOfElements": 1,
- "scanModeName": null,
- "scanModeId": "scanModeId1"
}
}, - "subscriptions": [
- "south-test-1"
], - "transformers": [ ]
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Debug Console Output",
- "type": "modbus",
- "description": "Outputs data to console for debugging purposes",
- "enabled": true,
- "settings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 0,
- "enabled": false
}, - "error": {
- "retentionDuration": 86400000,
- "retryCount": 0,
- "retryInterval": 1000
}, - "throttling": {
- "maxNumberOfElements": 100,
- "maxSize": 1048576,
- "runMinDelay": 100
}, - "trigger": {
- "numberOfFiles": 1,
- "numberOfElements": 1,
- "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
}, - "subscriptions": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true
}
], - "transformers": [
- {
- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}
]
}Get north connector by ID
Retrieves a specific north connector by its unique identifier
path Parameters
| northId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Debug Console Output",
- "type": "modbus",
- "description": "Outputs data to console for debugging purposes",
- "enabled": true,
- "settings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 0,
- "enabled": false
}, - "error": {
- "retentionDuration": 86400000,
- "retryCount": 0,
- "retryInterval": 1000
}, - "throttling": {
- "maxNumberOfElements": 100,
- "maxSize": 1048576,
- "runMinDelay": 100
}, - "trigger": {
- "numberOfFiles": 1,
- "numberOfElements": 1,
- "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
}, - "subscriptions": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true
}
], - "transformers": [
- {
- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}
]
}Update north connector
Updates an existing north connector configuration
path Parameters
| northId required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the North connector. |
| type required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
| description required | string The description of the North connector. |
| enabled required | boolean Whether the North connector is enabled. |
required | NorthAmazonS3Settings (object) or NorthAzureBlobSettings (object) or NorthConsoleSettings (object) or NorthFileWriterSettings (object) or NorthModbusSettings (object) or NorthMQTTSettings (object) or NorthOIAnalyticsSettings (object) or NorthOPCUASettings (object) or NorthRESTSettings (object) or NorthSFTPSettings (object) (NorthSettings) |
required | object The caching configuration for the North connector. |
| subscriptions required | Array of strings The list of subscribed South connector IDs. |
required | Array of objects (TransformerIdWithOptions) The list of transformers to apply to the data. |
Responses
Request samples
- Payload
{- "name": "Debug Console Output",
- "type": "modbus",
- "description": "Outputs data to console for debugging purposes",
- "enabled": true,
- "settings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 0,
- "enabled": false
}, - "error": {
- "retentionDuration": 86400000,
- "retryCount": 0,
- "retryInterval": 1000
}, - "throttling": {
- "maxNumberOfElements": 100,
- "maxSize": 1048576,
- "runMinDelay": 100
}, - "trigger": {
- "numberOfFiles": 1,
- "numberOfElements": 1,
- "scanModeName": null,
- "scanModeId": "scanModeId1"
}
}, - "subscriptions": [
- "south-test-1"
], - "transformers": [ ]
}Test north connection
Tests the connection for a north connector
path Parameters
| northId required | string |
query Parameters
| northType required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
Request Body schema: application/jsonrequired
| bucket required | string |
| region required | string |
| folder required | string |
| accessKey required | string |
| secretKey required | string or null |
| useProxy required | boolean |
| proxyUrl | string or null |
| proxyUsername | string or null |
| proxyPassword | string or null |
Responses
Request samples
- Payload
{- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}Add/edit transformer
Adds or updates a transformer configuration for a north connector
path Parameters
| northId required | string |
Request Body schema: application/jsonrequired
| inputType required | string The input data type that the transformer accepts. |
required | CustomTransformerDTO (object) or StandardTransformerDTO (object) (TransformerDTO) Union type representing either a custom or standard transformer. |
| options required | object (Record_string.unknown_) Construct a type with a set of properties K of type T |
Responses
Request samples
- Payload
{- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}Search cache files
Searches for files in the north connector cache
path Parameters
| northId required | string |
query Parameters
| nameContains required | string |
| start required | string |
| end required | string |
| folder required | string Enum: "cache" "archive" "error" |
Responses
Response samples
- 200
[- {
- "metadataFilename": "string",
- "metadata": {
- "contentFile": "/path/to/content.json",
- "contentSize": 1024,
- "numberOfElement": 10,
- "createdAt": "2023-10-31T12:34:56.789Z",
- "contentType": "time-values",
- "source": "south1",
- "options": {
- "property1": "string",
- "property2": "string"
}
}
}
]Remove cache files
Removes specific files from the north connector cache
path Parameters
| northId required | string |
query Parameters
| folder required | string Enum: "cache" "archive" "error" |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
[- "string"
]Move cache files
Moves specific files between folders in the north connector cache
path Parameters
| northId required | string |
query Parameters
| originFolder required | string Enum: "cache" "archive" "error" |
| destinationFolder required | string Enum: "cache" "archive" "error" |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
[- "string"
]Get south connector manifest
Retrieves a specific south connector manifest by its type
path Parameters
| type required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
Responses
Response samples
- 200
{- "id": "ads",
- "category": "file",
- "modes": {
- "history": false,
- "lastFile": true,
- "lastPoint": false,
- "subscription": false
}, - "settings": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "items": {
- "type": "array",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "paginate": true,
- "numberOfElementPerPage": 5,
- "rootAttribute": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}
}
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true
}
]Create south connector
Creates a new south connector with the provided configuration
query Parameters
| duplicate required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the South connector. |
| type required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| description required | string Description of the South connector's purpose. |
| enabled required | boolean Whether the South connector should be enabled. |
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | Array of objects (SouthConnectorItemCommandDTO) List of items (data points) to configure for this connector. |
Responses
Request samples
- Payload
{- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true,
- "settings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "items": [
- {
- "id": null,
- "enabled": true,
- "name": "Temperature Logs",
- "settings": {
- "address": "string"
}, - "scanModeId": "periodic-5min",
- "scanModeName": null
}
]
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true,
- "settings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "items": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
]
}Get south connector by ID
Retrieves a specific south connector by its unique identifier
path Parameters
| southId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true,
- "settings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "items": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
]
}Update south connector
Updates an existing south connector configuration
path Parameters
| southId required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the South connector. |
| type required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| description required | string Description of the South connector's purpose. |
| enabled required | boolean Whether the South connector should be enabled. |
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | Array of objects (SouthConnectorItemCommandDTO) List of items (data points) to configure for this connector. |
Responses
Request samples
- Payload
{- "name": "Production Data Files",
- "type": "ads",
- "description": "Scans production data CSV files",
- "enabled": true,
- "settings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "items": [
- {
- "id": null,
- "enabled": true,
- "name": "Temperature Logs",
- "settings": {
- "address": "string"
}, - "scanModeId": "periodic-5min",
- "scanModeName": null
}
]
}Test south connection
Tests the connection for a south connector
path Parameters
| southId required | string |
query Parameters
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
Request Body schema: application/jsonrequired
| netId required | string |
| port required | number <double> |
| routerAddress required | string or null |
| routerTcpPort required | number or null <double> |
| clientAmsNetId required | string or null |
| clientAdsPort required | number or null <double> |
| retryInterval required | number <double> |
| plcName required | string or null |
| enumAsText required | string (SouthADSSettingsEnumAsText) Enum: "text" "integer" |
| boolAsText required | string (SouthADSSettingsBoolAsText) Enum: "text" "integer" |
required | Array of objects or null (SouthADSSettingsStructureFiltering) |
Responses
Request samples
- Payload
{- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}Test south connector item
Test a south connector item
path Parameters
| southId required | string |
query Parameters
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| itemName required | string |
Request Body schema: application/jsonrequired
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
required | object (SouthConnectorItemTestingSettings) Settings for testing a South connector item. Used when manually testing data collection for an item. |
Responses
Request samples
- Payload
{- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "itemSettings": {
- "address": "string"
}, - "testingSettings": {
- "history": {
- "endTime": "string",
- "startTime": "string"
}
}
}Response samples
- 200
{- "type": "time-values",
- "content": [
- {
- "pointId": "point1",
- "timestamp": "2023-10-31T12:34:56.789Z",
- "data": {
- "value": "100",
- "property1": "string",
- "property2": "string"
}
}
]
}List south connector items
List all items for a south connector
path Parameters
| southId required | string |
Responses
Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
]Search south connector items
Searches for items in a south connector with optional filtering
path Parameters
| southId required | string |
query Parameters
| name required | string |
| scanModeId required | string |
| enabled required | boolean |
| page | number <double> Default: 0 |
Responses
Response samples
- 200
{- "content": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Get south connector item
Retrieves a specific item from a south connector
path Parameters
| southId required | string |
| itemId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}Update south connector item
Updates an existing item in a south connector
path Parameters
| southId required | string |
| itemId required | string |
Request Body schema: application/jsonrequired
| id required | string or null The ID of the item (null when creating a new item). |
| enabled required | boolean Whether this item should be enabled. |
| name required | string The name of the item. |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
| scanModeId required | string or null The ID of the scan mode to use for this item. Null when the scan mode should be determined by the system. |
| scanModeName required | string or null The name of the scan mode to use when ID is not available. Null when not specifying by name. |
Responses
Request samples
- Payload
{- "id": null,
- "enabled": true,
- "name": "Temperature Logs",
- "settings": {
- "address": "string"
}, - "scanModeId": "periodic-5min",
- "scanModeName": null
}Create south connector item
Creates a new item in a south connector
path Parameters
| southId required | string |
Request Body schema: application/jsonrequired
| id required | string or null The ID of the item (null when creating a new item). |
| enabled required | boolean Whether this item should be enabled. |
| name required | string The name of the item. |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
| scanModeId required | string or null The ID of the scan mode to use for this item. Null when the scan mode should be determined by the system. |
| scanModeName required | string or null The name of the scan mode to use when ID is not available. Null when not specifying by name. |
Responses
Request samples
- Payload
{- "id": null,
- "enabled": true,
- "name": "Temperature Logs",
- "settings": {
- "address": "string"
}, - "scanModeId": "periodic-5min",
- "scanModeName": null
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}Check CSV import
Validates a CSV file before import and checks for conflicts with existing items
path Parameters
| southType required | string |
Request Body schema: multipart/form-datarequired
| delimiter required | string |
| itemsToImport required | string <binary> |
| currentItems required | string <binary> |
Responses
Response samples
- 200
{- "items": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Logs",
- "enabled": true,
- "settings": {
- "address": "string"
}, - "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
], - "errors": [
- {
- "error": "string",
- "item": {
- "property1": "string",
- "property2": "string"
}
}
]
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Migration",
- "description": "Migrate production data from old to new system",
- "status": "PENDING",
- "startTime": "2023-01-01T00:00:00Z",
- "endTime": "2023-01-31T23:59:59Z",
- "southType": "ads",
- "northType": "modbus"
}
]Create history query
Creates a new history query with the provided configuration
query Parameters
| fromSouth required | string |
| fromNorth required | string |
| duplicate required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the history query. |
| description required | string Description of the history query's purpose. |
| startTime required | string Start time for the data to be queried (ISO 8601 format). |
| endTime required | string End time for the data to be queried (ISO 8601 format). |
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| northType required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | NorthAmazonS3Settings (object) or NorthAzureBlobSettings (object) or NorthConsoleSettings (object) or NorthFileWriterSettings (object) or NorthModbusSettings (object) or NorthMQTTSettings (object) or NorthOIAnalyticsSettings (object) or NorthOPCUASettings (object) or NorthRESTSettings (object) or NorthSFTPSettings (object) (NorthSettings) |
required | object Caching configuration for the history query. |
required | Array of objects (HistoryQueryItemCommandDTO) List of items (data points) to be queried. |
required | Array of objects (TransformerIdWithOptions) List of transformers to apply to data before sending to North connector. Each transformer is referenced by ID with its options. |
Responses
Request samples
- Payload
{- "name": "Production Data Migration",
- "description": "Migrate production data from old to new system",
- "startTime": "2023-01-01T00:00:00Z",
- "endTime": "2023-01-31T23:59:59Z",
- "southType": "ads",
- "northType": "modbus",
- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "northSettings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 31536000000,
- "enabled": true
}, - "error": {
- "retentionDuration": 2592000000,
- "retryCount": 3,
- "retryInterval": 300000
}, - "throttling": {
- "maxNumberOfElements": 50000,
- "maxSize": 104857600,
- "runMinDelay": 3600000
}, - "trigger": {
- "numberOfFiles": 10,
- "numberOfElements": 1000,
- "scanModeName": "Daily",
- "scanModeId": "daily"
}
}, - "items": [
- {
- "id": null,
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "northTransformers": [
- {
- "inputType": "string",
- "transformerId": "customTransformer123",
- "options": {
- "property1": null,
- "property2": null
}
}
]
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Migration",
- "description": "Migrate production data from old to new system",
- "status": "PENDING",
- "startTime": "2023-01-01T00:00:00Z",
- "endTime": "2023-01-31T23:59:59Z",
- "southType": "ads",
- "northType": "modbus",
- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "northSettings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 31536000000,
- "enabled": true
}, - "error": {
- "retentionDuration": 2592000000,
- "retryCount": 3,
- "retryInterval": 300000
}, - "throttling": {
- "maxNumberOfElements": 50000,
- "maxSize": 104857600,
- "runMinDelay": 3600000
}, - "trigger": {
- "numberOfFiles": 10,
- "numberOfElements": 1000,
- "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
}, - "items": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "northTransformers": [
- {
- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}
]
}Get history query by ID
Retrieves a specific history query by its unique identifier
path Parameters
| historyId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Production Data Migration",
- "description": "Migrate production data from old to new system",
- "status": "PENDING",
- "startTime": "2023-01-01T00:00:00Z",
- "endTime": "2023-01-31T23:59:59Z",
- "southType": "ads",
- "northType": "modbus",
- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "northSettings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 31536000000,
- "enabled": true
}, - "error": {
- "retentionDuration": 2592000000,
- "retryCount": 3,
- "retryInterval": 300000
}, - "throttling": {
- "maxNumberOfElements": 50000,
- "maxSize": 104857600,
- "runMinDelay": 3600000
}, - "trigger": {
- "numberOfFiles": 10,
- "numberOfElements": 1000,
- "scanMode": {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
}
}, - "items": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "northTransformers": [
- {
- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}
]
}Update history query
Updates an existing history query configuration
path Parameters
| historyId required | string |
query Parameters
| resetCache required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the history query. |
| description required | string Description of the history query's purpose. |
| startTime required | string Start time for the data to be queried (ISO 8601 format). |
| endTime required | string End time for the data to be queried (ISO 8601 format). |
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| northType required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | NorthAmazonS3Settings (object) or NorthAzureBlobSettings (object) or NorthConsoleSettings (object) or NorthFileWriterSettings (object) or NorthModbusSettings (object) or NorthMQTTSettings (object) or NorthOIAnalyticsSettings (object) or NorthOPCUASettings (object) or NorthRESTSettings (object) or NorthSFTPSettings (object) (NorthSettings) |
required | object Caching configuration for the history query. |
required | Array of objects (HistoryQueryItemCommandDTO) List of items (data points) to be queried. |
required | Array of objects (TransformerIdWithOptions) List of transformers to apply to data before sending to North connector. Each transformer is referenced by ID with its options. |
Responses
Request samples
- Payload
{- "name": "Production Data Migration",
- "description": "Migrate production data from old to new system",
- "startTime": "2023-01-01T00:00:00Z",
- "endTime": "2023-01-31T23:59:59Z",
- "southType": "ads",
- "northType": "modbus",
- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "northSettings": {
- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}, - "caching": {
- "archive": {
- "retentionDuration": 31536000000,
- "enabled": true
}, - "error": {
- "retentionDuration": 2592000000,
- "retryCount": 3,
- "retryInterval": 300000
}, - "throttling": {
- "maxNumberOfElements": 50000,
- "maxSize": 104857600,
- "runMinDelay": 3600000
}, - "trigger": {
- "numberOfFiles": 10,
- "numberOfElements": 1000,
- "scanModeName": "Daily",
- "scanModeId": "daily"
}
}, - "items": [
- {
- "id": null,
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "northTransformers": [
- {
- "inputType": "string",
- "transformerId": "customTransformer123",
- "options": {
- "property1": null,
- "property2": null
}
}
]
}Test north connection
Test north connection for a history query
path Parameters
| historyId required | string |
query Parameters
| northType required | string (OIBusNorthType) Enum: "modbus" "mqtt" "oianalytics" "opcua" "sftp" "azure-blob" "aws-s3" "console" "file-writer" "rest" Type representing the possible types for a North connector. |
| fromNorth required | string |
Request Body schema: application/jsonrequired
| bucket required | string |
| region required | string |
| folder required | string |
| accessKey required | string |
| secretKey required | string or null |
| useProxy required | boolean |
| proxyUrl | string or null |
| proxyUsername | string or null |
| proxyPassword | string or null |
Responses
Request samples
- Payload
{- "bucket": "string",
- "region": "string",
- "folder": "string",
- "accessKey": "string",
- "secretKey": "string",
- "useProxy": true,
- "proxyUrl": "string",
- "proxyUsername": "string",
- "proxyPassword": "string"
}Test south connection
Test south connection for a history query
path Parameters
| historyId required | string |
query Parameters
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| fromSouth required | string |
Request Body schema: application/jsonrequired
| netId required | string |
| port required | number <double> |
| routerAddress required | string or null |
| routerTcpPort required | number or null <double> |
| clientAmsNetId required | string or null |
| clientAdsPort required | number or null <double> |
| retryInterval required | number <double> |
| plcName required | string or null |
| enumAsText required | string (SouthADSSettingsEnumAsText) Enum: "text" "integer" |
| boolAsText required | string (SouthADSSettingsBoolAsText) Enum: "text" "integer" |
required | Array of objects or null (SouthADSSettingsStructureFiltering) |
Responses
Request samples
- Payload
{- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}Test history query item
Test a history query item
path Parameters
| historyId required | string |
query Parameters
| southType required | string (OIBusSouthType) Enum: "ads" "folder-scanner" "ftp" "modbus" "mqtt" "mssql" "mysql" "odbc" "oianalytics" "oledb" "opc" "opcua" "oracle" "osisoft-pi" "postgresql" "sftp" "sqlite" Type representing the possible types for a South connector. |
| itemName required | string |
| fromSouth required | string |
Request Body schema: application/jsonrequired
required | SouthADSSettings (object) or SouthFolderScannerSettings (object) or SouthFTPSettings (object) or SouthModbusSettings (object) or SouthMQTTSettings (object) or SouthMSSQLSettings (object) or SouthMySQLSettings (object) or SouthODBCSettings (object) or SouthOIAnalyticsSettings (object) or SouthOLEDBSettings (object) or SouthOPCSettings (object) or SouthOPCUASettings (object) or SouthOracleSettings (object) or SouthPISettings (object) or SouthPostgreSQLSettings (object) or SouthSFTPSettings (object) or SouthSQLiteSettings (object) (SouthSettings) |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
required | object Testing settings including time range |
Responses
Request samples
- Payload
{- "southSettings": {
- "netId": "string",
- "port": 0.1,
- "routerAddress": "string",
- "routerTcpPort": 0.1,
- "clientAmsNetId": "string",
- "clientAdsPort": 0.1,
- "retryInterval": 0.1,
- "plcName": "string",
- "enumAsText": "text",
- "boolAsText": "text",
- "structureFiltering": [
- {
- "name": "string",
- "fields": "string"
}
]
}, - "itemSettings": {
- "address": "string"
}, - "testingSettings": {
- "history": {
- "endTime": "string",
- "startTime": "string"
}
}
}Response samples
- 200
{- "type": "time-values",
- "content": [
- {
- "pointId": "point1",
- "timestamp": "2023-10-31T12:34:56.789Z",
- "data": {
- "value": "100",
- "property1": "string",
- "property2": "string"
}
}
]
}List history query items
List all items for a history query
path Parameters
| historyId required | string |
Responses
Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
]Search history query items
Searches for items in a history query with optional filtering
path Parameters
| historyId required | string |
query Parameters
| name required | string |
| enabled required | boolean |
| page | number <double> Default: 0 |
Responses
Response samples
- 200
{- "content": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Get history query item
Retrieves a specific item from a history query
path Parameters
| historyId required | string |
| itemId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}Update history query item
Updates an existing item in a history query
path Parameters
| historyId required | string |
| itemId required | string |
Request Body schema: application/jsonrequired
| id required | string or null The ID of the item (null when creating a new item). |
| name required | string The name of the history query item. |
| enabled required | boolean Whether this item should be enabled. |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
Responses
Request samples
- Payload
{- "id": null,
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}Create history query item
Creates a new item in a history query
path Parameters
| historyId required | string |
Request Body schema: application/jsonrequired
| id required | string or null The ID of the item (null when creating a new item). |
| name required | string The name of the history query item. |
| enabled required | boolean Whether this item should be enabled. |
required | SouthADSItemSettings (object) or SouthFolderScannerItemSettings (object) or SouthFTPItemSettings (object) or SouthModbusItemSettings (object) or SouthMQTTItemSettings (object) or SouthMSSQLItemSettings (object) or SouthMySQLItemSettings (object) or SouthODBCItemSettings (object) or SouthOIAnalyticsItemSettings (object) or SouthOLEDBItemSettings (object) or SouthOPCItemSettings (object) or SouthOPCUAItemSettings (object) or SouthOracleItemSettings (object) or SouthPIItemSettings (object) or SouthPostgreSQLItemSettings (object) or SouthSFTPItemSettings (object) or SouthSQLiteItemSettings (object) (SouthItemSettings) |
Responses
Request samples
- Payload
{- "id": null,
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}Check CSV import
Validates a CSV file before import and checks for conflicts with existing items
path Parameters
| southType required | string |
Request Body schema: multipart/form-datarequired
| delimiter required | string |
| itemsToImport required | string <binary> |
| currentItems required | string <binary> |
Responses
Response samples
- 200
{- "items": [
- {
- "id": null,
- "name": "Temperature Sensors",
- "enabled": true,
- "settings": {
- "address": "string"
}
}
], - "errors": [
- {
- "error": "string",
- "item": {
- "property1": "string",
- "property2": "string"
}
}
]
}Add/edit transformer
Adds or updates a transformer configuration for a history query
path Parameters
| historyId required | string |
Request Body schema: application/jsonrequired
| inputType required | string The input data type that the transformer accepts. |
required | CustomTransformerDTO (object) or StandardTransformerDTO (object) (TransformerDTO) Union type representing either a custom or standard transformer. |
| options required | object (Record_string.unknown_) Construct a type with a set of properties K of type T |
Responses
Request samples
- Payload
{- "inputType": "string",
- "transformer": {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}, - "options": {
- "property1": null,
- "property2": null
}
}Search cache content
Searches for files in the history query cache
path Parameters
| historyId required | string |
query Parameters
| nameContains required | string |
| start required | string |
| end required | string |
| folder required | string Enum: "cache" "archive" "error" |
Responses
Response samples
- 200
[- {
- "metadataFilename": "string",
- "metadata": {
- "contentFile": "/path/to/content.json",
- "contentSize": 1024,
- "numberOfElement": 10,
- "createdAt": "2023-10-31T12:34:56.789Z",
- "contentType": "time-values",
- "source": "south1",
- "options": {
- "property1": "string",
- "property2": "string"
}
}
}
]Remove cache files
Removes specific files from the history query cache
path Parameters
| historyId required | string |
query Parameters
| folder required | string Enum: "cache" "archive" "error" |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
[- "string"
]Move cache files
Moves specific files between folders in the history query cache
path Parameters
| historyId required | string |
query Parameters
| originFolder required | string Enum: "cache" "archive" "error" |
| destinationFolder required | string Enum: "cache" "archive" "error" |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
[- "string"
]Retrieve engine configuration
Returns the current configuration settings of the OIBus engine
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "OIBus OT",
- "port": 2223,
- "version": "3.7.0",
- "launcherVersion": "3.7.0",
- "proxyEnabled": false,
- "proxyPort": null,
- "logParameters": {
- "oia": {
- "interval": 60,
- "level": "silent"
}, - "loki": {
- "password": "pass",
- "username": "user",
- "interval": 60,
- "level": "silent"
}, - "database": {
- "maxNumberOfLogs": 10000,
- "level": "silent"
}, - "file": {
- "numberOfFiles": 5,
- "maxFileSize": 10485760,
- "level": "silent"
}, - "console": {
- "level": "silent"
}
}
}Update engine configuration
Updates the configuration settings of the OIBus engine
Request Body schema: application/jsonrequired
| name required | string The name of the engine. |
| port required | number <double> The port on which the engine listens. |
| proxyEnabled required | boolean Whether the proxy is enabled. |
| proxyPort required | number or null <double> The port for the proxy, if enabled. |
required | object Logging parameters for different outputs. |
Responses
Request samples
- Payload
{- "name": "OIBus OT",
- "port": 8080,
- "proxyEnabled": false,
- "proxyPort": null,
- "logParameters": {
- "oia": {
- "interval": 60,
- "level": "silent"
}, - "loki": {
- "password": "pass",
- "username": "user",
- "interval": 60,
- "level": "silent"
}, - "database": {
- "maxNumberOfLogs": 10000,
- "level": "silent"
}, - "file": {
- "numberOfFiles": 5,
- "maxFileSize": 10485760,
- "level": "silent"
}, - "console": {
- "level": "silent"
}
}
}Retrieve OIBus information
Returns version and system information about the OIBus instance
Responses
Response samples
- 200
{- "version": "3.7.0",
- "launcherVersion": "3.7.0",
- "oibusName": "OIBus OT",
- "oibusId": "aBc12F",
- "dataDirectory": "/var/lib/oibus",
- "binaryDirectory": "/usr/lib/oibus",
- "processId": "12345",
- "hostname": "server1",
- "operatingSystem": "linux",
- "architecture": "x64",
- "platform": "ubuntu"
}Inject a file into North connector cache(s) queue
Uploads a file and adds it to the specified North connector(s) cache. The file will be processed according to the North connector's configuration.
query Parameters
| northId required | string |
Request Body schema: multipart/form-datarequired
| file required | string <binary> |
Responses
Inject structured content into North connector cache(s) queue
Adds time-value or setpoint content directly to the specified North connector(s) cache queue. This allows external systems to push processed data directly into OIBus.
query Parameters
| northId required | string |
Request Body schema: application/jsonrequired
| type required | string Value: "time-values" The type of content. |
required | Array of objects (OIBusTimeValue) The array of time-value pairs. |
Responses
Request samples
- Payload
{- "type": "time-values",
- "content": [
- {
- "pointId": "point1",
- "timestamp": "2023-10-31T12:34:56.789Z",
- "data": {
- "value": "100",
- "property1": "string",
- "property2": "string"
}
}
]
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "address": "192.168.1.1",
- "description": "Allow traffic from the local admin workstation"
}
]Create IP filter
Creates a new IP filter with the provided configuration
Request Body schema: application/jsonrequired
| address required | string The IP address or CIDR block to filter. Can be an IPv4 address, IPv6 address, or CIDR notation. |
| description required | string A description of the purpose or reason for this IP filter. |
Responses
Request samples
- Payload
{- "address": "192.168.1.1",
- "description": "Allow traffic from the local admin workstation"
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "address": "192.168.1.1",
- "description": "Allow traffic from the local admin workstation"
}Get an IP filter
Retrieves a specific IP filter by its unique identifier
path Parameters
| ipFilterId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "address": "192.168.1.1",
- "description": "Allow traffic from the local admin workstation"
}Update IP filter
Updates an existing IP filter with new configuration
path Parameters
| ipFilterId required | string |
Request Body schema: application/jsonrequired
| address required | string The IP address or CIDR block to filter. Can be an IPv4 address, IPv6 address, or CIDR notation. |
| description required | string A description of the purpose or reason for this IP filter. |
Responses
Request samples
- Payload
{- "address": "192.168.1.1",
- "description": "Allow traffic from the local admin workstation"
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}
]Create scan mode
Creates a new scan mode with the provided configuration
Request Body schema: application/jsonrequired
| name required | string The name of the scan mode. |
| description required | string A description of the scan mode's purpose or behavior. |
| cron required | string A cron expression defining the scan schedule. |
Responses
Request samples
- Payload
{- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}Get scan mode
Retrieves a specific scan mode by its unique identifier
path Parameters
| scanModeId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}Update scan mode
Updates an existing scan mode with new configuration
path Parameters
| scanModeId required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the scan mode. |
| description required | string A description of the scan mode's purpose or behavior. |
| cron required | string A cron expression defining the scan schedule. |
Responses
Request samples
- Payload
{- "name": "Daily Backup Scan",
- "description": "Scans for new backup data every day at midnight",
- "cron": "0 0 * * *"
}Validate cron expression
Validates a cron expression to ensure it's properly formatted
Request Body schema: application/jsonrequired
| cron required | string |
Responses
Request samples
- Payload
{- "cron": "string"
}Response samples
- 200
{- "isValid": true,
- "errorMessage": "",
- "nextExecutions": [
- "2023-01-01T00:00:00Z",
- "2023-01-02T00:00:00Z",
- "2023-01-03T00:00:00Z",
- "2023-01-04T00:00:00Z",
- "2023-01-05T00:00:00Z"
], - "humanReadableForm": "At 00:00 every day"
}Response samples
- 200
[- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Server SSL Certificate",
- "description": "SSL certificate for securing server communications",
- "publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...",
- "certificate": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBBQUAMEUx...",
- "expiry": "2023-10-31T12:34:56.789Z"
}
]Create certificate
Creates a new certificate with the provided details
Request Body schema: application/jsonrequired
| name required | string The name of the certificate. |
| description required | string A description of the certificate's purpose or usage. |
| regenerateCertificate required | boolean Whether to regenerate the certificate. |
required | object or null Options for generating the certificate.
Set to |
Responses
Request samples
- Payload
{- "name": "New Server SSL Certificate",
- "description": "New SSL certificate for securing server communications",
- "regenerateCertificate": false,
- "options": {
- "commonName": "example.com",
- "countryName": "FR",
- "stateOrProvinceName": "Savoie",
- "localityName": "Chambéry",
- "organizationName": "Example Inc.",
- "keySize": 2048,
- "daysBeforeExpiry": 365
}
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Server SSL Certificate",
- "description": "SSL certificate for securing server communications",
- "publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...",
- "certificate": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBBQUAMEUx...",
- "expiry": "2023-10-31T12:34:56.789Z"
}Get certificate by ID
Retrieves a specific certificate by its unique identifier
path Parameters
| certificateId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "name": "Server SSL Certificate",
- "description": "SSL certificate for securing server communications",
- "publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...",
- "certificate": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBBQUAMEUx...",
- "expiry": "2023-10-31T12:34:56.789Z"
}Update certificate
Updates an existing certificate with new details
path Parameters
| certificateId required | string |
Request Body schema: application/jsonrequired
| name required | string The name of the certificate. |
| description required | string A description of the certificate's purpose or usage. |
| regenerateCertificate required | boolean Whether to regenerate the certificate. |
required | object or null Options for generating the certificate.
Set to |
Responses
Request samples
- Payload
{- "name": "New Server SSL Certificate",
- "description": "New SSL certificate for securing server communications",
- "regenerateCertificate": false,
- "options": {
- "commonName": "example.com",
- "countryName": "FR",
- "stateOrProvinceName": "Savoie",
- "localityName": "Chambéry",
- "organizationName": "Example Inc.",
- "keySize": 2048,
- "daysBeforeExpiry": 365
}
}Search logs
Searches system logs with various filter parameters. If no time range is specified, defaults to the last 24 hours.
query Parameters
| start required | string (Instant) Example: start=2023-10-31T12:34:56.789Z Represents an instant in time as an ISO 8601 string. |
| end required | string (Instant) Example: end=2023-10-31T12:34:56.789Z Represents an instant in time as an ISO 8601 string. |
| levels required | string |
| scopeIds required | string |
| scopeTypes required | string |
| messageContent required | string |
| page | number <double> Default: 0 |
Responses
Response samples
- 200
{- "content": [
- {
- "timestamp": "2023-10-31T12:34:56.789Z",
- "level": "silent",
- "scopeType": "south",
- "scopeId": "connector123",
- "scopeName": "South Connector 1",
- "message": "Connection failed to host: timeout after 5s"
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Search users
Searches for users with optional filtering by login name
query Parameters
| login required | string |
| page required | number <double> |
Responses
Response samples
- 200
{- "content": [
- {
- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "login": "john.doe",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "language": "en",
- "timezone": "Europe/Paris",
- "friendlyName": "John Doe"
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Create user
Creates a new user account with the provided details and password
Request Body schema: application/jsonrequired
required | object (UserCommandDTO) Command Data Transfer Object for creating or updating a user. Used as the request body for user creation/update endpoints. |
| password required | string |
Responses
Request samples
- Payload
{- "user": {
- "login": "john.doe",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "language": "en",
- "timezone": "Europe/Paris"
}, - "password": "string"
}Response samples
- 201
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "login": "john.doe",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "language": "en",
- "timezone": "Europe/Paris",
- "friendlyName": "John Doe"
}Get user details
Retrieves a specific user by their unique identifier
path Parameters
| userId required | string |
Responses
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "login": "john.doe",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "language": "en",
- "timezone": "Europe/Paris",
- "friendlyName": "John Doe"
}Update user
Updates an existing user account with new details
path Parameters
| userId required | string |
Request Body schema: application/jsonrequired
| login required | string The login username of the user. |
| firstName required | string or null The first name of the user.
Can be |
| lastName required | string or null The last name of the user.
Can be |
| email required | string or null The email address of the user.
Can be |
| language required | string (Language) Enum: "fr" "en" Type representing a supported language. |
| timezone required | string (Timezone) Represents a timezone as an IANA timezone string. |
Responses
Request samples
- Payload
{- "login": "john.doe",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "language": "en",
- "timezone": "Europe/Paris"
}Change password
Updates a user's password
path Parameters
| userId required | string |
Request Body schema: application/jsonrequired
| currentPassword required | string The current password of the user. |
| newPassword required | string The new password for the user. |
Responses
Request samples
- Payload
{- "currentPassword": "oldPassword123",
- "newPassword": "newSecurePassword456"
}Endpoints for managing OIAnalytics service registration and connection settings
Response samples
- 200
{- "id": "entity123",
- "creationDate": "2023-10-31T12:34:56.789Z",
- "lastEditInstant": "2023-10-31T12:34:56.789Z",
- "activationCode": "ABC123",
- "status": "NOT_REGISTERED",
- "activationDate": "2023-10-31T12:34:56.789Z",
- "activationExpirationDate": "2023-10-31T12:34:56.789Z",
- "useProxy": false,
- "proxyUrl": null,
- "proxyUsername": null,
- "acceptUnauthorized": false,
- "commandRefreshInterval": 60,
- "commandRetryInterval": 10,
- "messageRetryInterval": 10,
- "commandPermissions": {
- "setpoint": true,
- "deleteNorth": true,
- "updateNorth": true,
- "createNorth": true,
- "createOrUpdateSouthItemsFromCsv": true,
- "deleteSouth": true,
- "updateSouth": true,
- "createSouth": true,
- "createOrUpdateHistoryItemsFromCsv": true,
- "deleteHistoryQuery": true,
- "updateHistoryQuery": true,
- "createHistoryQuery": true,
- "deleteCertificate": true,
- "updateCertificate": true,
- "createCertificate": true,
- "deleteIpFilter": true,
- "updateIpFilter": true,
- "createIpFilter": true,
- "deleteScanMode": true,
- "updateScanMode": true,
- "createScanMode": true,
- "updateRegistrationSettings": true,
- "updateEngineSettings": true,
- "regenerateCipherKeys": true,
- "restartEngine": true,
- "updateVersion": true
}
}Update connection settings
Updates the connection settings for the OIAnalytics service
Request Body schema: application/jsonrequired
| host required | string The host URL for registration. |
| useProxy required | boolean Whether to use a proxy for registration. |
| proxyUrl required | string or null The proxy URL for registration. |
| proxyUsername required | string or null The username for proxy authentication. |
| proxyPassword required | string or null The password for proxy authentication. |
| acceptUnauthorized required | boolean Whether to accept unauthorized certificates. |
| commandRefreshInterval required | number <double> The interval in seconds for refreshing commands. |
| commandRetryInterval required | number <double> The interval in seconds for retrying commands. |
| messageRetryInterval required | number <double> The interval in seconds for retrying messages. |
required | object Permissions for various commands. |
Responses
Request samples
- Payload
{- "useProxy": false,
- "proxyUrl": null,
- "proxyUsername": null,
- "proxyPassword": null,
- "acceptUnauthorized": false,
- "commandRefreshInterval": 60,
- "commandRetryInterval": 10,
- "messageRetryInterval": 10,
- "commandPermissions": {
- "setpoint": true,
- "testNorthConnection": true,
- "deleteNorth": true,
- "updateNorth": true,
- "createNorth": true,
- "testSouthItem": true,
- "testSouthConnection": true,
- "createOrUpdateSouthItemsFromCsv": true,
- "deleteSouth": true,
- "updateSouth": true,
- "createSouth": true,
- "testHistorySouthItem": true,
- "testHistorySouthConnection": true,
- "testHistoryNorthConnection": true,
- "createOrUpdateHistoryItemsFromCsv": true,
- "deleteHistoryQuery": true,
- "updateHistoryQuery": true,
- "createHistoryQuery": true,
- "deleteCertificate": true,
- "updateCertificate": true,
- "createCertificate": true,
- "deleteIpFilter": true,
- "updateIpFilter": true,
- "createIpFilter": true,
- "deleteScanMode": true,
- "updateScanMode": true,
- "createScanMode": true,
- "updateRegistrationSettings": true,
- "updateEngineSettings": true,
- "regenerateCipherKeys": true,
- "restartEngine": true,
- "updateVersion": true
}
}Register service
Registers the current instance of OIBus with the OIAnalytics service
Request Body schema: application/jsonrequired
| host required | string The host URL for registration. |
| useProxy required | boolean Whether to use a proxy for registration. |
| proxyUrl required | string or null The proxy URL for registration. |
| proxyUsername required | string or null The username for proxy authentication. |
| proxyPassword required | string or null The password for proxy authentication. |
| acceptUnauthorized required | boolean Whether to accept unauthorized certificates. |
| commandRefreshInterval required | number <double> The interval in seconds for refreshing commands. |
| commandRetryInterval required | number <double> The interval in seconds for retrying commands. |
| messageRetryInterval required | number <double> The interval in seconds for retrying messages. |
required | object Permissions for various commands. |
Responses
Request samples
- Payload
{- "useProxy": false,
- "proxyUrl": null,
- "proxyUsername": null,
- "proxyPassword": null,
- "acceptUnauthorized": false,
- "commandRefreshInterval": 60,
- "commandRetryInterval": 10,
- "messageRetryInterval": 10,
- "commandPermissions": {
- "setpoint": true,
- "testNorthConnection": true,
- "deleteNorth": true,
- "updateNorth": true,
- "createNorth": true,
- "testSouthItem": true,
- "testSouthConnection": true,
- "createOrUpdateSouthItemsFromCsv": true,
- "deleteSouth": true,
- "updateSouth": true,
- "createSouth": true,
- "testHistorySouthItem": true,
- "testHistorySouthConnection": true,
- "testHistoryNorthConnection": true,
- "createOrUpdateHistoryItemsFromCsv": true,
- "deleteHistoryQuery": true,
- "updateHistoryQuery": true,
- "createHistoryQuery": true,
- "deleteCertificate": true,
- "updateCertificate": true,
- "createCertificate": true,
- "deleteIpFilter": true,
- "updateIpFilter": true,
- "createIpFilter": true,
- "deleteScanMode": true,
- "updateScanMode": true,
- "createScanMode": true,
- "updateRegistrationSettings": true,
- "updateEngineSettings": true,
- "regenerateCipherKeys": true,
- "restartEngine": true,
- "updateVersion": true
}
}Search OIAnalytics commands
Searches OIAnalytics commands with optional filtering by type and status.
query Parameters
| types required | string |
| status required | string |
| start required | string (Instant) Example: start=2023-10-31T12:34:56.789Z Represents an instant in time as an ISO 8601 string. |
| end required | string (Instant) Example: end=2023-10-31T12:34:56.789Z Represents an instant in time as an ISO 8601 string. |
| ack required | boolean |
| page | number <double> Default: 0 |
Responses
Response samples
- 200
{- "content": [
- {
- "id": "cmd123",
- "type": "update-version",
- "status": "RETRIEVED",
- "ack": true,
- "retrievedDate": "2023-10-31T12:34:56.789Z",
- "completedDate": "2023-10-31T12:35:56.789Z",
- "result": "Success",
- "commandContent": {
- "backupFolders": "/backup",
- "updateLauncher": true,
- "assetId": "asset123",
- "version": "3.7.0"
}
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Search transformers
Searches for transformers with optional filtering by type, input type, and output type
query Parameters
| type required | string Enum: "standard" "custom" |
| inputType required | string (OIBusDataType) Enum: "any" "time-values" "setpoint" Type representing an OIBus data type. |
| outputType required | string (OIBusDataType) Enum: "any" "time-values" "setpoint" Type representing an OIBus data type. |
| page | number <double> Default: 0 |
Responses
Response samples
- 200
{- "content": [
- {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}
], - "totalElements": 2,
- "size": 10,
- "number": 0,
- "totalPages": 1
}Response samples
- 200
[- {
- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}
]Get transformer by ID
Retrieves a specific transformer by its unique identifier
path Parameters
| transformerId required | string |
Responses
Response samples
- 200
{- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}Update transformer
Updates an existing custom transformer with new configuration
path Parameters
| transformerId required | string |
Request Body schema: application/jsonrequired
| type required | string Value: "custom" The type of the transformer (always 'custom' for this interface). |
| inputType required | string The input data type that the transformer accepts. |
| outputType required | string The output data type that the transformer produces. |
| name required | string The name of the custom transformer. |
| description required | string A description of what the custom transformer does. |
| customCode required | string The custom JavaScript code that implements the transformation logic. |
required | object (OIBusObjectAttribute) Object-type attribute that groups related attributes. Used to create nested form structures. |
Responses
Request samples
- Payload
{- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }",
- "customManifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}
}Create transformer
Creates a new data transformer with the provided configuration
Request Body schema: application/jsonrequired
| type required | string Value: "custom" The type of the transformer (always 'custom' for this interface). |
| inputType required | string The input data type that the transformer accepts. |
| outputType required | string The output data type that the transformer produces. |
| name required | string The name of the custom transformer. |
| description required | string A description of what the custom transformer does. |
| customCode required | string The custom JavaScript code that implements the transformation logic. |
required | object (OIBusObjectAttribute) Object-type attribute that groups related attributes. Used to create nested form structures. |
Responses
Request samples
- Payload
{- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }",
- "customManifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}
}Response samples
- 201
{- "id": "transformer123",
- "type": "custom",
- "inputType": "string",
- "outputType": "number",
- "manifest": {
- "type": "object",
- "key": "serverUrl",
- "translationKey": "connection.serverUrl",
- "validators": [
- {
- "type": "REQUIRED",
- "arguments": [ ]
}
], - "attributes": [
- { }
], - "enablingConditions": [
- {
- "targetPathFromRoot": "protocol",
- "referralPathFromRoot": "connection.type",
- "values": [
- "MQTT"
]
}
], - "displayProperties": {
- "visible": true,
- "wrapInBox": true
}
}, - "name": "String to Number",
- "description": "Converts string input to numeric output",
- "customCode": "function transform(input) { return parseFloat(input); }"
}