Response properties
Universal response properties list
| Property | Description | Type | Limits (inclusive) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_bookmark_ |
The
Returned when the request property |
string | 0 to 2048 bytes | ||||||||||||
accounts |
The "accounts": [
{
"username": "admin",
"accountDescription": "",
"lockoutAfterNFailedAttempts": 0,
"maxDaysBeforePasswordMustChange": 0,
"maxMinutesBeforeNextLogin": 0,
"memoryLimit": 0,
"memoryRule": "default",
"roles": [
{
"roleName": "ADMIN"
}
]
}
|
array of objects | One object per matching account. | ||||||||||||
affectedRows |
The "affectedRows" property specifies the number of records that were affected by the SQL statement. |
integer | number of records affected by the statement. | ||||||||||||
allowedCipherSuites |
The
|
string | No limits | ||||||||||||
applicationRoot |
The The default value of There is rarely a reason to change the |
string | The filepath to the folder where FairCom's apps are located. | ||||||||||||
applications |
The FairCom and other custom web applications are single-page, browser-based applications served from folders in the default An app server is a backend service used by one or more web applications. It listens to HTTP and/or WebSocket requests and then returns results. Contact FairCom for information on building and adding your own app servers in C or C++. The following
|
array of objects | One object per application. | ||||||||||||
authToken |
The It is supplied by the server in response to the connect action. Clients must include it in all subsequent requests to validate that they are authenticated and authorized. If the client does not supply the correct values, the server returns an unauthorized error. |
string | 0 to 255 bytes | ||||||||||||
autoValue |
The "autoValue" property indicates when and how the server automatically sets the field value. See autoValue for more details. |
string |
Some actions only:
|
||||||||||||
averageMessagesPerDay |
The "averageMessagesPerDay" property describes how many messages the specified topic publishes per day on average. |
integer | The average number of messages published per day | ||||||||||||
averageMessagesPerHour |
The "averageMessagesPerHour" property indicates the average number of messages the specified topic publishes per hour. |
integer | The average number of messages published per hour | ||||||||||||
averageMessagesPerMinute |
The "averageMessagesPerMinute" property indicates the average number of messages the specified topic publishes per minute. |
integer | The average number of messages published per minute | ||||||||||||
binaryFormat |
The "binaryFormat" property designates the format of binary values embedded in JSON strings. See binaryFormat for more details. |
string | One of the following: "base64", "hex", or "byteArray". |
||||||||||||
body |
The "body" property specifies information to send to a REST server by defining the "propertyPath" and "propertyValue" properties. |
array of objects |
|
||||||||||||
brokerConnectionNames |
The |
array of objects |
1 object for each broker connection matching the request containing some or all of the following properties:
|
||||||||||||
brokerHostname |
The |
string | The unique broker host name or TCP/IP address of the specified broker connection. | ||||||||||||
brokerPort |
The |
integer | A number between 1 and 65535
|
||||||||||||
brokerUserName |
The
|
VARCHAR(500) string | The login name to the external broker. | ||||||||||||
caCertificateFilename |
The
"tls": {
"enabled": true,
"caCertificateFilename": "ca.crt",
"allowedCipherSuites": "",
"clientCertificateEnabled": true,
"clientCertificateFilename": "admin_client.crt",
"clientPrivateKeyFilename": "admin_client.key"
} |
string | No limits | ||||||||||||
caseInsensitive |
The When "fields": [
{
"caseInsensitive": true
}
] |
Boolean |
|
||||||||||||
certificateFilename |
The "tls": {
"allowedCipherSuites": "",
"certificateAuthoritiesFilename": "",
"certificateFilename": "",
"privateKeyFilename": ""
}, |
string | No limits | ||||||||||||
changedLabels |
The "changedLabels": [
{
"id": 4,
"group": "myLabelGroupName",
"name": "myLabelName",
"value": 99,
"enum": 0,
"sequence": 1.2,
"deprecated": false,
"description": "My label description.",
"metadata": {}
}
] |
array of objects | An object for each changed label. | ||||||||||||
changeIdField |
This property's value designates the name of the field used for change-tracking functionality if you are not using the
However, if you use the name |
string | 1 to 64 bytes | ||||||||||||
clientCertificateEnabled |
The "clientCertificateEnabled" property enables client certificate authentication when set to true. The target FairCom DB or RTG server must be configured to accept client certificates. |
boolean |
|
||||||||||||
clientCertificateFilename |
string | The file name of a client certificate. | |||||||||||||
clientPrivateKeyFilename |
string | The file name of a client certificate private key file. | |||||||||||||
clientName |
The “Clientname” property uniquely identifies an MQ session. |
string | |||||||||||||
clonedCodeId |
The "result": {
"data": [
{
"codeId": 1,
"databaseName": "faircom",
"ownerName": "admin",
"codeName": "convertTemperature",
"codeVersion": 1,
"clonedCodeId": 0
]
}, |
integer | The cloned code ID. | ||||||||||||
codeServices |
The |
array of objects |
|
||||||||||||
codeVersion |
The "result": {
"data": [
{
"codeId": 1,
"databaseName": "faircom",
"ownerName": "admin",
"codeName": "convertTemperature",
"codeVersion": 1,
"clonedCodeId": 0
]
}, |
integer | The version of the specified code package. | ||||||||||||
collectStats |
The “collectStats” property identifies whether usage statistics are being collected and stored. |
boolean |
|
||||||||||||
compression |
The “compression” property identifies whether the index is compressed. |
string |
|
||||||||||||
conditionalExpression |
The “conditionalExpression” property identifies an optional conditional expression that filters which records are included in the index. It is null when there is no conditional expression. |
string |
null or a string containing a conditional expression. |
||||||||||||
connectionStatus |
The
|
string |
|
||||||||||||
connectorName |
In the Tag actions, the
|
string | 1 to 64 bytes | ||||||||||||
connectorId |
The
|
integer |
0 to 9223372036854770000
|
||||||||||||
createdBy |
The "result": {
"data": [
{
"createdBy": "ADMIN",
"createdOn": "2025-08-25T21:48:38.109",
"updatedBy": "ADMIN",
"updatedOn": "2025-08-25T21:48:38.109"
},
] |
string | The name of the account used to create the code package. | ||||||||||||
createdOn |
The "result": {
"data": [
{
"createdBy": "ADMIN",
"createdOn": "2025-08-25T21:48:38.109",
"updatedBy": "ADMIN",
"updatedOn": "2025-08-25T21:48:38.109"
},
] |
timestamp | The date and time when the code package was created. | ||||||||||||
createdTimestamp |
The "createdTimestamp" property is the date and time when something, such as a thing or key, was originally created in ISO 8601 format, such as "2025-08-28T10:47:13.041". It is never null. |
timestamp | An ISO 8601 timestamp | ||||||||||||
creationTime |
The "creationTime" property details the date and time when the specified topic was created. This property stores the creation date in an ISO 8601 timestamp. |
timestamp | An ISO 8601 timestamp | ||||||||||||
cursorid |
The
|
string | 0 to 255 bytes | ||||||||||||
data |
The |
array of objects | The action determines its contents. | ||||||||||||
databaseConnectionString |
The "databaseConnectionString" property specifies the connection string for the database that holds the persistence table. |
string | No limits | ||||||||||||
databaseName |
The
|
string | 1 to 64 bytes | ||||||||||||
databaseUserName |
The "databaseUserName" property specifies the user name of the account logged into the database that holds the persistence table. |
string | 0 to 64 bytes | ||||||||||||
dataChangeStreamFirstStartTimestamp |
The
|
string timestamp | "2025-06-07T12:23:19.275" |
||||||||||||
dataChangeStreamLastPausedTimestamp |
The
|
string timestamp | "2025-06-07T12:23:19.275" |
||||||||||||
dataChangeStreamLastStartTimestamp |
The
|
string timestamp | "2025-06-07T12:23:19.275" |
||||||||||||
dataChangeStreams |
“dataChangeStreams” lists the data change streams that match the request filters as separate objects. |
array of objects |
0 or more objects including 1 or more of the following properties:
|
||||||||||||
dataChangeStreamStatus |
The "dataChangeStreamStatus" property specifies the status of the data change stream. It may specify any of the following states: |
string enum |
|
||||||||||||
dataFormat |
The
|
string |
|
||||||||||||
defaultApi |
The |
string enum |
|
||||||||||||
defaultBinaryFormat |
The "binaryFormat" property determines the format of binary values embedded in JSON strings. For more details, see defaultBinaryFormat. |
string | One of the following: "base64", "hex", or "byteArray". |
||||||||||||
defaultDatabaseName |
The |
string | 1 to 64 bytes | ||||||||||||
defaultDebug |
The
|
string enum |
|
||||||||||||
defaultOwnerName |
The optional
|
string | 1 to 64 bytes | ||||||||||||
defaultValue |
The "defaultValue" property specifies the field's default value. |
string | 0 to 65,500 bytes | ||||||||||||
defaultVariantFormat |
The |
string |
|
||||||||||||
defaultResponseOptions |
The JSON NAV allows you to choose how your program detects errors. By default, all error properties are included in each response – unless you override this behavior as shown in the example. The example omits the error object in all responses which makes it easier for statically typed languages, such as C, C++, Java, C#, and VB, because they prefer properties to always be present. To help these languages, the Example "defaultResponseOptions": {
"binaryFormat": "hex",
"dataFormat": "objects",
"numberFormat": "number",
"variantFormat": "json"
} |
object |
|
||||||||||||
defaultRetentionPeriod |
The |
integer |
1 to 100
|
||||||||||||
defaultRetentionPolicy |
The |
string enum |
|
||||||||||||
defaultRetentionUnit |
The |
string enum |
|
||||||||||||
defaultValue |
“defaultValue” specifies the default value of a field. |
string | 0 to 65,500 bytes | ||||||||||||
deferindexing |
“deferindexing” identifies whether deferred indexing is enabled. A deferred index builds and updates asynchronously. This speeds up inserts, updates, and deletes, with a slight delay due to the changes being included in the index. |
boolean |
|
||||||||||||
deletedLabels |
The "deletedLabels": [
{
"id": 4,
"group": "myLabelGroupName",
"name": "myLabelName",
"value": 99,
"enum": 0,
"sequence": 1.2,
"deprecated": false,
"description": "My label description.",
"metadata": {}
}
] |
array of objects | An object for each deleted label. | ||||||||||||
deletedTags |
The "deletedTags" property describes the tags that were deleted. |
array of objects |
zero or more objects containing the following properties:
|
||||||||||||
deprecated |
The |
Boolean |
|
||||||||||||
description |
The Markdown is a good language for formatting description text. You must ensure the text is compatible with a JSON string. For example, you must escape a double quote character using the backslash character:
In the Thing API, It defaults to
|
string | 1 to 65,500 bytes | ||||||||||||
elapsedMilliseconds |
The "elapsedMilliseconds" property specifies the number of milliseconds it took for the server to execute the SQL statement. |
integer | The number of seconds it took to execute the statement. | ||||||||||||
enabled |
The "tls": {
"enabled": true,
"caCertificateFilename": "ca.crt",
"allowedCipherSuites": "",
"clientCertificateEnabled": true,
"clientCertificateFilename": "admin_client.crt",
"clientPrivateKeyFilename": "admin_client.key"
} |
Boolean |
|
||||||||||||
enablePermanentJsonApiSessions |
The |
Boolean |
|
||||||||||||
endTimestamp |
The
|
string containing an ISO8601 timestamp |
|
||||||||||||
enum |
The
|
smallint |
-32768 to 32767
|
||||||||||||
errorCode |
The "errorCode" property indicates an error when set to a non-zero integer or success when 0.
|
integer | -2147483648 to 2147483647 |
||||||||||||
errorMessage |
The "errorMessage" property displays a human-readable error message. |
string | 0 to 256 bytes | ||||||||||||
estimatedBacklogSeconds |
The |
integer |
0 to 4294967296
|
||||||||||||
fields |
The
"fields": [
{
"autoValue": "none",
"name": "name",
"type": "varchar",
"length": 50,
"scale": null,
"defaultValue": null,
"nullable": false, |
array |
updateRecords and deleteRecords only:
|
||||||||||||
fixedOutput |
“fixedOutput” includes all properties in a data change event when true. |
Boolean |
|
||||||||||||
group |
The The If the When you assign a group name to a label, the server automatically checks whether the group name exists in the list of groups returned by the "listLabelGroups" action. If the group name does not exist, the server adds the group name to the list. When you rename a group assigned to a label, the server automatically adds a new group name to the list and removes the previous group name if no other label uses it.
|
string | 1 to 64 bytes | ||||||||||||
hierarchyDelimiter |
The
The
|
string | 1 byte | ||||||||||||
host |
The "host" property specifies the IP or hostname of the Rest resource, including the port. |
string | 1 to 1024 bytes | ||||||||||||
hostIpAddresses |
The "sessions": [
{
"hostname": "host's name",
"hostUuid": "561d3f41-37da-4d03-bcc2-9cf2b671119f",
"hostIpAddresses": [
"fe80::7b21:ec4f:fbb0:7d45",
"169.254.188.125",
"fe80::62c9:6f17:6132:d13f",
"169.254.150.200",
"fe80::6e3f:653a:ac7b:3074",
"169.254.169.237",
"fe80::c98f:a8f0:25c5:91e4",
"10.250.250.201",
"fe80::48d2:30ab:3798:6a6d",
"169.254.35.210"
],
"hostServerNamePort": "FAIRCOMS",
"hostSQLPort": 6597
}
] |
array of strings | The host's IP addresses | ||||||||||||
hostname |
The "sessions": [
{
"hostname": "host's name",
"hostUuid": "561d3f41-37da-4d03-bcc2-9cf2b671119f",
"hostIpAddresses": [
"fe80::7b21:ec4f:fbb0:7d45",
"169.254.188.125",
"fe80::62c9:6f17:6132:d13f",
"169.254.150.200",
"fe80::6e3f:653a:ac7b:3074",
"169.254.169.237",
"fe80::c98f:a8f0:25c5:91e4",
"10.250.250.201",
"fe80::48d2:30ab:3798:6a6d",
"169.254.35.210"
],
"hostServerNamePort": "FAIRCOMS",
"hostSQLPort": 6597
}
] |
string | The name of the host device. | ||||||||||||
hostnames |
The
When you use the
The Thing API implements the
|
array of strings | zero or more hostname strings of 1 to 64 bytes | ||||||||||||
hostServerNamePort |
The "sessions": [
{
"hostname": "host's name",
"hostUuid": "561d3f41-37da-4d03-bcc2-9cf2b671119f",
"hostIpAddresses": [
"fe80::7b21:ec4f:fbb0:7d45",
"169.254.188.125",
"fe80::62c9:6f17:6132:d13f",
"169.254.150.200",
"fe80::6e3f:653a:ac7b:3074",
"169.254.169.237",
"fe80::c98f:a8f0:25c5:91e4",
"10.250.250.201",
"fe80::48d2:30ab:3798:6a6d",
"169.254.35.210"
],
"hostServerNamePort": "FAIRCOMS",
"hostSQLPort": 6597
}
] |
string | The name of the server or ISAM port. | ||||||||||||
hostSQLPort |
The "sessions": [
{
"hostname": "host's name",
"hostUuid": "561d3f41-37da-4d03-bcc2-9cf2b671119f",
"hostIpAddresses": [
"fe80::7b21:ec4f:fbb0:7d45",
"169.254.188.125",
"fe80::62c9:6f17:6132:d13f",
"169.254.150.200",
"fe80::6e3f:653a:ac7b:3074",
"169.254.169.237",
"fe80::c98f:a8f0:25c5:91e4",
"10.250.250.201",
"fe80::48d2:30ab:3798:6a6d",
"169.254.35.210"
],
"hostServerNamePort": "FAIRCOMS",
"hostSQLPort": 6597
}
] |
string | The name of the server's SQL port. | ||||||||||||
hostUuid |
The "sessions": [
{
"hostname": "host's name",
"hostUuid": "561d3f41-37da-4d03-bcc2-9cf2b671119f",
"hostIpAddresses": [
"fe80::7b21:ec4f:fbb0:7d45",
"169.254.188.125",
"fe80::62c9:6f17:6132:d13f",
"169.254.150.200",
"fe80::6e3f:653a:ac7b:3074",
"169.254.169.237",
"fe80::c98f:a8f0:25c5:91e4",
"10.250.250.201",
"fe80::48d2:30ab:3798:6a6d",
"169.254.35.210"
],
"hostServerNamePort": "FAIRCOMS",
"hostSQLPort": 6597
}
] |
string | A UUID | ||||||||||||
id |
The |
integer |
|
||||||||||||
idleConnectionTimeoutSeconds |
The A value of |
integer |
0 to 2147483647
|
||||||||||||
idleCursorTimeoutSeconds |
The
|
integer |
0 to 2147483647
|
||||||||||||
ids |
The
|
array | 0 or more ids | ||||||||||||
immutableKeys |
"immutableKeys" indicates whether a key's value can be changed. |
boolean |
|
||||||||||||
inactiveTimestamp |
The "inactiveTimestamp" property is the date and time when the thing was last made inactive. It is null when the thing is active. It is returned in ISO 8601 format, such as "2025-08-28T10:47:13.041". |
timestamp | ISO 8601 timestamp | ||||||||||||
includedFields |
The |
array of strings | 0 or more strings | ||||||||||||
includeExistingRecordsFilter |
The |
Boolean |
|
||||||||||||
includeMetadata |
The |
array of metadata objects | [
{
"propertyPath": "myPath",
"propertyValue": "myValue"
}
] |
||||||||||||
includePrimaryKey |
The |
string |
|
||||||||||||
indexes |
“indexes” is an array of objects where each object identifies the characteristics of each index in the table. |
array |
|
||||||||||||
inputConnectors |
The
|
array of objects |
zero or more objects containing zero or more of the following properties:
|
||||||||||||
inputName |
The "inputName" property specifies the unique name of an input. |
string | 1 to 64 bytes | ||||||||||||
integrationServices |
The
|
array of objects |
|
||||||||||||
isConnected |
The "isConnected" property indicates whether the specified broker connection is active. |
Boolean |
|
||||||||||||
isPrimaryIndex |
The
|
Boolean |
|
||||||||||||
jsonActionApiDefaults |
The default settings for the FairCom jsonAction APIs and browser-based applications are specified in the services.json file in the "jsonActionApiDefaults" property. For more details, see jsonActionApiDefaults. |
object | see jsonActionApiDefaults | ||||||||||||
key |
The "key" property is part of an optional key-value object that is defined in an array in the "userProperties" property. It is a user-defined string value. |
string | 1 to 128 bytes | ||||||||||||
keys |
The "keys" property contains an array of keys for an action to work on and return, such as [ "key1", "key2" ]. |
array of strings | one or more key strings | ||||||||||||
keyStore |
The
|
string enum |
|
||||||||||||
keyValuePairDetails |
The
|
array of objects | |
||||||||||||
keyValuePairs |
The "keyValuePairs" property contains an array of objects. Each object represents a key-value pair and contains "key" and "value" properties, such as { "key": "k1", "value": 1 }. |
array of key-value objects | |
||||||||||||
keyWithoutHierarchy |
The
|
string | 1 to 128 bytes | ||||||||||||
labels |
The The
When using tag actions, the optional
When you use the
You can use the
The Tag API implements the
|
array of objects |
1 or more label objects
Values are managed in the Label API with the group of |
||||||||||||
lastCollectedTimestamp |
The
It returns the ISO 8601 date and time of the last data collected by the input connector. If no data has been collected, the value is |
ISO 8601 timestamp | The ISO 8601 date and time of the last data collected by the input connector. | ||||||||||||
lastDeliveredTimestamp |
The
It returns the ISO 8601 date and time of the last data delivered by the output connector. If no data has been delivered, the value is |
ISO 8601 timestamp | The ISO 8601 date and time of the last data delivered by the output connector. | ||||||||||||
length |
Identifies the length of the field. | integer |
1 to 65500 |
||||||||||||
listeners |
The
|
array of objects |
|
||||||||||||
localDatabaseName |
The |
string | 1 to 64 bytes | ||||||||||||
localDataFilePath |
The |
string | No limits | ||||||||||||
localOwnerName |
The |
string | 1 to 64 bytes | ||||||||||||
localTableName |
The |
string | 1 to 64 bytes | ||||||||||||
location |
The
This API uses the Label API to manage manufacturers.
|
string | 1 to 64 bytes | ||||||||||||
logLevel |
“logLevel” defines what types of messages the replication agent will log. |
string enum |
|
||||||||||||
manufacturer |
The
This API uses the Label API to manage manufacturers.
|
string | 1 to 64 bytes | ||||||||||||
maxConnectionsPerIpAddress |
The This feature is implemented at the FairCom App Server level to prevent the app server from being overwhelmed by a DoS attack. It protects against simultaneous DoS attacks across multiple protocols: HTTP, HTTPS, MQTT, MQTTS, WS, and WSS. A value of This property can be added to the top level of the In the case that your connections are routed through a firewall or load balancer, you may need to disable this feature since the connections will come from the same IP address.
{
"maxConnectionsPerIpAddress": 5,
"listeners": [
{
"serviceName": "https8443",
"description": "Port 8443 using TLS-secured HTTPS protocol for REST and Web Apps on all TCP/IP addresses bound to this server",
"port": 8443,
"protocol": "https",
"enabled": true,
"maxConnectionsPerIpAddress": 5,
"tls": {
"certificateFilename": "./web/fccert.pem"
}
}
]
} |
integer |
1 to 2147483647
|
||||||||||||
maxDeliveryRatePerSecond |
The
|
integer |
0 to 2147483647
|
||||||||||||
maxJsonApiSessions |
The The default value is the maximum number of JSON API connections allowed by the license. A value of This property is added to the |
integer |
1 to 2147483647
|
||||||||||||
maxJsonApiSessionsPerIpAddress |
The The maximum possible number of connections is determined by the license file. A value of This property is added to the In the case that your connections are routed through a firewall or load balancer, you may need to disable this feature since the connections will come from the same IP address. |
integer |
1 to 2147483647
|
||||||||||||
maxJsonApiSessionsPerUsername |
The The maximum possible number of connections is determined by the license file. A value of If your application uses one account for all JSON API sessions, this feature will need to be disabled. This property is added to the
|
integer |
1 to 2147483647
|
||||||||||||
maxSecondsBeforeConnectingToNextServer |
The "maxSecondsBeforeConnectingToNextServer" property specifies the maximum number of seconds the server will attempt to reconnect to the existing server before it attempts to connect to the next server in the "sourceServers" list. |
int32 |
1 to 65535
|
||||||||||||
messageCount |
The "messageCount" property defines the total number of messages published by the topic. |
BigInteger |
0 to 9223372036854775807
|
||||||||||||
metadata |
The |
JSON | 0 to 65,500 bytes | ||||||||||||
model |
The
This API uses the Label API to manage models.
|
string | 1 to 64 bytes | ||||||||||||
mqttPayloadType |
The "mqttPayloadType" property specifies the variant type format of the "source_payload" field. For more details, see mqttPayloadType. |
string enum |
|
||||||||||||
name |
The The The
|
string | 1 to 64 bytes | ||||||||||||
newKey |
The "newKey" property is required by the "renameKeys" action to rename keys. It is part of a key-rename object and its value is a string. It specifies the new name of a key. Each key-rename object contains "oldKey" and "newKey" properties that specify the current key's name and its new name. See the "renamedKeys" property for more information. |
string | 1 to 128 bytes | ||||||||||||
newSubscriberDeliveryMode |
The
|
string enum |
|
||||||||||||
newSubscriberMaxDeliveredMessages |
The
|
integer |
-1 to 2147483647
|
||||||||||||
nullable |
“nullable” identifies whether a field can contain a NULL value. |
Boolean |
|
||||||||||||
numberFormat |
The When For example, including Possible values:
|
string |
|
||||||||||||
oldKey |
The "oldKey" property is required by the "renameKeys" action to rename keys. It is part of a key-rename object and its value is a string. It specifies the current key that will be renamed. Each key-rename object contains "oldKey" and "newKey" properties that specify the current key's name and its new name. See the "renamedKeys" property for more information. |
string | 1 to 128 bytes | ||||||||||||
outParams |
The "outParams" property specifies the output values of a stored procedure. |
array of objects |
|
||||||||||||
output |
The "output" property specifies the results returned by a stored procedure or SELECT statement. |
object |
|
||||||||||||
outputConnectors |
The
|
array of objects |
Zero or more objects containing zero or more of the following properties:
|
||||||||||||
outputName |
The "outputName" property specifies a unique name for mapping an integration table to an output plugin to an external system. |
string | 1 to 64 bytes | ||||||||||||
outputPayloadField |
The
This makes it possible for the output from any transform to be used as the payload delivered to subscribers. |
string |
"source_payload" or a user-defined field |
||||||||||||
ownerName |
The "ownerName" property identifies the user who owns an object (see Object owner). |
string | 0 to 64 bytes | ||||||||||||
partialKey |
The
String "partialKey": "Mi" Array (multi-field) "partialKey": [ "2023-01-01", true, "full string", -3.4, "TWk=" ] In the Key-Value API, the
|
string or array |
1 or more strings/arrays 1 to 128 bytes in the Key-Value API |
||||||||||||
password |
The
|
string | 0 to 256 bytes | ||||||||||||
permanentSession |
The
If
|
Boolean |
|
||||||||||||
persistence |
The "persistence" property defines the parameters of the persistence table. |
object |
|
||||||||||||
photo |
The "photo" property contains a photo of a thing. You cannot use it for lookups and filtering. |
string | up to 2 GB | ||||||||||||
port |
The |
integer | an integer port number | ||||||||||||
previousTransformSteps |
The "previousTransformSteps" property is a JSON array that contains the transform step objects assigned to the integration table before they were replaced by the "copyIntegrationTableTransformSteps" action. |
array | the transform step objects of the specified transform before they were replaced by the action. | ||||||||||||
primaryIndexName |
The “primaryIndexName” property returns the name of the primary key index. If there is none, it returns “”.
|
string | 0 to 256 bytes | ||||||||||||
primaryKey |
When > 0, the "primaryKey" property identifies the ordinal position of the field within the table's primary key. |
integer |
0 to 32
|
||||||||||||
primaryKeys |
Each table created by the JSON DB API has a primary key that uniquely identifies each record.
You can specify one or more fields to be the primary key of the table instead of the
If multiple fields are specified for the key, the index is named If you use the
Example "fields": [
{
"name": "a",
"type": "tinyint",
"primaryKey": 1
},
{
"name": "b",
"type": "smallint",
"primaryKey": 2
},
{
"name": "c",
"type": "integer",
"primaryKey": 3
}
] |
array of arrays | an array of arrays | ||||||||||||
primaryKeyFields |
This property specifies the fields of the table’s primary key when multiple fields are combined to form the primary key.
The order of fields in this property is the order of fields in the primary key index. The A primary key with multiple fields has an index named If only one field is used as the primary key, the
Example "primaryKeyFields": [
"a",
"b",
"c"
],
"fields": [
{
"name": "a",
"type": "tinyint"
},
{
"name": "b",
"type": "smallint"
},
{
"name": "c",
"type": "integer"
}
] |
array | an array | ||||||||||||
privateKeyFilename |
The "tls": {
"allowedCipherSuites": "",
"certificateAuthoritiesFilename": "",
"certificateFilename": "",
"privateKeyFilename": ""
}, |
string | No limits | ||||||||||||
problemCode |
The |
integer | A unique code number | ||||||||||||
problemData |
The |
object | 1 or more key/value pairs | ||||||||||||
problemMessage |
The |
string | A message detailing the problem | ||||||||||||
problems |
The "problems" property lists problems that match the request parameters. Each problem is contained in a separate object. |
array of objects |
0 or more objects containing 1 or more of the following properties:
|
||||||||||||
problemTimestamp |
The |
string containing an ISO8601 timestamp |
|
||||||||||||
problemType |
The |
string |
|
||||||||||||
propertyPath |
The "propertyPath" property specifies the name of the data to be defined by "propertyValue". |
string | 0 to 256 bytes | ||||||||||||
propertyValue |
Contains properties that define the data values of a The data values specified in the
|
object |
|
||||||||||||
protocol |
The |
string | the name of a protocol | ||||||||||||
publishedTopics |
The |
string | 1 to 65,500 bytes | ||||||||||||
purpose |
The
In the Thing API, the
This API uses the Label API to manage purposes.
|
string | 1 to 64 bytes | ||||||||||||
reactions |
The "reactions" property contains the data returned by a SQL SELECT statement. |
array of objects |
|
||||||||||||
reconnectFrequencySeconds |
The
|
int32 | the number of seconds the broker will wait between attempts to reconnect to an external broker. | ||||||||||||
recordAfterBeingTransformed |
The |
object | 0 or more properties | ||||||||||||
recordBeforeBeingTransformed |
The |
object | 0 or more properties | ||||||||||||
recordFilter |
The |
string | 1 to 65,000 bytes | ||||||||||||
recordFormat |
The |
string |
|
||||||||||||
renamedKeys |
The
|
array of key-rename objects | |
||||||||||||
requestedRecordCount |
The
|
integer |
|
||||||||||||
requestIterationMilliseconds |
The |
integer |
1 to 2147483647
|
||||||||||||
requestMaxThreads |
The |
integer |
1 to 2147483647
|
||||||||||||
retentionPeriod |
The
When partitions are auto-purged, some data are maintained Automatically purging data is important to ensure that retained data does not consume all storage and shut down the computer. The default value of 4 weeks allows FairCom's servers to store 1 TB of messages when 200 topics send one 2K message per second.
|
integer |
1 to 100
|
||||||||||||
retentionPolicy |
The Possible values:
|
string enum |
|
||||||||||||
retentionUnit |
Each time this unit cycles, FairCom purges expired messages. For example, if you want a week's worth of messages to be purged once a week, set
|
string enum |
|
||||||||||||
retrySeconds |
The
|
integer |
1 to 65535
|
||||||||||||
returnedRecordCount |
The
|
integer |
|
||||||||||||
returnTagsBy |
The "returnTagsBy" property is an enumerated string with the following values: "tagName" and “id".It is used by the "listTags" action to determine whether tags are returned by ID or by name. |
string enum |
|
||||||||||||
returnThingsBy |
The "returnThingsBy" property is an enumerated string with the following values: "name" and "id". It is used by the "listThings" action to specify whether it returns things identified by ID or "name". |
string enum |
|
||||||||||||
revealAfterValueOnFilteredDelete |
The |
Boolean |
|
||||||||||||
revealBeforeValueOnFilteredInsert |
The |
Boolean |
|
||||||||||||
reverseCompare |
The When "fields": [
{
"reverseCompare": true
}
] |
Boolean |
|
||||||||||||
roleName |
The
|
string | 1 to 64 bytes | ||||||||||||
roleNames |
The |
array of strings | An array of 1 or more strings between 1 and 64 bytes. | ||||||||||||
rows |
The "rows" property specifies the rows returned by a stored procedure of a SELECT statement and metadata about the results. |
object | The rows returned by a stored procedure. | ||||||||||||
scale |
If the type is "number" or "money", the "scale" property identifies the number of places to the right of the decimal point,. |
integer |
0 to 32
|
||||||||||||
schemaName |
The Things to know:
|
string | 1 to 64 bytes | ||||||||||||
sequence |
The |
float | Any floating point or integer number. | ||||||||||||
serialNumber |
The "serialNumber" property specifies a thing's serial number. Typically a serial number uniquely identifies a thing, but things from different manufacturers may have the same serial numbers. You can use it to do partial lookups and filtering. |
string | 1 to 64 bytes | ||||||||||||
serviceLibrary |
The Library files are located in the The full path includes the |
string | The file name for the service library. | ||||||||||||
serviceName |
The See the The following services are available as of the V5 release:
|
string | A service name between 1 and 64 bytes. | ||||||||||||
serverVersion |
The "result": {
"sessionStartTimestamp": "2025-08-28T15:44:56",
"sessionLastAccessedTimestamp": "2025-08-28T18:07:07",
"defaultRetentionPolicy": "autoPurge",
"defaultRetentionUnit": "week",
"defaultRetentionPeriod": 4,
"serverVersion": "FairCom EDGE Server - V4.2.4.109(Build-250819)"
}, |
string | The name of the version of the FairCom server to which the request was made. | ||||||||||||
sessionLastAccessedTimestamp |
The "result": {
"sessionStartTimestamp": "2025-08-27T20:26:25",
"sessionLastAccessedTimestamp": "2025-08-27T20:56:25"
}, |
timestamp | An ISO 8601 timestamp | ||||||||||||
sessionPresent |
Boolean that specifies whether the broker will use a previously stored session state, including the client's previous descriptions. |
Boolean |
|
||||||||||||
sessions |
The |
array of objects |
|
||||||||||||
sessionStartTimestamp |
The "result": {
"sessionStartTimestamp": "2025-08-27T20:26:25",
"sessionLastAccessedTimestamp": "2025-08-27T20:56:25"
}, |
timestamp | An ISO 8601 timestamp | ||||||||||||
sessionType |
“sessionType” specifies which type of session the requested client is currently running. |
string |
|
||||||||||||
settings |
The |
object |
Allen-Bradley "params" Modbus "params" OPC UA "settings" Siemens S7 "params." |
||||||||||||
sortDescending |
The "fields": [
{
"sortDescending": true
}
] |
Optional with default of false
|
Boolean | ||||||||||||
sourceDatabaseName |
The |
string | 1 to 64 bytes | ||||||||||||
sourceDataField |
The |
string |
|
||||||||||||
sourceDataFilePath |
The |
string | No limits | ||||||||||||
sourceDataFormat |
The "sourceDataFormat" property specifies the format of the "source_payload" field. |
string enum |
|
||||||||||||
sourceFieldLength |
The
The following field types have a user-defined length:
|
integer | The field's length as defined by the integration table. | ||||||||||||
sourceFieldName |
The
|
string | 1 to 64 bytes | ||||||||||||
sourceFields |
The An integration table has many fields, such as fields populated by transforms and MQTT. Converting all fields into JSON is slower than converting only the fields needed by the output connector. For example, input connectors and MQTT messages store their data in the When you configure an output connector, you add |
array | One or more fields from the integration table. | ||||||||||||
sourceFieldScale |
The
|
integer | The field's scale as defined by the integration table. | ||||||||||||
sourceFieldType |
The
|
string | The field's type as defined by the integration table. | ||||||||||||
sourceHostname |
The "sourceHostname" property specifies a unique host name or TCP/IP address of a FairCom DB or RTG server. |
string | 1 to 255 bytes | ||||||||||||
sourceOwnerName |
The |
string | 1 to 64 bytes | ||||||||||||
sourcePassword |
The "sourcePassword" property specifies the login password of a FairCom DB or RTG server. |
string | 1 to 128 bytes | ||||||||||||
sourcePayloadBinaryFormat |
The
|
string enum |
|
||||||||||||
sourcePayloadDateFormat |
The
|
string enum |
"ccyy.mm.dd""mm.dd.ccyy""mm.dd.yy""dd.mm.ccyy""dd.mm.yy""ccyymmdd""iso8601""yymmdd""utc"
|
||||||||||||
sourcePayloadFormat |
Deprecated version of "mqttPayloadType". Please use "mqttPayloadType". |
string |
|
||||||||||||
sourcePayloadNumberRounding |
The
|
string enum |
|
||||||||||||
sourcePayloadPath |
The
|
string | 1 to 2048 bytes | ||||||||||||
sourcePayloadTimeFormat |
The
|
string enum |
"hh.mm.ss.ttt""hh.mm.am/pm""hh.mm.ss.am/pm""hh.mm.ss""hh.mm""hhmm""iso8601""utc"
|
||||||||||||
sourcePayloadVariantFormat |
The
|
string enum |
"json""variantObject""binary""string"
|
||||||||||||
sourcePort |
The "sourcePort" property specifies the ISAM TCP/IP port of a FairCom DB or RTG server. |
int16 |
1 to 65535
|
||||||||||||
sourceServerName |
The "sourceServerName" property specifies the server name of a FairCom DB or RTG server. It is the name specified by the SERVER_NAME keyword defined in the target server's configuration file, ctsrvr.cfg. The server name used by most FairCom DB and RTG servers is "FAIRCOMS". This property is required if the "sourceHostname" is not defined. |
string | 1 to 255 bytes | ||||||||||||
sourceServers |
The "sourceServers" property contains a list of FairCom DB or RTG server connection objects. FairCom MQ attempts to connect to the first server in the list. If that fails, it attempts to connect to the next one. If it reaches the last server in the list, it attempts to connect to the first. |
array of server connection objects | {
"purpose": "Primary Server",
"sourceServerName": "FAIRCOMS",
"sourceHostname": "10.70.13.112",
"sourcePort": 5597,
"sourceUsername": "ADMIN",
"sourcePassword": "ADMIN",
"tls": {
"enabled": true,
"caCertificateFilename": "ca.crt",
"allowedCipherSuites": "",
"clientCertificateEnabled": true,
"clientCertificateFilename": "admin_client.crt",
"clientPrivateKeyFilename": "admin_client.key"
}
}
|
||||||||||||
sourceTableName |
The |
string | 1 to 64 bytes | ||||||||||||
sourceUsername |
The "sourceUsername" property specifies the name of a FairCom DB or RTG server. |
string | 1 to 64 bytes | ||||||||||||
sql |
The "sql" property specifies the original SQL statement that was executed. |
string | The original SQL statement | ||||||||||||
startTimestamp |
The "startTimestamp" property specifies the time at which the query was initiated. |
timestamp | A timestamp | ||||||||||||
stats |
Contains stats about describeMqSessions. | object |
|
||||||||||||
status |
The
When the
To create, alter, and list inactive items, set the |
string enum |
|
||||||||||||
statusCode |
The "statusCode" property displays the status code for the specified broker connection. |
integer | See error codes | ||||||||||||
statusMessage |
The "statusMessage" property describes the status code with a written explanation. |
string | 0 to 1024 bytes | ||||||||||||
streamingConnection |
The |
object | "streamingConnection": {
"sourceServerName": "FAIRCOMS",
"sourceHostname": "10.70.13.112",
"sourcePort": 5597,
"sourceUsername": "ADMIN",
"sourcePassword": "ADMIN",
"maxSecondsBeforeConnectingToNextServer": 15,
"tls": {
"enabled": true,
"caCertificateFilename": "ca.crt",
"allowedCipherSuites": "",
"clientCertificateEnabled": true,
"clientCertificateFilename": "admin_client.crt",
"clientPrivateKeyFilename": "admin_client.key"
},
"metadata": {}
}
|
||||||||||||
streamingConnectionName |
The "streamingConnectionName" property specifies a unique, user-defined name for a streaming connection. The API uses it to identify streaming connections and to connect a data change stream to a FairCom DB or RTG server. |
string | 1 to 64 characters | ||||||||||||
streamParallelism |
The "streamParallelism" property specifies the number of parallel streams the server uses to deliver data changes to the FairCom MQ server. You typically use a number that does not exceed the number of cores on the FairCom MQ server. |
integer |
1 to 65535
|
||||||||||||
streamingConnectionName |
The "streamingConnectionName" property specifies a unique, user-defined name for a streaming connection. The API uses it to identify streaming connections and to connect a data change stream to a FairCom DB or RTG server. |
string | 1 to 64 characters | ||||||||||||
streamingConnectionNameFilter |
The "streamingConnectionNameFilter" property specifies a partial match for a connection name. |
string | 1 to 64 bytes | ||||||||||||
streamingConnections |
The |
array of objects |
0 or more objects containing 1 or more of the following properties:
|
||||||||||||
streamParallelism |
The "streamParallelism" property specifies the number of parallel streams the server uses to deliver data changes to the FairCom MQ server. You typically use a number that does not exceed the number of cores on the FairCom MQ server. |
integer |
1 to 65535
|
||||||||||||
stringFormat |
The This property applies to all |
string |
|
||||||||||||
subscribedTopics |
The "subscribedTopics" property lists the topics that the specified topic is subscribed to. |
array | No limits | ||||||||||||
subscriberCount |
Specifies the number of subscribers | integer | Number of subscribers | ||||||||||||
tableName |
The See table name in System specifications for the table naming requirements and limitations. |
string | 1 to 64 bytes | ||||||||||||
tableReplicationReady |
The "tableReplicationReady" property enables the transaction log on the persistence table. Transaction logs must be enabled before a table can be replicated. |
Boolean |
|
||||||||||||
tagChanges |
The |
string |
|
||||||||||||
tagDataType |
The
|
string enum |
"string""number" "boolean" "date" "time" "timestamp" "json" "variant" "binary"
|
||||||||||||
tagName |
The
|
string | 1 to 256 bytes | ||||||||||||
tagNames |
The "tagNames" property is an array of strings that specifies one or more tag names. You can use it to describe or delete tags. Each item in the array is the exact name of a tag. |
string | 1 to 256 bytes | ||||||||||||
thingName |
The "thingName" property specifies the unique name of a thing. |
string | 1 to 64 bytes | ||||||||||||
thingNames |
The "thingNames" property is an array of strings that specifies one or more thing names. Each item in the array is the exact name of a thing. You can use it to describe or delete things. |
array of strings | 1 or more thingName strings | ||||||||||||
things |
The "things" property occurs in the response to Tag API actions when the "includeThingProperties" property is in the request. It is an array of objects that contains all devices and software related to a tag. Each object contains the requested device properties. See "includeThingProperties" for examples and additional information. |
array of objects | All devices and software related to a tag. | ||||||||||||
thingType |
The
This API uses the Label API to manage types.
|
string | 1 to 64 bytes | ||||||||||||
testDatabaseName |
The When set to
|
string | 1 to 64 bytes | ||||||||||||
testOwnerName |
The When set to
|
string | 1 to 64 bytes | ||||||||||||
testTableName |
The
|
string | 1 to 64 bytes | ||||||||||||
testTransformScope |
The "testTransformScope" property is the same value specified in the call to the "testIntegrationTableTransformSteps" to the action. |
string enum |
|
||||||||||||
threads |
The
|
integer |
|
||||||||||||
tls |
The
|
object |
|
||||||||||||
topic |
The |
string | A topic name between 1 and 65,500 bytes | ||||||||||||
topics |
The "topics" property occurs in the response to Tag API actions when the "includeTopicProperties" property is in the request. It is an array of objects that contains all topics related to a tag. Each object contains the requested topic properties. See "includeTopicProperties" for examples and additional information. |
array of objects | All topics related to a tag. | ||||||||||||
totalRecordCount |
The
|
integer |
|
||||||||||||
transactionId |
The |
string | 0 to 255 bytes | ||||||||||||
transactionSavePointId |
The
|
string | 0 to 255 bytes | ||||||||||||
transformBufferInitialBytes |
The |
integer |
0 or more bytes |
||||||||||||
transformPercentComplete |
The
|
integer | 0 to 99 | ||||||||||||
transformServices |
The "transformServices" [
{
"serviceName": "siemensUDT2JSON",
"serviceLibrary": "siemensudtservice.dll",
"enabled": true
}
], |
array of objects |
|
||||||||||||
transformStatus |
The "transformStatus" property describes the state of the transform process. Example values include "running" and "done". |
string | the status of the transform | ||||||||||||
transformStepMethod |
The
The
|
string enum |
|
||||||||||||
transformStepName |
The |
string | 1 to 64 bytes | ||||||||||||
transformSteps |
Specifies an array of transform objects. | array of objects | 0 or more objects | ||||||||||||
transformStepService |
The This property allows you to register your own transform libraries or use an older version of a FairCom library for backward compatibility. Transform services are defined in the
"transformServices": [
{
"serviceName": "v8TransformService",
"serviceLibrary": "v8transformservice.dll",
"enabled": true
}
],
|
string | 1 to 64 bytes | ||||||||||||
triggers |
The "triggers" property specifies a list of events on a table that create data change events. |
array of enum strings |
|
||||||||||||
type |
Identifies the type of the field. See Data types. | string |
|
||||||||||||
unmatchedKeys |
The
|
array of strings | zero or more key strings | ||||||||||||
updatedBy |
The "result": {
"data": [
{
"createdBy": "ADMIN",
"createdOn": "2025-08-25T21:48:38.109",
"updatedBy": "ADMIN",
"updatedOn": "2025-08-25T21:48:38.109"
},
] |
string | The name of the account last used to update the code package. | ||||||||||||
updatedOn |
The "result": {
"data": [
{
"createdBy": "ADMIN",
"createdOn": "2025-08-25T21:48:38.109",
"updatedBy": "ADMIN",
"updatedOn": "2025-08-25T21:48:38.109"
},
] |
timestamp | The date and time the code package was last updated. | ||||||||||||
updatedTimestamp |
The "updatedTimestamp" property is the date and time when the thing was last updated. It is the same as the "createdTimestamp" property when the thing has never been updated. It is returned in ISO 8601 format, such as "2025-08-28T10:47:13.041". |
timestamp | ISO 8601 timestamp | ||||||||||||
uri |
The "uri" property specifies the identifier name of the Rest resource. |
string | 1 to 1024 bytes | ||||||||||||
uriPath |
The |
string | The file path for the service library. | ||||||||||||
username |
The It is required by the All API actions are performed in the context of the account identified by In JSON DB API and JSON Hub API, use the Unlike other property names, such as A zero-length username is invalid.
In Key-Value actions, the
|
string
|
1 to 64 bytes | ||||||||||||
validateMqttPayload |
The "validateMqttPayload" property determines whether the FairCom server will attempt to validate the incoming MQTT message payload against the expected data type specified in the "mqttPayloadType" property. |
Boolean |
|
||||||||||||
value |
The
When you use the
In Key-Value actions, the |
JSON | 0 to 65,500 bytes | ||||||||||||
variantFormat |
string |
|
|||||||||||||
verifyLinks |
The "verifyLinks" property verifies if the specified labels, records, and tables exist. If your application has already validated that the labels, records, and tables exist, it can set "verifyLinks" to false, which provides a performance boost because the action does not need to look up this information. |
Boolean |
|
||||||||||||
willPayload |
The |
JSON | |||||||||||||
willQoS |
The property |
integer | |||||||||||||
willRetain |
When |
Boolean |
|
||||||||||||
willTopic |
The "willTopic" property contains the topic that the FairCom server will use to publish the will message. If you set it to an empty string, "", null, or omit it, the FairCom server will not add the will message to the connection. |
UTF-8 string |