GET api/Auth
Authorize with the Web API to retrieve a database token. This database token will need to be included in all your web api calls in a header called "Token". Required Headers: Database, Username, Password
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AuthorizationResult
AuthorizationResult| Name | Description | Type | Additional information | 
|---|---|---|---|
| HasError | boolean | 
                             None.  | 
                |
| ErrorDetails | string | 
                             None.  | 
                |
| ErrorType | string | 
                             None.  | 
                |
| Token | string | 
                             None.  | 
                |
| TokenExpiryTime | date | 
                             None.  | 
                |
| CurrentUserId | globally unique identifier | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "HasError": true,
  "ErrorDetails": "sample string 2",
  "ErrorType": "sample string 3",
  "Token": "sample string 4",
  "TokenExpiryTime": "2025-11-04T11:13:37Z",
  "CurrentUserId": "fd990d6b-3fb3-48f0-8c73-e32f37ef35bb"
}