HasEdgeThing
The HasEdgeThing service checks whether a certain Thing is connected to the EMS.
Inputs
You can pass in raw JSON or an infotable that contains the name of the Thing whose connection you want to check:
TW_INFOTABLE, that contains the name of the Thing to check. The infotable can be passed in as raw json. For example, {"name":"ThingName"}
Outputs
TW_INFOTABLE, which contains the result, as TW_BOOLEAN. Returns true if the specified Thing is connected, false otherwise.
Here is an example of a REST call that determines if a specified edge Thing is connected to an EMS:

http://localhost:8000/Thingworx/Things/LocalEms/Services/HasEdgeThing
{
"name": "acmeEdgeThing1"
}
Was this helpful?