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
| CompanyName | Company Name |
|---|---|
| Username | User name |
| Password | Password |
| RequestType | Must be "DataHistory" |
Example:
| Request | URL: API/RequestToken.ashx (HTTP POST) Parameter: |
|---|---|
| Response from server | { UserId: 1234, RequestType: "DataHistory", Token: "xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxx", Status: "OK" } |
When using the Rotronic Cloud, the URL would be: https://rms.rotronic.com/RMS/API/RequestToken.ashx.