POST api/Login/login
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CfCrmApi.Models"> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | UserModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": {
"Id": 1,
"Name": "sample string 2",
"PhoneNo": "sample string 3",
"UserId": "sample string 4",
"Pin": "sample string 5",
"DOT": "sample string 6"
}
}
application/xml, text/xml
Sample:
<ResultModelOfUserModelEWbISkN_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CfCrmApi.Models">
<Data>
<DOT>sample string 6</DOT>
<Id>1</Id>
<Name>sample string 2</Name>
<PhoneNo>sample string 3</PhoneNo>
<Pin>sample string 5</Pin>
<UserId>sample string 4</UserId>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfUserModelEWbISkN_S>