Skip to content

Token request

In order for the request to be authorized, a token must first be requested. This token authenticates an RMS user whose rights apply.

Parameter

UserId User ID
Username User name
Password Password
RequestType Must be "DataHistory"
ExpirationDays Expiration for token in days (maximum 30)

Example:

Request URL: API/RequestToken.ashx (HTTP POST)
Parameter:
Response from server {
UserId: 1234,
RequestType: DataHistory,
Token: xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxx,
Status: OK
}