POST api/Auth/Authenticate
Request Information
URI Parameters
None.
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| DateOfBirth | date |
None. |
|
| Password | string |
None. |
|
| OldPassword | string |
None. |
|
| Category | string |
None. |
|
| AgentName | string |
None. |
|
| Roles | Collection of string |
None. |
|
| RoleName | Collection of string |
None. |
|
| Token | string |
None. |
|
| Photo | string |
None. |
|
| Type | string |
None. |
|
| verified | boolean |
None. |
|
| ChatId | string |
None. |
|
| CountryId | integer |
None. |
|
| PortId | integer |
None. |
|
| ChatToken | string |
None. |
|
| Notification | boolean |
None. |
|
| Updated | boolean |
None. |
|
| LanguageCode | string |
None. |
|
| EmailNotifications | boolean |
None. |
|
| Country | Object |
None. |
|
| Menu | Collection of MenuItemModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
multipart/form-data
Sample:
Sample not available.
application/octet-stream
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}