Property Name
|
Base Type
|
Description
|
Example
|
||
---|---|---|---|---|---|
endpointName
|
STRING
|
Name of the endpoint (remote interface) for which this server configuration applies
|
Desktop
|
||
serverConfiguration
|
JSON
|
Server configuration data
|
{
"applicationName""AxedaDesktopServer", "version":"6.8.209", "protocolVersion":"1", "os":"Windows" }
|
Service Name
|
Description
|
Parameters
|
||
---|---|---|---|---|
EndSession
|
Terminates the session associated with the provided identifier.
|
REQUIRED. sessionId, which is he unique identifier (ID) of the session that is to be terminated. The base type of this parameter is GUID.
|
||
GetSession
|
Retrieves the session that matches the specified ID for this Thing. The result of this service is a remote session that matches the given session ID, returned as an INFOTABLE. The result implements the RemoteSession Data Shape..
|
REQUIRED. sessionID. which is the unique identifier of the session to retrieve.
|
||
GetSessions
|
Returns all current remote sessions that were started on this RemoteAccessible Thing. It does not return past remote sessions or sessions that have failed. If a remote session has failed, then it was terminated. Terminated sessions are removed from the storage of the RemoteAccess Subsystem The result is an INFOTABLE of the remote sessions for this Thing. The result implements the RemoteSession Data Shape..
|
None
|
||
HandleSessionUpdated
|
Called when the session for this Thing is updated. The isAllowOverride setting for this service is true.
|
REQUIRED. sessionEvent, which contains the session that has been updated. This parameter implements the RemoteSessionEvent Data Shape..
|
||
StartSession
|
Tells the platform to prepare a remote session for this Thing and passes in the parameters for the session that will be started. The result of this service is the unique identifier of the session that is created. The base type of the result is GUID.
|
REQUIRED. parameters, of base type INFOTABLE, which implements the RemoteSessionParameters Data Shape.
|
||
AssignEndpoints
|
Assigns a remote endpoint to this Thing. Its result is of base type INFOTABLE and implements the RemoteEndpoint Data Shape.
|
|||
GetRemoteAccessibleEndpoints
|
Run on a Thing from ThingWorx Composer, this service retrieves the endpoints available on this device. The result is an INFOTABLE from the RemoteEndpoint Data Shape that contains the endpoints for the device.
|
None
|
||
ProcessRemoteServerUpdate
|
Updates the property row in the INFOTABLE of the Thing Shape, using the endpointName as the key and sets the configuration for the remote server.
|
REQUIRED: endpointName (a STRING) and serverConfiguration (base type JSON).
|
||
GetRemoteServerConfiguration
|
Retrieves the server configuration for the specified endpoint for this Thing. The result is JSON-formatted.
|
REQUIRED: endpointName (a STRING)
|
Event
|
Description
|
---|---|
SessionUpdated
|
This event is fired when a session for this Thing is updated. The event data uses the RemoteSessionEvent Data Shape.
|
SessionCreated
|
This event is fired when a session for this Thing is created.
This event is recorded in the Audit Subsystem of ThingWorx Platform. The Audit category for this event is RemoteAccess.
|
SessionCompleted
|
This event is fired when a session for this Thing is completed.
This event is recorded in the Audit Subsystem of ThingWorx Platform. The Audit category for this event is RemoteAccess.
|