POST api/User/ValidateUserCredentials
Request Information
URI Parameters
None.
Body Parameters
LoginDtoName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
|
AccountId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2", "AccountId": "d3253790-4b61-4874-9abe-28d151ae4b67" }
application/xml, text/xml
Sample:
<LoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model"> <AccountId>d3253790-4b61-4874-9abe-28d151ae4b67</AccountId> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UserDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
Role_Id | globally unique identifier |
None. |
|
RefId | globally unique identifier |
None. |
|
ErrorMessage | string |
None. |
|
Token | string |
None. |
|
NovaAPIId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "26f73ff4-0a32-4ba1-92a6-395e741d45f6", "Username": "sample string 2", "Password": "sample string 3", "Role_Id": "7dd3d312-0bc0-45fa-a8ce-d9b6dc6389cb", "RefId": "8b3a6714-e051-472e-a902-6db8dea488d4", "ErrorMessage": "sample string 4", "Token": "sample string 5", "NovaAPIId": "sample string 6" }
application/xml, text/xml
Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model"> <ErrorMessage>sample string 4</ErrorMessage> <Id>26f73ff4-0a32-4ba1-92a6-395e741d45f6</Id> <NovaAPIId>sample string 6</NovaAPIId> <Password>sample string 3</Password> <RefId>8b3a6714-e051-472e-a902-6db8dea488d4</RefId> <Role_Id>7dd3d312-0bc0-45fa-a8ce-d9b6dc6389cb</Role_Id> <Token>sample string 5</Token> <Username>sample string 2</Username> </UserDto>