POST api/auth/token
CreateToken - Generates a user token for the supplied credentials
Request Information
URI Parameters
None.
Body Parameters
UserCredentials| Name | Description | Type | Additional information |
|---|---|---|---|
| DataBase |
The Database ID as set in the databases XML file |
integer |
None. |
| UserName |
The user login name (not the user's actual name) |
string |
None. |
| Password |
The user login password hash |
string |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>