Skip to main content
The getProperty method retrieves specific terminal details, such as the terminal serial number (S/N), the DCS hardware serial number, or the Agamento application version. If no property type is specified, it returns a broader dictionary of terminal-related properties.

Request

JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Integration for more details on how the requests are structured and sent.
To call this method, set the method field to getProperty, and include the params array:

Request Parameters

The request must include the params array with the following parameters:
  • The first parameter is the service name: device.
  • The second parameter (optional) is a numeric property type:
    • 1 for Terminal Serial Number (S/N)
    • 2 for DCS Hardware Serial Number
    • 3 for Agamento Version

Response

The response varies depending on the input:
  • If a property type is specified, the result is a single string value.
  • If no property type is specified, the result is a dictionary containing multiple device properties.

Response Parameters

The table below describes the response parameters for this method: