This action may lead to changes in the database
Do you want to continue?
Data Explorer
Web API Query String
Request Information
Authenticates an User Account by using either the User Id or the Logon Name and Partner Id, plus the User Token to validate the password
Parameters:
- UserId Or LogonName
- PartnerId (Required when using LogonName)
- UserToken
- maxLoginAttempts
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userToken |
Authentication Token (ask Web API development team, how to generate this token) |
string |
Required |
userId |
User Id |
string |
None. |
logonName |
Logon Name |
string |
None. |
partnerId |
Partner Id |
string |
None. |
maxLoginAttempts |
If present, the API creates a registry in order to see the number of fails, if the max number if fails is reached by an user, the account is lock automatically" |
integer |
None. |
Response
×
The request was made Successfully! Check the result!.
×
Error Something happen, the Api doesn't have a response.
{
"Time": "sample string 1",
"Error": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"ErrorMessage": "sample string 2",
"Status": "sample string 3",
"Server": "sample string 4",
"Count": 1,
"FavoriteCounts": {
"CommCount": 1,
"PlanCount": 2,
"SpecCount": 3
},
"FavoriteFacets": {
"Cities": [
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
},
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
}
],
"PostalCodes": [
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
},
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
}
],
"Markets": [
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
},
{
"MarketId": 1,
"Count": 1,
"Distance": 1.1,
"Key": 2,
"Value": "sample string 3",
"State": "sample string 4"
}
]
},
"Result": {
"Authenticated": true,
"UserId": "sample string 2",
"Error": "sample string 3",
"LockDate": "2025-04-19T09:29:56.3010843-05:00",
"NumberOfFailures": 1
}
}
<Root>
<Time>sample string 1</Time>
<Error>
<ClassName>System.Exception</ClassName>
<Message />
<Data />
<InnerException />
<HelpURL>sample string 1</HelpURL>
<StackTraceString />
<RemoteStackTraceString />
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod />
<HResult>3</HResult>
<Source>sample string 2</Source>
<WatsonBuckets />
</Error>
<ErrorMessage>sample string 2</ErrorMessage>
<Status>sample string 3</Status>
<Server>sample string 4</Server>
<Count>1</Count>
<FavoriteCounts>
<CommCount>1</CommCount>
<PlanCount>2</PlanCount>
<SpecCount>3</SpecCount>
</FavoriteCounts>
<FavoriteFacets>
<Cities>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</Cities>
<Cities>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</Cities>
<PostalCodes>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</PostalCodes>
<PostalCodes>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</PostalCodes>
<Markets>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</Markets>
<Markets>
<MarketId>1</MarketId>
<Count>1</Count>
<Distance>1.1</Distance>
<Key>2</Key>
<Value>sample string 3</Value>
<State>sample string 4</State>
</Markets>
</FavoriteFacets>
<Result>
<Authenticated>true</Authenticated>
<UserId>sample string 2</UserId>
<Error>sample string 3</Error>
<LockDate>2025-04-19T09:29:56.3010843-05:00</LockDate>
<NumberOfFailures>1</NumberOfFailures>
</Result>
</Root>
Code Generator
Response Information
Returns whether the provided user and token are valid, otherwise an error explaining why it didn't authenticate
ApiResultModelOfUserAuthenticatedName | Description | Type | Additional information |
---|---|---|---|
Time | string |
None. |
|
Error | Exception |
None. |
|
ErrorMessage | string |
None. |
|
Status | string |
None. |
|
Server | string |
None. |
|
Count | integer |
None. |
|
FavoriteCounts | ApiFavoriteCounts |
None. |
|
FavoriteFacets | ApiFavoriteFacets |
None. |
|
Result | UserAuthenticated |
None. |
|
VerboseLogger | List of IVerboseLogger |
None. |
GET
api/v2/User/Authenticate?userToken={userToken}&userId={userId}&logonName={logonName}&partnerId={partnerId}&maxLoginAttempts={maxLoginAttempts}