POST scanners/validateuser
Request Information
URI Parameters
None.
Body Parameters
LoginUserInfoName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2" }
text/html
Sample:
{"Username":"sample string 1","Password":"sample string 2"}
application/xml, text/xml
Sample:
<LoginUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers"> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginUserInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ScannerUserName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
Password | string |
None. |
|
PasswordHash | string |
None. |
|
PasswordSalt | string |
None. |
|
Roles | Collection of ScannerRole |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "PasswordHash": "sample string 3", "PasswordSalt": "sample string 4", "Roles": [ 0, 0 ] }
text/html
Sample:
{"UserName":"sample string 1","PasswordHash":"sample string 3","PasswordSalt":"sample string 4","Roles":[0,0]}
application/xml, text/xml
Sample:
<ScannerUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreTT.ULD.Shared"> <PasswordHash>sample string 3</PasswordHash> <PasswordSalt>sample string 4</PasswordSalt> <Roles> <ScannerRole>ScanUser</ScannerRole> <ScannerRole>ScanUser</ScannerRole> </Roles> <UserName>sample string 1</UserName> </ScannerUser>