POST v1/Authentication
Authenticate a user with web admin.
Request Information
URI Parameters
None.
Body Parameters
Authenticate| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName |
Username of the web admin user |
string |
Required |
| Password |
Password for the corresponding admin user |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<Authenticate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineOrderingAPI.Admin.Models"> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </Authenticate>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |