POST Oauth2/login
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| grant_type | string |
None. |
|
| client_id | string |
None. |
|
| client_secret | string |
None. |
|
| username | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"grant_type": "sample string 1",
"client_id": "sample string 2",
"client_secret": "sample string 3",
"username": "sample string 4",
"password": "sample string 5"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESLeadsAPI"> <client_id>sample string 2</client_id> <client_secret>sample string 3</client_secret> <grant_type>sample string 1</grant_type> <password>sample string 5</password> <username>sample string 4</username> </LoginModel>
application/x-www-form-urlencoded
Sample:
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. |