POST api/Authenticate
Request Information
URI Parameters
None.
Body Parameters
CredentialsName | Description | Type | Additional information |
---|---|---|---|
grantType | string |
None. |
|
username | string |
None. |
|
password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "grantType": "sample string 1", "username": "sample string 2", "password": "sample string 3" }
application/xml, text/xml
Sample:
<AuthenticateController.Credentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sbAPIs.Controllers"> <grantType>sample string 1</grantType> <password>sample string 3</password> <username>sample string 2</username> </AuthenticateController.Credentials>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |