Request examples
Minimal
{
"api": "hub",
"apiVersion": "1.0",
"action": "createIntegrationTable",
"params": {
"tableName": "test1",
"fields": [
{
"name": "In1",
"type": "varchar"
},
{
"name": "Out1",
"type": "json"
}
],
"transformSteps": [
{
"transformStepMethod": "tableFieldsToJson",
"mapOfPropertiesToFields": [
{
"fieldName": "in1",
"recordPath": "out1.in1"
}
]
}
]
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}Maximal
The following example is not the maximal example for creating an integration table; rather, it is the maximal example for creating a table to JSON API transform.
{
"api": "hub",
"apiVersion": "1.0",
"action": "createIntegrationTable",
"params": {
"tableName": "test1",
"ownerName": "admin",
"databaseName": "faircom",
"fields": [
{
"name": "In1",
"type": "varchar"
},
{
"name": "In2",
"type": "float"
},
{
"name": "In3",
"type": "integer"
},
{
"name": "In4",
"type": "varchar"
},
{
"name": "Out1",
"type": "json"
},
{
"name": "Out2",
"type": "json"
}
],
"transformSteps": [
{
"transformStepMethod": "tableFieldsToJson",
"mapOfPropertiesToFields": [
{
"fieldName": "in1",
"recordPath": "out1.in1"
},
{
"fieldName": "in2",
"recordPath": "out1.in2"
}
]
},
{
"transformStepMethod": "tableFieldsToJson",
"mapOfPropertiesToFields": [
{
"fieldName": "in3",
"recordPath": "out2.in3"
},
{
"fieldName": "in4",
"recordPath": "out2.in4"
}
]
}
]
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Request properties
Request properties
Accordion Title
| Property | Description | Default | Type | Limits (inclusive) | |||
|---|---|---|---|---|---|---|---|
accountDescription |
The
|
Optional with default of ""
|
string | 0 to 65,500 bytes | |||
add |
The |
Optional with default of {}
|
array of objects |
|
|||
addFields |
The "addFields": [
{
"autoValue": "none",
"name": "field1",
"type": "varchar",
"length": 50,
"scale": null,
"defaultValue": null,
"nullable": false,
"primaryKey":1
}
] |
Optional with default of []
|
array of objects |
|
|||
allowedCipherSuites |
The
|
Optional with default of ""
|
string | No limits | |||
alterFields |
The In this example, the field named
Example "alterFields": [
{
"autoValue": "none",
"name": "field1",
"type": "varchar",
"newName": "address",
"newPosition": 5,
"length": 50,
"scale": null,
"defaultValue": null,
"nullable": false
}
] |
Optional with default of [{"name":""}]
|
array of objects |
"autoValue""name""type""newName""newPosition""length""scale""defaultValue""nullable"
|
|||
amount |
The The connector retrieves 3 one-byte values when The connector retrieves 2 four-byte values when If |
Optional with default of 1
|
integer |
1 to 65535
|
|||
api |
The "api" property specifies which api the action will run on. |
Optional with default of ""
|
string enum |
|
|||
atEnd |
The "atEnd" property defines how the action commits or rolls back the statement it runs. For more details, see “atEnd”. |
Optional with default of "rollbackOnError"
|
string |
|
|||
authTokens |
The {
"api": "admin",
"requestId": "2",
"action": "replaceWithCorrectAction",
"params": {
"authTokens": [
"replaceWithAuthTokenFromCreateSession",
"replaceWithAuthTokenFromCreateSession"
]
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of []
|
array | At least one "authToken"
|
|||
autoTimeStamp |
This The value is an official timestamp of the date and time when the server inserted or updated the associated field. The timezone is always UTC time (ZULU time). Once set, the value cannot be changed. When the value is When the value is When the value is "fields": [
{
"name": "name",
"type": "timestamp",
"autoTimeStamp": "onupdate"
}
] |
Optional with default of "none"
|
string |
|
|||
autoValue |
The "autoValue" property indicates when and how the server automatically sets the field value. For more details, see “autoValue”. |
Optional with default of "none"
|
string |
|
|||
binaryFormat |
The "binaryFormat" property designates the format of binary values embedded in JSON strings. For more details, see "binaryFormat". |
Optional with default of "hex"
|
string | One of the following: "base64", "hex", or "byteArray". |
|||
bitBooleanZeroValue |
The |
Optional with default of false
|
Boolean |
|
|||
bitEndPosition |
The When When When For examples, see Modbus data types. |
Required if "modbusDataType" is "bitInt" or "bitEnum". Defaults to the value of the "bitStartPosition"
|
int16 |
0 to 15
|
|||
bitEnumValues |
The For examples, see Modbus data types. |
Required if "modbusDataType" is "bitEnum"
|
array of strings | 1 or more strings | |||
bitIntSigned |
The When When When For examples, see Modbus data types. |
Optional with default of false
|
Boolean |
|
|||
bitLittleEndian |
The When When When For examples, see Modbus data types. |
Optional with default of false
|
Boolean |
|
|||
bitPosition |
If "dataType":"bit", "bitPosition" defines which of the eight zero-based bits to read from the byte the connector retrieves. |
Optional with default of 0
|
integer |
0 to 7
|
|||
bitReverseOrder |
The When When For example, if When For examples, see Modbus data types. |
Optional with default of false
|
Boolean |
|
|||
bitStartPosition |
The When When When For examples, see Modbus data types. |
Required if modbusDataType is , "bitString", "bitInt", or "bitEnum"
|
int16 |
0 to 15
|
|||
bitStringOneValue |
The
The For examples, see Modbus data types. |
Required if "modbusDataType" is "bitString"
|
string | No limit | |||
bitStringZeroValue |
The
The For examples, see Modbus data types. |
Required if "modbusDataType" is "bitString"
|
string | No limit | |||
body |
The "body" property specifies information to send to a REST server by defining the "propertyPath" and "propertyValue" properties. |
Optional with default of []
|
array of objects |
|
|||
bookmarkor _bookmark_ |
The "
The "
Using "bookmark" to position the starting record:
|
Optional with default of ""
|
string | 0 to 2048 bytes | |||
bookmarks |
The
Example
|
Optional with default of []
|
array of strings | 0 to 2048 bytes | |||
brokerConnectionName |
The
|
Optional with default of ""
|
string | 1 to 100 bytes | |||
brokerConnectionNames |
The
|
Optional with default of []
|
array |
|
|||
brokerHostname |
The When these rules are violated the following errors will be displayed:
|
Required - No default value |
string | 1 to 255 bytes | |||
brokerPort |
The
|
Optional with default of 1883
|
integer |
|
|||
brokerUserName |
The
|
Optional with default of |
string | 1 to 64 bytes | |||
brokerUserPassword |
The
Example {
"encryption": "NONE",
"password": "myPassword"
} |
Optional with default of |
string | 0 to 256 bytes | |||
caCertificateFilename |
The
|
Optional with default of ""
|
string | No limits | |||
caseInsensitive |
The When "fields": [
{
"caseInsensitive": true
}
] |
Optional with default of false
|
Boolean |
|
|||
certificateAuthoritiesFilename |
The "certificateAuthoritiesFilename" property specifies the name and optional path of the certificate authorities certificate file (such as "ca.pem"). |
Optional with default of ""
|
string | No limits | |||
certificateFilename |
The "certificateFilename" property specifies the name and optional path of a server certificate file. |
Optional with default of ""
|
string | No limits | |||
changeIdField |
The "changeIdField" property specifies the name of the field used for the change-tracking functionality. If the table already has a change-tracking field, this new field is now used instead for change-tracking. |
Optional with default of ""
|
string | 1 to 64 bytes | |||
cleanSession |
The The |
Optional with default of false
|
Boolean |
|
|||
clientCertificateEnabled |
The "clientCertificateEnabled" property enables client certificate authentication if true. The target FairCom DB or RTG server must be configured to accept client certificates. |
Optional with default of false
|
boolean |
|
|||
clientCertificateFilename |
Required - No default value | string | No limits | ||||
clientPrivateKeyFilename |
Required - No default value | string | No limits | ||||
clientName |
The "clientName" property specifies the unique name that identifies the client to the FairCom MQ engine. |
Optional with default of ""
|
string | 0 to 65,550 bytes | |||
clientNames |
The Connection authorization is done using an account name with a password or a client certificate. The The MQ API allows multiple processes to simultaneously use the same client name to manage sessions, subscribe to topics, send messages to topics, and retrieve messages from topics. The MQTT protocol allows only one connection per client identifier because each connection is stateful. If another client with the same |
Optional with default of ""
|
an array of "clientName" strings |
0 or more strings | |||
cloneUsername |
The
|
Required - No default value | string | 1 to 31 bytes | |||
clonePassword |
The
|
Required - No default value | string | 1 to 63 bytes | |||
cloneRoles |
The
|
Optional with default of true
|
Boolean |
|
|||
cloneDescription |
The
|
Optional with default of ""
|
string | 0 to 31 bytes | |||
cloneMetadata |
The
|
Optional with default of {}
|
object | 0 or more key/value pairs up to 65,500 bytes | |||
code |
The "code" property contains the source code. Before embedding it in a JSON string, encode the source code using the format specified in the "codeFormat" property. |
Optional with default of ""
|
string | 1 to 8,388,096 bytes | |||
codeFormat |
The "codeFormat" property specifies the encoding of code in the code property. You must encode your code to embed it in a JSON string. "codeFormat" currently only supports the "utf8" encoding, requiring you to use JSON rules to escape problem characters in your code with the \ backslash character, such as \n. |
Optional with default of "utf8"
|
string | "utf8" |
|||
codeLanguage |
The "codeLanguage" property specifies the programming language of the code contained in the "code" property . Any string value is accepted. Currently, "javascript" and "json" are the only types of code the FairCom server can use. |
Required - No default value | string |
|
|||
codeName |
The It is an error to set The package's unique identifier is the combination of |
Required - No default value | string | 1 to 64 bytes | |||
codeNames |
The "params": {
"codeNames": [
"convertTemperature"
]
}, |
Required - No default value | array of strings | 1 or more strings | |||
codeServices |
The "codeServices" property specifies which programming languages are available in the product. |
Optional with default of []
|
array of objects |
|
|||
codeStatus |
The "codeStatus" property specifies a new status for the code. When you create a code package, it defaults to "developing". When you alter a code package, it defaults to the current state. You may set it to one of the following states: "developing", "deleted", "inactive", "deprecated", "testing", or "active". You can use "alterCodePackage" to transition from any state to any other. See "Use "codeStatus" to make a package runnable". |
Optional with default of "developing"
|
string |
|
|||
codeType |
The
|
Required - No default value | string |
|
|||
codeTypeFilter |
The "codeTypeFilter" property filters results by the value in the "codeType" property. If the array is empty, null, or omitted, it matches all code types; otherwise, it returns code packages with a code type that matches one of the array's values. |
Optional with default of ""
|
array |
|
|||
codeVersion |
The "codeVersion" property specifies the code's version stored in the version history. |
Required - No default value | integer |
0 to 2147483647
|
|||
collectStats |
The "params": {
"collectStats": true
} |
Optional with default of true
|
Boolean |
|
|||
command |
The The following service commands are available:
|
Optional with default of |
string |
|
|||
comment |
The "comment" property explains the code change. |
Optional with default of ""
|
string | 1 to 65,535 bytes | |||
commentFilter |
The "commentFilter" property filters the results by the value of the "comment" property. It defaults to null. If this value is not null or omitted, the results only include code packages with comments that match the full-text search specified in the "commentFilter" property. For example, to constrain results to include the three words FairCom Edge rocks anywhere in a comment, use "commentFilter": "FairCom Edge rocks". |
Optional with default of null
|
string | 1 to 65,500 bytes | |||
compression |
The Possible values
"params": {
"compression": "off"
} |
Optional with default of "auto"
|
string |
|
|||
conditionalExpression |
The
"params": {
"conditionalExpression": "livedpast2000 == 1"
} |
Optional with default of ""
|
string | 0 to 65,535 bytes | |||
connectionStatusFilter |
The |
Optional with default of []
|
array |
|
|||
connectorId |
|||||||
connectorIdFilter |
The "connectorIdFilter" property filters the response by the specified unique integer ID of a connector. The "listTags" action includes the tag associated with the specified connector. |
Optional with default of []
|
array | zero or more connector id integers | |||
containsTransformSteps |
The |
Optional with default of null
|
Boolean |
|
|||
contentType |
The |
Optional with default of ""
|
string | an IANA media or custom type | |||
correlationData |
The |
Optional with default of ""
|
JSON | 0 to 65,500 bytes | |||
createRecByteIndex |
The
"params": {
"createRecByteIndex": true
} |
Optional with default of false
|
Boolean |
|
|||
cursorId |
The
|
Required - No default value |
string | 0 to 225 bytes | |||
databaseName |
The You specify this property when you want to use a different database instead of the default. This property is useful because objects, such as tables and code packages, can have the same name in multiple databases. This feature allows you to create multiple environments in the same server and reuse the same JSON actions in each environment. For example, you can create It is an error to set If no default database is specified during |
Defaults to the session's "defaultDatabaseName" property |
string | 1 to 64 bytes | |||
databaseNameFilter |
The
|
Optional with default of ""
|
string |
1 to 64 bytes | |||
dataBlockNumber |
The It is ignored unless |
Required if "memoryArea": "db"
|
integer |
1 to 65535
|
|||
dataChangeStreamStatusFilter |
The "dataChangeStreamStatusFilter" filters the results based on the change stream status. The response to this action will include streams that match one of the included status values or all streams if no values are included. |
Optional with default of null
|
array |
|
|||
dataCollectionIntervalMilliseconds |
The |
Optional with default of 10000 (10 seconds). |
integer |
0 and negative values are invalid. |
|||
dataCollectionBufferCount |
The This option combines multiple data collection events and inserts them into the integration table as one MQTT message. If this value is more than |
Optional with default of 1
|
integer |
1 to 65535
|
|||
dataFormat |
The There are three different (but similar) versions of the "dataFormat" property:
Two of those versions occur in a request, and another occurs in a response. They all indicate how data is formatted.
|
Optional with default of "arrays"
|
string |
|
|||
dataPersistenceStrategy |
The
|
Optional with default of "onSchedule"
|
string |
|
|||
dataReadingTimeoutMilliseconds |
The "dataReadingTimeoutMilliseconds" property specifies the timeout in milliseconds while connecting and reading data from the PLC. |
Optional with default of 1000
|
int32 |
0 and negative values are invalid. |
|||
dataType |
The If If |
Required - No default value | string |
|
|||
dateFormat |
The The default value for The enumerated string defines how the server parses a date in a JSON string and how it writes a date into a JSON string. The following key explains the parts of each enumerated value:
UTC datetime format Coordinated Universal Time (UTC) is an industry-standard for dates and times that uses the ISO8601 datetime format:
|
Optional with default of "iso8601"
|
string enum |
|
|||
deadbandLowerLimit |
The "deadbandLowerLimit" property specifies the value of the deadband's lower limit. A change is saveable when it is less than the deadband lower limit. For more details, see “deadbandLowerLimit”. |
Optional with default of "disabled"
|
integer | No limit | |||
deadbandUpperLimit |
The "deadbandUpperLimit" property specifies the value of the deadband's upper limit. A change is saveable when it exceeds the deadband upper limit. For more details, see “deadbandUpperLimit”. |
Optional with default of "disabled"
|
integer | No limit | |||
defaultApi |
The "params": {
"username": "CHANGE",
"password": "CHANGE",
"description": "optional user description of session for troubleshooting",
"defaultApi": "db",
"defaultDebug": "max",
"defaultDatabaseName": "ctreeSQL",
"defaultOwnerName": "admin",
"defaultBinaryFormat": "hex"
}, |
FairCom DB defaults to FairCom Edge defaults FairCom MQ defaults |
string enum |
|
|||
defaultBinaryFormat |
Defines the default value of “binaryFormat”. |
Optional with default of |
string | One of the following: "base64", "hex", or "byteArray". |
|||
defaultDatabaseName |
The "params": {
"username": "CHANGE",
"password": "CHANGE",
"description": "optional user description of session for troubleshooting",
"defaultApi": "db",
"defaultDebug": "max",
"defaultDatabaseName": "ctreeSQL",
"defaultOwnerName": "admin",
"defaultBinaryFormat": "hex"
}, |
FairCom DB defaults to FairCom Edge defaults to FairCom MQ defaults to |
string | 1 to 64 bytes | |||
defaultDebug |
The
|
Optional with default of "max"
|
string enum |
|
|||
defaultOwnerName |
The
|
Optional with default of the session's |
string | 1 to 64 bytes | |||
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"
} |
Optional with default of |
object |
|
|||
defaultRetentionPeriod |
The "params": {
"defaultRetentionPolicy": "autoPurge",
"defaultRetentionUnit": "week",
"defaultRetentionPeriod": 4
}, |
Optional with default of 4
|
integer |
1 to 100
|
|||
defaultRetentionPolicy |
The "params": {
"defaultRetentionPolicy": "autoPurge",
"defaultRetentionUnit": "week",
"defaultRetentionPeriod": 4
}, |
Optional with default of "autoPurge"
|
string enum |
|
|||
defaultRetentionUnit |
The "params": {
"defaultRetentionPolicy": "autoPurge",
"defaultRetentionUnit": "week",
"defaultRetentionPeriod": 4
}, |
Optional with default of "week"
|
string enum |
|
|||
defaultValue |
The "defaultValue" property specifies the default value of a field. It is used when a record is inserted without specifying a value for the field. The server coerces the string value into the proper field type. |
Optional with default of ""
|
string | 0 to 65,500 bytes | |||
defaultVariantFormat |
The |
Optional with default of "json"
|
string |
|
|||
deleteAllRecords |
The |
Required - No default value | Boolean |
|
|||
deleteFields |
The
|
Optional with default of []
|
array | 1 to 64 bytes | |||
deprecated |
The
|
Optional with default of false
|
Boolean |
|
|||
deprecatedFilter |
The
|
Optional with default of false
|
Boolean |
|
|||
description |
The "description" property describes objects such as code packages, labels, or things. The server indexes this field with a full-text index so that you can search for any word or phrase. You cannot use this property for filtering in the Thing API. |
Optional with default of
|
string |
0 to 65,500 bytes 1 to 512 bytes for the Thing API |
|||
descriptionFilter |
The
|
Optional with default of null
|
string | 1 to 65,500 bytes | |||
disableDatetime |
The
|
Optional with default of ""
|
date | Any date after "0336-10-07"
|
|||
disableTransformSteps |
The |
Optional with default of false
|
Boolelan |
|
|||
downgradeQoS |
The
|
Optional with default of false
|
Boolean |
|
|||
eipTagElementCount |
The "eipTagElementCount" property specifies the number of elements in the tag. All tags are treated as arrays. Tags that are not arrays are considered to have a length of one element. |
Optional with default of 1
|
int32 | 0 and negative values are invalid. | |||
eipTagName |
The For CIP-based PLCs, use the format
PCCC-based PLC examples include |
Required - No default value | string | No limit | |||
eipTagPath |
The
|
Optional with default of "1,0"
|
string | String with the format "p,s"
|
|||
eipTagSize |
The "eipTagSize" property specifies the binary format of the PLC data represented by the tag. |
Required - No default value | string |
"bit""int8""uint8""int16""uint16""int32""uint32""int64""uint64""float32""float64""byte""string"
|
|||
eipTagType |
The If not specified, the buffer size is defined based on the For string Let the server define this property. and set it yourself only when necessary. |
Optional - depending on the dataType value | Integer |
0, 1, 2, 4, or 8
|
|||
enabled |
The "tls": {
"enabled": true,
"caCertificateFilename": "ca.crt",
"allowedCipherSuites": "",
"clientCertificateEnabled": true,
"clientCertificateFilename": "admin_client.crt",
"clientPrivateKeyFilename": "admin_client.key"
} |
Optional with default of true
|
Boolean |
|
|||
enableDatetime |
The
|
Optional with default of ""
|
date | Any date after "0336-10-07"
|
|||
endTimestamp |
The |
Optional with default of null
|
string containing an ISO8601 timestamp |
|
|||
enum |
The
|
Optional with default of 0
|
smallint |
-32768 to 32767
|
|||
enumFilter |
The
|
Optional with default of []
|
array of smallints | Each array item is an integer from -32768 to 32767
|
|||
expiredMessagesFilter |
The
|
Optional with default of "include"
|
string |
|
|||
expirySeconds |
The |
Optional with default of null
|
integer | No limits | |||
fetchRecords |
The
|
Optional with default of null
|
integer |
-2147483648 to 2147483647
|
|||
fieldDelimiterValue |
The
"params": {
"fieldDelimiterValue": 255
} |
Optional with default of 32
|
integer |
0 to 255
|
|||
fieldName |
The "fieldName" property specifies the name of a field in a table. |
Required - No default value | string | 1 to 64 bytes | |||
fieldNames |
The
|
Optional with default of When |
array | 1 to 64 bytes | |||
fields |
The
"fields":
[
{
"name": "name",
"caseInsensitive": true,
"sortDescending": true,
"reverseCompare": false
}
] |
Required - No default value |
array of objects |
|
|||
filename |
The
"params": {
"filename": "admin_athlete_name_livedpast2000"
} |
Optional with default of ""
|
string | 0 to 2048 bytes | |||
fixedLengthCharFormat |
The
For more details, see |
Optional with default “sql”
|
string |
|
|||
fixedOutput |
The |
Optional with default of false
|
Boolean |
|
|||
folder |
The
Request example {
"api": "db",
"action": "createTable",
"params": {
"tableName": "test_1",
"folder": "Test_Folder"
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of ""
|
string | 0 to 2,048 bytes | |||
forceRecordCount |
The "forceRecordCount" property forces a query to return a record count when true.
|
Optional with default of |
Boolean |
|
|||
forwardQos |
The |
Optional with default of 1
|
integer |
|
|||
forwardToExternalBrokers |
The "forwardToExternalBrokers" property specifies one or more brokers to forward the message to. All messages sent to this topic will be forwarded to each of these external brokers using the specified topic name. For more details, see “forwardToExternalBrokers”. |
Optional with default of |
array of objects |
Zero or more objects including some or all of the following properties:
|
|||
forwardToTopics |
The
|
Optional with default of |
array of strings | One or more strings | |||
group |
The The When you assign a group name to a label, the server automatically checks if the group name exists in the list of groups that the
|
Optional with default of ""
|
string | 1 to 64 bytes of UTF-8 encoded characters | |||
groupFilter |
The
This example uses a group filter to list all labels with the matching groups. {
"api": "admin",
"action": "listLabels",
"params": {
"groupFilter": [ "myGroup1", "myGroup2", "" ]
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}This example uses a group filter to list all labels with the matching groups. {
"api": "admin",
"action": "listLabels",
"params": {
"groupFilter": [ "myGroup1", "myGroup2" ],
"partialNameFilter": "myNa"
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of []
|
array of strings | 1 or more strings, each up to 64 bytes long. | |||
growthExtent |
The
{
"api": "db",
"action": "createTable",
"params": {
"growthExtent": 64000000
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of 0
|
integer |
0 to 2147483647
|
|||
healthFilter |
The |
Optional with default of []
|
array |
|
|||
hierarchyDelimiter |
The
The
|
Optional with default of ""
|
string | 1 byte | |||
host |
The "host" property specifies the IP or hostname of the Rest resource, including the port. |
Required - No default | string | 1 to 1024 bytes | |||
hostnames |
The
When you use the
The Thing API implements the
|
Optional with default of []
|
string | Array of user-defined hostnames. Each hostname is a string from 0 to 64 bytes. Values are managed in the Label API with the group of "faircom/hostnames". |
|||
hostnamesFilter |
The
Because the API does not prevent the same hostname from being assigned to many things, it may return multiple things assigned to the same hostname. |
Optional with default of []
|
array of strings | Array containing zero or more hostnames. | |||
id |
The
|
Automatically generated by the server | integer |
|
|||
ids |
An
|
Automatically generated by the server | array of integers | Each array item is an integer from 0 to 2147483647
|
|||
idFilter |
The The
|
Optional with default of []
|
array of integers | Each array item is an integer from 0 to 2147483647
|
|||
idleConnectionTimeoutSeconds |
The A value of |
Optional with default of |
integer |
|
|||
idleCursorTimeoutSeconds |
The
|
Optional with default of |
integer |
|
|||
ids |
The
|
Optional with default of Required when |
array | 0 or more ids | |||
ignoreChangeIdProtection |
The
|
Optional with default of false
|
Boolean |
|
|||
immediatelyCollectDataOnStart |
The
|
Optional with default of false
|
Boolean |
|
|||
immutableKeys |
The
"params": {
"immutableKeys": true
} |
Optional with default of false
|
Boolean |
|
|||
includeBookmarks |
The |
Optional with default of false
|
Boolean |
|
|||
includeDeactivatedCode |
The
|
Optional with default of null
|
Boolean |
|
|||
includeDescription |
The |
Optional with default of |
Boolean |
|
|||
includedFields |
The |
Optional with default of []
|
array of strings | 0 or more strings | |||
includeExistingRecords |
The |
Optional with default of null
|
Boolean |
|
|||
includeExistingRecordsFilter |
The |
Optional with default of null
|
Boolean |
|
|||
includeExpiredMessages |
The
|
Optional with default of true
|
Boolean |
|
|||
includeInputConnectorProperties |
The
For more details, see |
Optional with default of []
|
array of strings |
|
|||
includeMessageMetadata |
The |
Optional with default of false
|
Boolean |
|
|||
includeMetadata |
The |
Optional with default of |
Boolean |
|
|||
includeMetrics |
The
By default, dynamically calculated properties are not included in the results because they take extra time to retrieve. |
Optional with default of false
|
Boolean |
|
|||
includeMqttProperties |
The |
Optional with default of false
|
Boolean |
|
|||
includeOtherFields |
The |
Optional with default of false
|
Boolean |
|
|||
includeOutputConnectorProperties |
The
For more details, see |
Optional with default of []
|
array of strings |
|
|||
includePrimaryKey |
The "includePrimaryKey" property specifies when to add the "pk" property to the data change event's "fields" object to indicate the field's position in the primary key. |
Optional with default of "forPrimaryKeyFields"
|
string enum |
|
|||
includePublishedTopics |
The |
Optional with default of true
|
Boolean |
|
|||
includeStats |
The |
Optional with default of true
|
Boolean |
|
|||
includeSubscribedTopics |
The |
Optional with default of true
|
Boolean |
|
|||
includeSystemTables |
The
Example "params": {
"includeSystemTables": true
} |
Optional with default of false
|
Boolean |
|
|||
includeThingProperties |
The "includeThingProperties" property causes the response to include a "things" list that contains all the devices and software related to the request. Each string is the name of a device property. For more details, see "includeThingProperties". |
Optional with default of []
|
array of strings |
|
|||
includeTopicProperties |
The "includeTopicProperties" property causes the response to include a "topics" list that contains all the MQTT topics related to the request. Each string is the name of a topic property. For more info, see “includeTopicProperties”. |
Optional with default of []
|
array of strings | zero or more of the properties in the results example of the describeTopics action | |||
includeTransformFields |
The |
Optional with default of false
|
Boolean |
|
|||
indexFieldFilters |
The "indexFieldFilters":
[
{
"fieldName": "name",
"operator": ">=",
"value": "Michael"
},
{
"fieldName": "rank",
"operator": ">=",
"value": "1"
},
{
"fieldName": "rank",
"operator": "<",
"value": "3"
}
] |
Required - No default value | array of objects |
|
|||
indexFields |
The
"indexFields":
[
{
"fieldName": "name",
"value": "Michael"
},
{
"fieldName": "rank",
"value": "1"
}
] |
Required - No default value | array of objects |
|
|||
indexFileExtension |
The
"params": {
"indexFileExtension": ".tidx"
} |
Optional with default of ".idx"
|
string | 0 to 64 bytes | |||
indexFilter |
The
One-field index"indexFilter":
{
"indexName": "name_livedpast2000",
"partialKey": "Mi"
}Multi-field index"indexFilter":
{
"indexName": "name_livedpast2000",
"partialKey": [ "2023-09-22", "Mi" ]
} |
Required - No default value |
object |
|
|||
indexName |
The "params": {
"indexName": "index1"
} |
Required - No default value |
string | 1 to 64 bytes | |||
inParams |
The
{
"params": {
"inParams": [
{
"name": "inIntParam1",
"value": 3
},
{
"name": "inoutBinaryParam3",
"value": "54657374"
},
{
"name": "mySqlNamedParam4",
"value": "Ray"
}
]
}
} |
is the default when no SQL statements have any named parameters. When one or more SQL statements have named parameters, this is required. |
array of objects |
|
|||
inputName |
The "params": {
"inputName": "modbusTCP",
"serviceName": "modbus"
} |
Required - No default value |
string | 1 to 100 bytes | |||
inputNames |
The "inputNames" property specifies the names of the inputs you want to be described in the result. |
Optional with default of []
|
array | 0 or more strings | |||
integrationTableIdFilter |
The "integrationTableIdFilter" property specifies the unique integer ID of an integration table. The "listTags" action includes tags associated with the specified integration table. |
Optional with default of []
|
array of integers | zero or more integration table id integers | |||
ipAddress |
The "ipAddress" property specifies the PLC/Equipment IPV4 Address. |
Required - No default value | string | A valid IP address | |||
isPrimaryIndex |
The
|
Optional with default of false
|
Boolean |
|
|||
keepAliveSeconds |
The |
Optional with default of 0
|
integer | No limit | |||
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. |
Optional with default of
Required in the Key-Value API |
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" ]. |
Required - No default value | array of strings | one or more key strings | |||
keyStore |
The
|
Required - No default value | string enum |
|
|||
keyValuePairs |
The "keyValuePairs" property contains objects that represent a key-value pair and contain "key" and "value" properties, such as { "key": "k1", "value": 1 }. |
Required - No default value | array of key-value objects | |
|||
label |
The A label is a tag that you can add to some objects, such as an MQTT topic or session. You can use list actions such as The |
Optional with default of null
|
object | "label": {
"group": "group name",
"name": "label name"
} |
|||
labelID |
The A label is a tag that you can add to some objects, such as an MQTT topic or session. You can use list actions such as The |
Optional with default of null
|
integer |
0 to 4294967296
|
|||
labels |
The The
When using tag actions, the optional
When you use the
You can use the
The Tag API implements the
|
Required - No default value
Defaults to
|
array of objects |
1 or more label objects
Values are managed in the Label API with the group of |
|||
labelsFilter |
The
The API allows the same label to be assigned to many tags. |
Optional with default of []
|
array of strings | zero or more label strings | |||
length |
The It is required to set the length of the following fixed-length data types:
It is required to set the maximum length for the following variable-length data types:
It is optional to set the maximum length of the It is optional to set the maximum length of the
The
Request example Create a table that contains all field types that use the "fields": [
{
"name": "a",
"type": "char",
"length": 16
},
{
"name": "b",
"type": "varchar",
"length": 65500
} |
Optional with default of null
|
integer |
1 to 65500
|
|||
localDatabaseName |
The |
Optional with default of the "defaultDatabaseName" value that is set during "createSession". If no default is set during "createSession", then "faircom" is used. |
string | 1 to 64 bytes | |||
localDatabaseNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
localDataFilePath |
The |
Required if "localTableName" is not specified. |
string | No limits | |||
localDataFilePathFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
localOwnerName |
The |
Optional with default of the "defaultOwnerName" value that is set during "createSession". If no default is set during "createSession", then "admin" is used. |
string | 1 to 64 bytes | |||
localOwnerNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
localTableName |
The |
Required if "localDataFilePath" is not specified |
string | 1 to 64 bytes | |||
localTableNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
location |
The
This API uses the Label API to manage manufacturers.
|
Optional with default of "unknown"
|
string |
1 to 64 bytes Values are managed in the Label API with the group of |
|||
locationFilter |
The "locationFilter" property filters results by the value of the "location" property. Each string is a partial or complete location name, such as, "locationFilter": [ "myLoca", "factory2-line6-station1" ]. The action returns things that match at least one item in the array, provided it also satisfies all other specified filter properties. |
Optional with default of []
|
array | zero or more location strings. | |||
lockoutAfterNFailedAttempts |
The
|
Optional with default of the session's "LOGON_FAIL_LIMIT" property |
integer |
0 to 2147483647
|
|||
lockoutWaitMinutes |
The
|
Optional with default of the session's "LOGON_FAIL_TIME" property |
integer |
0 to 2147483647
|
|||
logLevel |
The "logLevel" property defines what type of messages the replication agent will log. |
Optional with default of "warning"
|
string enum |
|
|||
logTransformOverwrites |
The You typically set If multiple Additionally, non-JavaScript transform steps cannot overwrite protected fields or the You may create transform steps to take the value of one JSON property and store it in multiple fields as long as no previous transform steps have already put values in these fields. Conversely, you may take the value of one field and store it in multiple JSON properties.
|
Optional with default of false
|
Boolean |
|
|||
manufacturer |
The
This API uses the Label API to manage manufacturers.
|
Optional with default of "unknown"
|
string | 1 to 64 bytes | |||
manufacturerFilter |
The "manufacturerFilter" property filters results by the value of the "manufacturer" property. Each string is a partial or complete manufacturer name, such as, "manufacturerFilter": [ "Siem", "Rockwell" ]. The action returns things that match at least one item in the array, provided it also satisfies all other specified filter properties. |
Optional with default of []
|
array | zero or more manufacturer strings | |||
mapOfPropertiesToFields |
The
|
Optional with default of []
|
array |
|
|||
maxCodeVersion |
The
|
Optional with default of the current version | integer |
1 to 2147483647
|
|||
maxDaysBeforePasswordMustChange |
The
|
Optional with default of ""
|
integer |
0 to 2147483647
|
|||
maxDeliveryRatePerSecond |
The
|
Optional with default of 0
|
int32 |
|
|||
maxHealthyBacklogRatePerMinute |
The A connected session is healthy when its message backlog rate does not exceed the maximum. The |
Optional with default of 0
|
integer | Any positive integer | |||
maxHealthySendRatePerMinute |
The A connected session is healthy when its message send rate does not exceed the maximum. The |
Optional with default of 0
|
integer | Any positive integer | |||
maxHealthySubscribedTopicFiltersCount |
The A connected session is healthy when it has subscribed to at most the maximum number of topic filters. The A topic filter may include MQTT wildcard characters, which allows one topic filter to subscribe to many topics. The |
Optional with default of 0
|
integer | Any positive integer | |||
maximumPacketSize |
The |
Optional with default of 1024
|
integer | ||||
maxInflightMessages |
The
|
Optional with default of 0
|
int32 |
|
|||
maxMessages |
The |
Optional with default of 20
|
integer |
1 to 100000
|
|||
maxMinutesBeforeNextLogin |
The
|
Optional with default of the session's "LOGON_MUST_TIME" property |
integer |
0 to 35791394
|
|||
maxRecords |
The "maxRecords" property specifies the maximum number of records to be returned. It is used with "skipRecords" to paginate the results. If the value is not null or omitted, the server returns the maximum number of results specified by "maxRecords". |
Optional with default of 20 |
integer |
-1 to 65535
|
|||
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. |
Optional with default of 30
|
int32 |
1 to 65535
|
|||
maxUnsavedEvents |
The
|
Optional with default of "disabled"
|
integer |
1 to
4294967296
|
|||
memoryArea |
The "memoryArea" property specifies the type of memory area where the connector retrieves data. |
Required - No default value | string |
|
|||
memoryLimit |
The
|
Optional with default of the session's "USR_MEMORY" property |
integer |
0 to 2147483647
|
|||
memoryRule |
The
|
Optional with default of the session's "USR_MEM_RULE" property |
string |
|
|||
messages |
The |
Optional with default of []
|
array of objects |
1 or more objects including some or all of the following properties:
|
|||
metadata |
The "metadata" property contains user-defined properties that add keywords and tags about the code package. The server indexes this field with a full-text index so you can search for any word or phrase to find code packages. |
Optional with default of {}
|
object | 0 or more key/value pairs | |||
metadataFilter |
The "metadataFilter" property filters results by the value of the "metadata" property. If the value is not null or omitted, the results only include code packages with metadata that match the full-text search specified in the "metadataFilter" property. A code package's "metadata" property contains a JSON object with user-defined key-value pairs. For example, to constrain results to include the key value pair "myProperty": "myValue" in the metadata, use the search string, "metadataFilter": "'myProperty' NEAR/0 'myValue'". Notice that NEAR/0 specifies no intervening words or phrases. If you want to allow a maximum of one intervening word, use NEAR/1. You can specify a maximum of any number of intervening words. |
Optional with default of null
|
string | 1 to 65,500 bytes | |||
minCodeVersion |
The "minCodeVersion" property causes the server to return code packages starting with the specified version. |
Optional with default of the first version | integer |
1 to 2147483647
|
|||
minHealthySendRatePerMinute |
The A connected session is healthy when its message send rate exceeds the minimum. The |
Optional with default of 0
|
integer | Any positive number | |||
minHealthySubscribedTopicFiltersCount |
The A connected session is healthy when it has subscribed to at least the minimum number of topic filters. The A topic filter may include MQTT wildcard characters, which allows one topic filter to subscribe to many topics. The |
Optional with default of 0
|
integer | Any positive number | |||
modbusBaudRate |
The "modbusBaudRate" property (RTU only) specifies the baud rate of the communication (9600, 19200, 57600, 115200, and so forth). |
Optional with default of 19200
|
int16 | Any baud rate | |||
modbusConvertToFloat |
The "modbusConvertToFloat" property causes the connector to convert one or two register values into a JSON floating point number. |
Optional with default of "no"
|
string |
|
|||
modbusDataAccess |
The
|
Required - No default value | string |
|
|||
modbusDataAddress |
The Some vendors document data addresses as one-based values. Set the |
Required - No default value | int16 |
0 to 65536
|
|||
modbusDataAddressType |
The "modbusDataAddressType" property specifies if the modbusDataAddress is zero-based or one-based. |
Optional with default of "zeroBased"
|
string |
|
|||
modbusDataBits |
The "modbusDataBits" property (RTU only) specifies the number of bits of data. |
Optional with default of 8
|
int16 |
5, 6, 7, or 8
|
|||
modbusDataLen |
The
|
Required if "modbusDataType" is not specified |
integer |
1, 2, or 4
|
|||
modbusDataType |
The "modbusDataType" property specifies how to convert Modbus binary data types to JSON types. Choose a type that matches the byte order of the data type. The byte order is specified using the letters ABCDEFGH. |
Optional with default of ""
|
string | Any Modbus Data Type | |||
modbusDecimalDigits |
The |
Optional with default of 2
|
integer |
1 to 5
|
|||
modbusDivisor |
The |
Required if "modbusConvertToFloat" is "divideByInteger". Otherwise defaults to 1 |
integer |
Typical values are |
|||
modbusParity |
The "modbusParity" property (RTU only) specifies the data parity. |
Optional with default of "even"
|
string |
"none", "even", "odd"
|
|||
modbusProtocol |
The "modbusProtocol" property specifies the protocol used to connect to the Modbus server. |
Required - No default value | string |
|
|||
modbusSerialPort |
The On Windows, it is necessary to prepend the COM name with "\\.\" if the COM number is greater than 9. For example, "\\\\.\\COM10". For Windows naming conventions, see Naming Files, Paths, and Namespaces . |
Required - No default value | string | No limit | |||
modbusServer |
The "modbusServer" property (TCP only) specifies the IP/hostname of the Modbus device. |
Required - No default value | string | No limit | |||
modbusServerPort |
The "modbusServerPort" property (TCP only) specifies the IP Port for the Modbus device for modbusTCP. |
Required - No default value | int16 |
0 to 65535
|
|||
modbusStopBits |
The "modbusStopBits" property (RTU only) specifies the bits of stop. |
Optional with default of 1
|
int16 |
1 or 2
|
|||
modbusUnitId |
The The unit number uniquely identifies each of these devices. This property also applies to serial communications. For serial communication, the range is
|
Optional with default of 1
|
int16 |
0 to 255
|
|||
model |
The
This API uses the Label API to manage models.
|
Optional with default of "unknown"
|
string | 1 to 64 bytes | |||
modelFilter |
The "modelFilter" property filters results by the value of the "model" property. Each string is a partial or complete model name, such as "modelFilter": [ "ACME-123", "mod_" ]. The action returns things that match at least one item in the array, provided it also satisfies all other specified filter properties. |
Optional with default of []
|
array | zero or more model strings | |||
mqttPayloadType |
The |
Optional with default of "binary"
|
string enum |
|
|||
mqttProtocol |
The "mqttProtocol" property specifies the version of MQTT protocol to use in your session. |
Optional with default of 5.0
|
string enum |
|
|||
mtconnectDeviceUuid |
The |
Required - No default value | string | No limit | |||
mtconnectDataItemId |
The "mtconnectDataItemId" property specifies the identifier of the data that the MTConnect connector collects. For more details, see "mtconnectDataItemId". |
Required - No default value | string | No limit | |||
mtconnectCategoryPropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectComponentNamePropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectDataItemIdPropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectDataNamePropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectDataTypePropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectDeviceNamePropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectDeviceUuidPropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectSequencePropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
mtconnectTimestampPropertyPath |
The |
Optional with default of null
|
string | JSON path | |||
name |
The The The
|
Required - No default value | string | 1 to 64 bytes | |||
nameFilter |
The
|
Optional with default of []
|
array of strings | Each array item is a label string from 1 to 64 bytes | |||
newCodeName |
The "newCodeName" property causes the server to rename the code package from the current "codeName" to the "newCodeName". The server does not change the "codeName" when null or omitted. |
Optional with default of null
|
string | 1 to 64 bytes | |||
newDatabaseName |
The "newDatabaseName" property causes the server to use the new database as the target for the action. When null or omitted, the server runs the action in the current database. |
Optional with default of null
|
string | 1 to 64 bytes | |||
newDeprecated |
The |
Optional with default of null
|
Boolean |
|
|||
newDescription |
The |
Optional with default of ""
|
string | 1 to 65,500 bytes | |||
newEnum |
The |
Optional with default of null
|
smallint |
-32768 to 32767
|
|||
newGroup |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
newKey |
The "newKey" property specifies the new name of a key. It is part of a key-rename object. 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. |
Required - No default value | string | 1 to 128 bytes | |||
newMetadata |
The |
Optional with default of {}
|
JSON | 0 to 65,500 bytes | |||
newName |
The
|
Optional with default of null
|
string | 1 to 64 bytes | |||
newOwnerName |
The "newOwnerName" property causes the server to use the new owner name as the target for the action. When null or omitted, the server runs the action using the current owner name. |
Optional with default of null
|
string | 1 to 64 bytes | |||
newPosition |
The
Request example "fields": [
{
"name": "field1",
"type": "varchar",
"newPosition": 100
}
] |
Optional with default of -1
|
integer |
-1 to 2500
|
|||
newSequence |
The |
Optional with default of null
|
double | Any floating point or integer number. | |||
newSubscriberDeliveryMode |
The
|
Optional with default of |
string |
|
|||
newSubscriberMaxDeliveredMessages |
The
|
Optional with default of -1
|
integer or "all" |
-1 to 2147483647 or "all"
|
|||
newTableName |
The optional See table name in System limits for the table naming requirements and limitations.
|
Optional with default of null
|
string | 1 to 64 bytes | |||
newTagName |
The "newTagName" property specifies the unique name of a tag that is created by a transform step. For more details, see "newTagName". |
Varies | string | 1 to 256 bytes | |||
newThingName |
The
|
Optional with default of ""
|
string | 1 to 64 bytes | |||
newValue |
The |
Optional with default of null
|
JSON | 0 to 65,500 bytes | |||
normalLowerLimit |
The "normalLowerLimit" property specifies the low range of a normal collected value. An outlier is below this range. A change is saveable when it is greater than or equal to the normal upper limit. For more details, see "normalLowerLimit". |
Optional with default of "disabled"
|
integer | No limit | |||
normalUpperLimit |
The "normalUpperLimit" property specifies the high range of a normal collected value. An outlier is above this range. A change is saveable when it is less than or equal to the normal upper limit. For more details, see "normalUpperLimit". |
Optional with default of "disabled"
|
integer | No limit | |||
nullable |
The "fields": [
{
"name": "company",
"type": "varchar",
"nullable": true
}
] |
Optional with default of true
|
Boolean |
|
|||
numberFormat |
The |
Optional with default of "number"
|
string |
|
|||
offset |
The "offset" property specifies the offset to the starting byte in the memory area where the connector retrieves data. |
Required - No default value | integer |
0 to 4294967296
|
|||
oldKey |
The "oldKey" property specifies the current key that will be renamed. It is part of a key-rename object. 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. |
Required - No default value | string | 1 to 128 bytes | |||
onChangeScope |
The "onChangeScope" property specifies which tags the connector saves to an integration table. For more details, see "onChangeScope". |
Optional with default of "saveAllTags"
|
string enum |
|
|||
onChangeScopeTags |
The "onChangeScopeTags" property specifies which tags the connector should save to the integration table when a save event occurs. Each "propertyPath" value is the connector's unique identifier to a collected data item, which is commonly called a "tag". For more details, see "onChangeScopeTags". |
Required when the "onChangeScope" property is set to "saveSpecificTags". |
array of strings | 1 or more strings | |||
onChangeTrigger |
The "onChangeTrigger" property specifies when the connector saves collected tags to an integration table. For more details, see "onChangeTrigger". |
Optional with default of "saveWhenAnyTagHasChanged"
|
string enum |
"saveWhenAnyTagHasChanged""saveWhenAllTagsHaveChanged""saveWhenAnySpecifiedTagHasChanged""saveWhenAllSpecifiedTagsHaveChanged"
|
|||
onChangeTriggerTags |
The "onChangeTriggerTags" property specifies tags to work with the "onChangeTrigger" property to control when a connector saves collected data to an integration table. Each "propertyPath" value is the connector's unique identifier to a collected data item, which is commonly called a "tag". For more details, see "onChangeTriggerTags". |
Required when the "onChangeTrigger" property has one of the following values: "saveWhenAnySpecifiedTagHasChanged" or "saveWhenAllSpecifiedTagsHaveChanged". |
array of strings | 1 or more strings | |||
onError |
The |
Optional with default of "continue"
|
string |
|
|||
opcNamespace |
The "opcNamescpace" property specifies the OPC UA namespace that this variable exists in. |
Required - No default value | int16 |
0 to 32767
|
|||
opcNodeName |
The "opcNodeName" property specifies the name of the OPC UA variable for this data. |
Required - No default value | string | No limit | |||
opcServerUrl |
The "opcServerUrl" property specifies the IP or URL to your OPC UA device, including the port. |
Required - No default value | string | No limit | |||
opcServerUser |
The "opcServerUser" property specifies the username for your OPC UA device. |
Optional with default of ""
|
string | No limit | |||
opcServerPassword |
The "opcServerPassword" property specifies the password for your OPC UA device. |
Optional with default of ""
|
string | No limit | |||
operationIntent |
The
The "operationIntent" property values and their descriptions are as follows:
|
Optional with default of "upsert"
|
string |
|
|||
operator |
The
The following comparison operators are available:
|
Required - No default value | string |
|
|||
outputName |
The "outputName" property specifies a unique name for mapping an integration table to an output plugin to an external system. A FairCom generated name follows the pattern "Output #n from <databaseName>.<schemaName>.<tableName> to <pluginName>". |
Optional with default of |
string | 1 to 64 bytes | |||
outputNames |
The |
Optional with default of []
|
array |
1 or more strings | |||
outputPayloadField |
The
This makes it possible for the output from any transform to be used as the payload delivered to subscribers. |
Optional with default of |
string |
A user-defined field |
|||
ownerName |
The You specify this property when you want to use a different account instead of the default. Your session's account must have the appropriate privileges to access the code package. This property is useful because objects, such as tables and code packages, can have the same name in the same database as long as different accounts own each object. This feature allows you to create duplicate objects for different users on the same server and reuse the same JSON actions on those objects. For example, an administrator can copy objects from a production environment to her account so she can troubleshoot an issue using the same JSON actions, JavaScript, and SQL code. It is an error to set If no default owner is specified during |
Optional with default of the session's "defaultOwnerName" property |
string | 1 to 64 bytes | |||
packageSize |
The Higher numbers allow the connector to retrieve more data in fewer requests. If not specified, the PLD PDU size is used. |
Optional with default between 240 and 960
|
integer |
240 to 960
|
|||
padValue |
The All fixed-length fields in a table are padded with the same pad value. For more details, see |
Optional with default of 32
|
integer |
0 to 255
|
|||
partialClientName |
The |
Optional with default of ""
|
string | ||||
partialDatabaseName |
The
|
Optional with default of ""
|
string | 0 to 64 bytes | |||
partialGroupFilter |
The
|
Optional with default of ""
|
string | 1 to 64 bytes | |||
partialKey |
The |
Optional with default of Required in the Key-Value API |
string or array |
1 or more strings/arrays 1 to 128 bytes in the Key-Value API |
|||
partialName |
The |
Optional with default of ""
|
string | 1 to 64 bytes | |||
partialNameFilter |
The
This example uses a group filter to list all labels with the matching groups. {
"api": "admin",
"action": "listLabels",
"params": {
"groupFilter": [ "myGroup1", "myGroup2", "" ],
"partialNameFilter": "myNa"
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}This example uses a partial name filter to list labels with matching names. The labels may be part of any group. {
"api": "admin",
"action": "listLabels",
"params": {
"partialNameFilter": "myNa"
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of null
|
array of strings | 1 or more strings, each up to 64 bytes long. | |||
partialNames |
The "params": {
"partialNames": [
"adm",
"NewAccount"
]
}, |
Optional with default of []
|
array | 1 to 64 bytes | |||
partialTableName |
The
|
Optional with default of ""
|
string | 0 to 64 bytes | |||
password |
The
|
Optional with default of Required for the |
string | 0 to 256 bytes | |||
path |
The |
Optional with default of ""
|
string | 0 to 2,048 bytes | |||
payload |
The |
Required - No default value | string | The message's payload | |||
permanentlyDeleteLabels |
The |
Optional with default of null
|
Boolean |
|
|||
permanentlyDeleteSession |
The When set to When set to |
Optional with default of false
|
Boolean |
|
|||
permanentSession |
The |
Optional with default of false
|
Boolean |
|
|||
photo |
The "photo" property contains a photo of a thing. You cannot use it for lookups and filtering. |
Optional with default of null
|
string containing a binary value | Up to 2 GB | |||
plcAddress |
The "plcAddress" property specifies the IP address or hostname and optional port from the PLC, in the format IPaddress:Port, with Port being optional. |
Required - No default value | string |
Examples:
|
|||
plcType |
The
|
Required - No default value | string |
|
|||
preserve |
The Possible values:
|
Optional with default of |
string enum |
|
|||
primaryKey |
The |
Optional with default of null
|
integer |
0 to 32
|
|||
primaryKeyFields |
The "primaryKeyFields" property specifies the fields to use for the table’s primary key. For more details, see "primaryKeyFields". |
Optional with default of []
|
array of strings | ["field1", …,"fieldN"] |
|||
primaryKeys |
The |
Optional with default of Required when |
array of arrays |
1 or more array of key/value pairs. | |||
privateKeyFilename |
The "privateKeyFilename" property specifies the name and optional path of a server key file. |
Optional with default of ""
|
string | No limits | |||
problemTypeFilter |
The |
Optional with default of null
|
array of strings |
|
|||
propertyMapList |
The "propertyMapList" property specifies which data the connector requests and where to put it in the generated JSON. |
Required - No default value | array of objects |
zero or more objects containing zero or more of the following properties:
|
|||
propertyPath |
The "propertyPath" property specifies the name of the data to be defined by "propertyValue". |
Required - No default value | string | 0 to 256 bytes | |||
propertyValue |
The "propertyValue" property contains properties that define the data values of a The data values specified in the
|
Required - No default value | object |
|
|||
purpose |
The
In the Thing API, the
The Thing API uses the Label API to manage purposes.
|
Optional with default of
|
string | 1 to 64 bytes | |||
purposeFilter |
The "purposeFilter" property returns things that match at least one item in the array, provided it also satisfies all other specified filter properties. Each string is a partial or complete purpose, such as, "purposeFilter": [ "myPur", "Manage an Acid Bath" ]. |
Optional with default of []
|
array of strings | zero or more purpose strings | |||
rack |
The "rack" property specifies the PLC Rack number. |
Required - No default value | integer |
0 to 7
|
|||
rebuildTable |
The
|
Optional with default of false
|
Boolean |
|
|||
receiveMaximum |
The |
Optional with default of 1024
|
integer |
1 to 65535
|
|||
receiveMyMessages |
The |
Optional with default of true
|
Boolean |
|
|||
receiveRetainedFlagAsPublished |
The When When |
Optional with default of true
|
Boolean |
|
|||
receiveRetainedMessages |
The
|
Optional with default of "onSubscription"
|
enum |
|
|||
reconnectFrequencySeconds |
The If it is set to FairCom's servers attempt to connect to an external broker when it is configured as a subscriber to topics on an external broker or when it is configured to forward messages to an external broker. To stop the reconnect process, send the To restart the reconnect process, send the |
Optional with default of 15
|
int32 |
|
|||
recordFilter |
The |
Optional with default of ""
|
string | 1 to 65,000 bytes | |||
recordFormat |
The |
Optional with default of "fields"
|
string enum |
|
|||
recordPath |
The
|
Required - No default value | string | 0 to 256 bytes | |||
remove |
The |
Optional with default of {}
|
array of objects |
|
|||
renamedKeys |
The
|
Required - No default value | array of key-rename objects | |
|||
requestProblemInformation |
The |
Optional with default of true
|
Boolean |
|
|||
requestResponseInformation |
The |
Optional with default of false
|
Boolean |
|
|||
rerunTransformScope |
The
|
Required - No default value | string enum |
|
|||
responseOptions |
The
|
Optional with default of null
|
object |
|
|||
responseTopic |
The |
Optional with default of ""
|
string | topic name for the response | |||
retain |
The |
Optional with default of false
|
Boolean |
|
|||
retentionPeriod |
The |
Optional with default of |
integer |
1 to 100
|
|||
retentionPolicy |
The If not specified, the default found in the
retentionPolicy values:
|
Optional with default of |
string |
|
|||
retentionUnit |
The If not specified, the default found in the
|
Optional with default of |
string |
|
|||
retrySeconds |
The
|
Optional with default of |
integer |
|
|||
returnCursor |
The
|
Optional with default of false
|
Boolean |
|
|||
returnTagsBy |
The "returnTagsBy" property specifies whether to return tags identified by ID or name. |
Optional with default of "id"
|
string enum |
|
|||
returnThingsBy |
The "returnThingsBy" property specifies whether to returns things identified by ID or "name". |
Optional with default of null
|
string enum |
|
|||
revealAfterValueOnFilteredDelete |
The |
Optional with default of false
|
Boolean |
|
|||
revealBeforeValueOnFilteredInsert |
The |
Optional with default of false
|
Boolean |
|
|||
reverseCompare |
The When "fields": [
{
"reverseCompare": true
}
] |
Optional with default of false
|
Boolean |
|
|||
reverseOrder |
The
|
Optional with default of false
|
Boolean |
|
|||
roleName |
The
|
Required when "keystore": "role"
|
string | 1 to 64 bytes | |||
roleNames |
The "add": [
{
"roleNames": [
"admin"
],
"usernames": [
"NewAccount1"
]
}
] |
Optional with default of []
|
array | 1 or more strings, each between 1 and 64 bytes. | |||
scale |
The The value of A scale of The You may optionally use the Example numbers allowed in "number" and "money" field types with a length of 4 and a scale from 0 to 4.
Request Example Create a table that contains all field types that use the "fields": [
{
"name": "j",
"type": "number",
"scale": 32
},
{
"name": "k",
"type": "number",
"scale": 4
} |
Optional with default of null
|
integer |
0 to 32
|
|||
search |
The
|
Optional with default of ""
|
string | 0 to 64 bytes | |||
sequence |
The |
Optional with default of 0
|
double | Any floating point or integer number. | |||
sequenceFilter |
The |
Optional with default of []
|
array of doubles | Each array item is a 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. |
Optional with default of "unknown"
|
string | 1 to 64 bytes | |||
serialNumberFilter |
The "serialNumberFilter" property specifies a complete or partial serial number, such as, "serialNumberFilter": "AB678". The action returns things that match the serial number, provided it also satisfies all other specified filter properties. |
Optional with default of ""
|
string | 1 to 64 bytes | |||
serviceLibrary |
The Library files are located in the <faircom>/server/web/ folder. The full path includes the |
Optional with default of ""
|
string | no limits | |||
serviceName |
The See the The following services are available as of the V5 release:
|
Required - No default value | string | 1 to 64 bytes | |||
sessionExpiryInterval |
The The
The
|
If "temporarySession" is true, "sessionExpiryInterval" defaults to 0 to ensure the temporary session expires when the JSON session does. If "temporarySession" is false, it defaults to 4294967296 because a permanent session never expires. |
integer |
0 to 4294967296
|
|||
sessionHealth |
The |
Required - No default value | enum |
|
|||
sessionStatus |
The
|
Optional with default of "normal"
|
string enum |
|
|||
sessionStatusFilter |
The |
Optional with default of []
|
array |
|
|||
sessionTypeFilter |
The |
Optional with default of []
|
array |
|
|||
settings |
The |
Optional with default of {}
|
object |
Allen-Bradley "params" Modbus "params" OPC UA "settings" Siemens S7 "params" |
|||
significantMagnitude |
The "significantMagnitude" property specifies the minimum magnitude that a collected value must change to be meaningful. It causes the connector to ignore insignificant changes. In other words, a change is saveable when it is greater than or equal to the significant magnitude. Each saved event establishes the baseline value for measuring the next significant change. The magnitude is an absolute value that measures change in the positive or negative. It is also inclusive. For more details, see "significantMagnitude". |
Optional with default of "disabled"
|
Integer | Positive integer greater than 0 | |||
skipRecords |
The "skipRecords" property specifies the number of records to skip over when paginating the results. It is used with "maxRecords" to paginate the results. If the value is not null or omitted, the server returns results from the beginning. If it is > 0, the server skips over the specified number of records and returns results starting from that point up until it returns the maximum number of results as defined by "maxRecords". |
Optional with default of 0
|
integer |
0 to 9223372036854775807
|
|||
slot |
The "slot" property specifies the PLC Slot number. |
Required - No default value | integer |
1 to 31
|
|||
smallFile |
The
Example request {
"api": "db",
"action": "createTable",
"params": {
"smallFile": true
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of false
|
Boolean |
|
|||
sortAscending |
The |
Optional with default of ""
|
string |
|
|||
sortDescending |
The "fields": [
{
"sortDescending": true
}
] |
Optional with default of false
|
Boolean |
|
|||
sourceData |
The "sourceData" property contains source data for an insert or update operation |
Optional with default of []
|
array | An array of arrays or an array of objects | |||
sourceDatabaseName |
The |
Optional with default of the "defaultDatabaseName" value that is set during "createSession". If no default is set during "createSession", then "faircom" is used. |
string | 1 to 64 bytes | |||
sourceDatabaseNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sourceDataField |
The |
Required - No default value
It defaults to |
string |
|
|||
sourceDataFilePath |
The |
Required - if "sourceTableName" is not specified |
string | No limits | |||
sourceDataFilePathFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sourceDataFormat |
The "sourceDataFormat" property specifies the format of the "source_payload" field. |
Optional with default of "json"
|
string |
|
|||
sourceFieldName |
The
|
Optional with default of ""
|
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 |
Optional with default of []
|
array | One or more fields form the integration table. | |||
sourceHostname |
The "sourceHostname" property specifies a unique host name or TCP/IP address of a FairCom DB or RTG server. |
Required - No default value | string | 1 to 255 bytes | |||
sourceHostnameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sourceOwnerName |
The |
Optional with default of the "defaultOwnerName" value that is set during "createSession". If no default is set during "createSession", then "admin" is used. |
string | 1 to 64 bytes | |||
sourceOwnerNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sourcePassword |
The "sourcePassword" property specifies the login password of a FairCom DB or RTG server. |
Optional with default of "ADMIN"
|
string | 1 to 128 bytes | |||
sourcePayloadBinaryFormat |
The "sourcePayloadBinaryFormat" property specifies how the server encodes and decodes a binary value assigned to a tag. For more details, see "sourcePayloadBinaryFormat". |
Optional with default of "hex"
|
string enum |
|
|||
sourcePayloadDateFormat |
The "sourcePayloadDateFormat" property specifies how the server encodes and decodes a date value assigned to a tag. For more details, see "sourcePayloadDateFormat". |
Optional with default of "iso8601"
|
string enum |
"ccyy.mm.dd""mm.dd.ccyy""mm.dd.yy""dd.mm.ccyy""dd.mm.yy""ccyymmdd""iso8601""yymmdd""utc"
|
|||
sourcePayloadNumberRounding |
The
|
Optional with default of "truncate"
|
string enum |
|
|||
sourcePayloadPath |
The
|
Required by the "createTag" action. Otherwise, it is optional with default of "". |
string | 1 to 2048 bytes | |||
sourcePayloadTimeFormat |
The "sourcePayloadTimeFormat" property specifies how the server encodes and decodes a time value assigned to a tag. For more details, see "sourcePayloadTimeFormat". |
Optional with default of "iso8601"
|
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
|
Optional with default of "json"
|
string enum |
"json""variantObject""binary""string"
|
|||
sourcePort |
The "sourcePort" property specifies the ISAM TCP/IP port of a FairCom DB or RTG server. |
Optional with default of 5597
|
int16 |
1 to 65535
|
|||
sourcePortFilter |
The |
Optional with default of null
|
integer | 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". |
Required if "sourceHostname" is not defined - No default value |
string | 1 to 255 bytes | |||
sourceServerNameFilter |
The |
Optional with default of null
|
string | 1 to 64 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. |
Required - No default value | 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 |
Required if "sourceDataFilePath" is not specified |
string | 1 to 64 bytes | |||
sourceTableNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sourceUsername |
The
|
Required - No default value | string | 1 to 31 bytes | |||
sourceUsernameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
sql |
The |
Required - No default value |
string | 1 to 32,000,000 bytes | |||
sqlForwardOnly |
The |
Optional with default of |
Boolean |
|
|||
sqlParams |
The
|
Optional with default of []
|
array | An array of values | |||
sqlStatements |
The There is one SQL statement per string. |
Required - No default value |
array of strings | 1 or more sql statements | |||
startFrom |
The
In |
Optional with default of "currentPosition"
|
string |
|
|||
startTimestamp |
The |
Optional with default of null
|
string containing an ISO8601 timestamp |
|
|||
status |
The
When the
To create, alter, and list inactive items, set the |
Optional with default of "active"
|
string enum |
|
|||
statusFilter |
The
When using the tag actions, this property finds tags based on their status. You can include zero or more status values. The
|
Optional with default of []
|
array |
When using tag actions, |
|||
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. |
Required - No default value | string | 1 to 64 characters | |||
streamingConnectionNameFilter |
The |
Optional with default of null
|
string | 1 to 64 bytes | |||
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. |
Optional with default of 8
|
integer |
1 to 65535
|
|||
streams |
The "streams" property specifies an array of stream definitions. | Required - No default value | Array of stream definitions | 1 or more stream definitions | |||
stringFormat |
The This property applies to all
|
Optional with default of "json"
|
string |
|
|||
subscribeToExternalBroker |
The
|
Optional with default of ""
|
string | Any previously defined name of a broker connection (see |
|||
subscriptionActions |
The
|
Optional with default of []
|
array |
|
|||
subscriptionIdentifier |
The |
Optional with default of 268435455
|
integer |
0 to 268435455
|
|||
tableFileExtension |
The
Example request "params": {
"tableName": "test1",
"tableFileExtension": ".dat"
} |
Optional with default of ".dat"
|
string | 0 to 64 bytes | |||
tableFilter |
The
|
Optional with default of ""
|
string | 0 to unlimited bytes | |||
tableName |
The See table name in System specifications for the table naming requirements and limitations.
"params": {
"tableName": "ctreeTable"
} |
Required - No default value | string | 1 to 64 bytes | |||
tableNames |
The
|
Required - No default value |
array | 1 to 64 bytes | |||
tables |
The
|
Optional with default of {}
|
array of objects |
0 or more objects containing the following properties:
|
|||
tagChanges |
The |
Optional with default of "forEachField"
|
string enum |
|
|||
tagDataType |
The
|
Optional with default of "json"
|
string enum |
"string""number" "boolean" "date" "time" "timestamp" "json" "variant" "binary"
|
|||
tagDataTypeFilter |
The "tagDataTypeFilter" property specifies one or more tag data types. Each item in the array is the exact name of a tag data type. The "listTags" action returns tags that match one of the specified values. |
Optional with default of []
|
array of strings | 1 to 64 bytes | |||
tagElementCount |
The "tagElementCount" property specifies the number of elements in the tag. All tags are treated as arrays. Tags that are not arrays are considered to have a length of one element. |
Optional with default of 1
|
int32 |
0 and negative values are invalid. |
|||
tagName |
The "tagName" property specifies the unique name of a tag. For more details, see "tagName". |
Required - No default value | string | 1 to 256 bytes | |||
tagNameFilter |
The "tagNameFilter" property specifies a partial or full name of a tag to describe. The action returns tags that match the partial or full name of the tag, provided it satisfies all other specified filter properties. |
Optional with default of ""
|
string | 1 to 64 bytes | |||
tagNames |
The
|
Required - No default value | string | 1 to 256 bytes | |||
tagPath |
The p is the communication Port Type
s is the slot number where the PLC is installed, such as |
Optional with default of "1,0"
|
string | String with the format "p,s"
|
|||
tagType |
The "tagType" property specifies the binary format of the PLC data represented by the tag. |
Required - No default value | string |
|
|||
tagSize |
The If not specified, the buffer size is defined based on the For string Let the server define this property. and set it yourself only when necessary. |
Optional with default depending on the dataType value | Integer |
0, 1, 2, 4 or 8
|
|||
targetDatabaseName |
The
|
Optional with default of ""
|
string | 1 to 64 bytes | |||
targetOwnerName |
The |
Optional with default of ""
|
string | 1 to 64 bytes | |||
targetTableName |
The
|
Optional with default of ""
|
string | 1 to 64 bytes | |||
temporarySession |
The When Use the |
Optional with default of false
|
Boolean |
|
|||
testDatabaseName |
The For more information, see the
|
Optional with default of the "defaultDatabaseName" defined in the "createSession" action. |
string | 1 to 64 bytes | |||
testOwnerName |
The For more information, see the
|
Optional with default of the "defaultOwnerName" defined in the "createSession" action. |
string | 1 to 64 bytes | |||
testTableName |
The
|
Required - No default value | string | 1 to 64 bytes | |||
testTransformScope |
The |
Required - No default value | string enum |
|
|||
thingIdFilter |
The "thingIdFilter" property specifies zero or more unique integers ID of a thing which will be used to filter the results. The "listTags" action includes tags associated with the specified thing, which is a device or software application. |
Optional with default of []
|
array of integers | zero or more thing id integers | |||
thingName |
The "thingName" property specifies the unique name of a thing. It cannot be the empty string "". |
Required - No default value | string | 1 to 64 bytes | |||
thingNameFilter |
The "thingNameFilter" property specifies a partial or full name of a thing to describe. The action returns things that match the specified partial or full name of the thing, provided it satisfies all other specified filter properties. |
Optional with default of ""
|
string | 1 to 64 bytes | |||
thingNames |
The "thingNames" property 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. |
Required - No default value | array | one or more thing name strings | |||
thingType |
The
This API uses the Label API to manage types.
|
Optional with default of "unknown"
|
string | 1 to 64 bytes | |||
thingTypeFilter |
The "thingTypeFilter" property filters the results by the value of the "thingType" property. Each string is a partial or complete type, such as, "thingTypeFilter": [ "myTy", "PLC" ]. The action returns things that match at least one item in the array, provided it also satisfies all other specified filter properties. |
Optional with default of []
|
array of strings | zero or more type strings | |||
threads |
The
|
Optional with default of 1
|
integer |
|
|||
timeFormat |
The |
Optional with default of "hh.mm.am/pm"
|
string |
|
|||
tls |
The "tls" property defines the public server certificate filename, the private key filename, the certificate authority filename, the cipher suites that are allowed, and whether the client certificate is required. |
Optional with default of {}
|
object |
|
|||
topic |
The
|
Optional with default of ""
|
string | 1 to 65,500 bytes | |||
topicAliasMaximum |
The |
Optional with default of 0
|
integer |
0 to 65535
|
|||
topicFilter |
The |
Optional with default of ""
|
UTF-8 string | topic names | |||
topicIdFilter |
The "topicIdFilter" property specifies the unique integer ID of an MQTT topic. The "listTags" action includes tags associated with the specified topic. |
Optional with default of []
|
array of integers | zero or more topic id integers | |||
topics |
The |
Optional with default of []
|
array |
0 or more topic strings | |||
transactionDescription |
The "transactionDescription" property identifies the object by this description. |
Optional with default of |
string | 0 to 65,500 bytes | |||
transactionId |
The "transactionId" property identifies a transaction in which the specified action will be included. |
Optional with default of ""
|
string | 0 to 255 bytes | |||
transactionModel |
The Possible values:
Example request {
"api": "db",
"action": "createTable",
"params": {
"transactionModel": "noTransactions"
},
"authToken": "replaceWithAuthTokenFromCreateSession"
} |
Optional with default of "logTransactions"
|
string |
|
|||
transactionSavepointId |
The
|
Optional with default of |
string | 0 to 255 bytes | |||
transformBufferInitialBytes |
The "transformBufferInitialBytes" property specifies the number of bytes for the session to allocate initially for its transform buffer. Omit this property or set it to 0 when you do not plan on using the "transformCodeName" property to transform the JSON returned from the "getRecords..." actions. If you plan on transforming the JSON, you can set the "transformBufferInitialBytes" property to the number of bytes that you anticipate the server will need to store the results of each transform. If the server needs more memory, it automatically increases the buffer size; thus, this property is an optimization that helps prevent the server from doing expensive memory allocations. |
Optional with default of 0 |
integer | 0 or more bytes | |||
transformCodeName |
The When this property is present in a |
Optional with default of "". |
string | The string must contain the name of an existing code package with a "codeType" of "getRecordsTransform"
|
|||
transformName |
(deprecated) The |
Optional with default of ""
|
string | 1 to 64 bytes | |||
transformNameFilter |
The |
Optional with default of ""
|
string | 1 to 64 bytes | |||
transformStepMethod |
The "transformStepMethod" property specifies the type of transform, such as the "javascript" transform method that runs JavaScript to change the table's data, or the "jsonToTableFields" transform method that extracts values from properties in a JSON field and stores them in other fields. For more details, see "transformStepMethod". |
Required - No default value | string enum |
|
|||
transformStepName |
The |
Optional with default of ""
|
string | 1 to 64 bytes | |||
transformSteps |
The "transformSteps" property specifies an array of transform objects. |
Required - No default value | array of objects |
0 or more objects containing 1 or more of the following properties:
|
|||
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
Example "transformServices" section in the services.json file. "transformServices": [
{
"serviceName": "v8TransformService",
"serviceLibrary": "v8transformservice.dll",
"enabled": true
}
],
|
Optional with default of ""
|
string | 1 to 64 bytes | |||
triggers |
The |
Optional with default of [ "insert", "update", "delete" ]
|
array of enum strings |
|
|||
type |
The
Request example "fields": [
{
"name": "j",
"type": "number"
}
] |
Required - No default value | string |
|
|||
unique |
The "params": {
"unique": true
} |
Optional with default of false
|
Boolean |
|
|||
unsetHealthMeasures |
The |
Optional with default of true
|
Boolean |
|
|||
uri |
The "uri" property specifies the identifier name of the Rest resource. |
Required - No default value | string | 1 to 1024 bytes | |||
username |
The
In
In Key-Value actions, the
|
Required - No default value
Optional with default of the account name of the currently logged-in user for Key-Value actions
|
string | 1 to 64 bytes | |||
usernameFilter |
The |
Optional with default of []
|
array | 1 to 64 bytes | |||
usernames |
The "usernames" property specifies the names of the accounts that the action will target. |
Optional with default of []
|
array | 0 or more usernames, each between 1 and 64 bytes. | |||
userProperties |
The "userProperties": [
{
"key": "some key",
"value": "some value"
}
] |
Optional with default of null
|
array | 0 or more key/value pairs | |||
validateMqttPayload |
The
Example error object describing an invalid MQTT payload
|
Optional with default of the "defaultValidateMqttPayload" value in the services.json file, which is true by default. |
Boolean |
|
|||
value |
The
In Key-Value actions, the required |
Required - No default value | string |
|
|||
variantFormat |
The "variantFormat" property tells the server how to interpret the variant data included in a JSON Action request. For more details, see "variantFormat". |
Optional with default of "json"
|
string |
|
|||
verifyLinks |
The |
Optional with default of true
|
Boolean |
|
|||
waitToBeLoaded |
The
"params": {
"waitToBeLoaded": true
} |
Optional with default of true
|
Boolean |
|
|||
willContentType |
The |
Optional with default of ""
|
string |
IanaMediaType CustomType |
|||
willCorrelationData |
The |
Optional with default of ""
|
JSON | 0 to 65,500 bytes | |||
willDelaySeconds |
The |
Optional with default of 60
|
integer | ||||
willExpirySeconds |
The |
Optional with default of 60
|
integer | ||||
willPayload |
The |
Required - No default value | JSON | ||||
willPayloadFormatIndicator |
The |
Optional with default of "none"
|
ENUM |
|
|||
willQoS |
The property |
Optional with default of 2
|
integer | ||||
willResponseTopic |
The |
Optional with default of ""
|
string | ||||
willRetain |
The |
Optional with default of false
|
Boolean |
|
|||
willTopic |
The |
Optional with default of ""
|
UTF-8 string | ||||
willUserProperties |
The |
Optional with default of []
|
array |
Response examples
Success
{
"result": {},
"requestId": "00000003",
"errorCode": 0,
"errorMessage": "",
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Response properties
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 |