POST tokens
Retrieve a new JWT token, by passing your FlowWorks username and password in the body of the request. See the 'Authentication' section for details on how to use this token in all of your API requests.
Request Information
URI Parameters
None.
Body Parameters
TokenRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserName |
A FlowWorks user name. |
string |
None. |
Password |
The password for the FlowWorks user. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2" }
application/xml, text/xml
Sample:
<TokenRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FW.WebApi2.ViewModels"> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </TokenRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A string containing the JWT token.
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>