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.
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:
1for Terminal Serial Number (S/N)2for DCS Hardware Serial Number3for 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.