Click or drag to resize

RMTrackService Constructor (String, String, String, Boolean)

Constructor is called with the url of the RMTrack installation. Not available from COM clients.

Namespace:  RMTrackApiClient
Assembly:  RMTrackApiClient (in RMTrackApiClient.dll) Version: 6.0.66.2974
Syntax
public RMTrackService(
	string ServerUrl,
	string AccessKey,
	string SecretKey,
	bool UseJSON
)

Parameters

ServerUrl
Type: SystemString
The fully qualified URL of the RMTrack installation. For example: http://www.myserver.com/RMT/RMTrackAPI
AccessKey
Type: SystemString
The access key for the RMTrack installation. The access key is issued by the RMTrack application on the API Access Site Option page (Administration -> System -> SiteOptions, choose the "API Access" option).
SecretKey
Type: SystemString
The secret key for the RMTrack installation. The access key is issued by the RMTrack application on the API Access Site Option page (Administration -> System -> SiteOptions, choose the "API Access" option).
UseJSON
Type: SystemBoolean
Flag to indicate that JSON instead of XML should be used .
Examples
To create a new instance of the api service object:
C#
RMTrackApiClient.RMTrackService RMTrack = new RMTrackApiClient.RMTrackService("http://wwww.myserver.com/rmt/rmtrackapi", "accesskey", "secretkey");
See Also