POST api/Token?username={username}&password={password}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
username | string |
Required |
|
password | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TB_LoginName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
|
Role | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2", "Role": "sample string 3" }
application/xml, text/xml
Sample:
<TB_Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AchatImage_Service.Models"> <Password>sample string 2</Password> <Role>sample string 3</Role> <Username>sample string 1</Username> </TB_Login>