POST api/Customer/Login?rewardsWithPending={rewardsWithPending}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rewardsWithPending | boolean |
Default value is False |
Body Parameters
DtomodalCustomerLogin| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| LoginHash | string |
None. |
|
| KeepMeLoggedIn | boolean |
None. |
|
| CustomerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2",
"LoginHash": "sample string 3",
"KeepMeLoggedIn": true,
"CustomerId": 5
}
text/html
Sample:
{"UserName":"sample string 1","Password":"sample string 2","LoginHash":"sample string 3","KeepMeLoggedIn":true,"CustomerId":5}
application/xml, text/xml
Sample:
<modalCustomerLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO"> <CustomerId>5</CustomerId> <KeepMeLoggedIn>true</KeepMeLoggedIn> <LoginHash>sample string 3</LoginHash> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </modalCustomerLogin>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.