- Other kinds of Id information may be needed for API commands sent to GadgetKeeper
- These Ids can be be grouped into two categories, and are explained as follows:
Other Ids needed to interact with a "thing"
- Miscellaneous Ids that enable interactions with a "thing" include Connection Ids, Schedule Ids, and Trigger Ids
- A typical command would create/delete, set/get details, enable/disable, or start/stop the process or function
- These commands need a "Thing Id" and maybe another Id in order to perform the interaction
- The "Thing Id" is obtained as shown in Thing Id
- Other Ids are obtained as shown in Property Id, Method Id, Event Id, and API Keys
- The following procedure is an example of how to obtain an Id for a miscellaneous interaction with a "thing"
- In the "Things" tab, select the desired "thing" to open its tab
- Select the panel where the Id is located (Connections, Schedules, or Triggers)
- When the new tab opens, select the Connection, Schedule, or Trigger where the Id can be obtained
- Double click on the Id in the "Details" panel to select it, and then copy the Id
Note: A diagram for "Schedules" is shown, but this procedure is the same for "Connections" and "Triggers"
Ids associated with Data Types, Templates, and Products
- These Ids include Data Type Id, Template Id, Template version Id, Product Id, and Product serial number Id
- A typical command would either create/delete or set/get details of the chosen object
- Some of these commands may need a "Thing Id" and/or another Id to perform the interaction
- These Ids are obtained as explained in the previous section
- The following procedure is an example on how to obtain an Id for a template and/or a template version (the procedure is basically the same for the other Ids)
- Click "Templates" in the main menu to open a tab listing the current templates
- Select the desired template in this list to open its tab (the Template Id can be found in the "Information" section)
- Click "Versions" to open the listing of template versions
- Select the desired version to show its details
- Double click on the Id in the "Details" panel to select it, and then copy the version Id
The procedure outlined here can also be use used to obtain a Product Id and/or a Product serial number
7. The Id for "Data Types" is obtained in a slightly different way
8. Click "Data Types" in the main menu to open a tab listing the data types
9. Select the desired data type to open its dialog box as shown below
10. The Id for Data Types is in the form "Package.Name"
11. In this instance, the Id is "remote device.Value" (a period must be inserted)
12. The Id must be copied and structured in this format before it's pasted in the API command