POST api/DistributorAccount/Login
Request Information
URI Parameters
None.
Body Parameters
DistributorLoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginId | string |
Required |
|
| Password | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"LoginId": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<DistributorLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TsrMart.Sales.Service.Models"> <LoginId>sample string 1</LoginId> <Password>sample string 2</Password> </DistributorLoginModel>
multipart/form-data
Sample:
<DistributorLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TsrMart.Sales.Service.Models"><LoginId>sample string 1</LoginId><Password>sample string 2</Password></DistributorLoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"LoginId":"sample string 1","Password":"sample string 2"}
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. |