POST api/account/revalidate
V2 - This method revalidates the users username and password
Request Information
URI Parameters
None.
Body Parameters
OAuthRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| grant_type |
The grant type. Currently only the grant type password is supported. |
string |
Required |
| userName |
The username for this login request. |
string |
Required |
| password |
The password for this user. |
string |
Required Data type: Password |
| clientKey |
A key used to link the new session to a specific device. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"grant_type": "sample string 1",
"userName": "sample string 2",
"password": "sample string 3",
"clientKey": "sample string 4"
}
text/javascript
Sample:
{"grant_type":"sample string 1","userName":"sample string 2","password":"sample string 3","clientKey":"sample string 4"}
application/xml, text/xml
Sample:
<OAuthRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yindo.DAL.Types"> <clientKey>sample string 4</clientKey> <grant_type>sample string 1</grant_type> <password>sample string 3</password> <userName>sample string 2</userName> </OAuthRequest>
application/x-www-form-urlencoded
Sample:
grant_type=value&userName=value&password=value&clientKey=value
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |