POST api/Services/GetUserInfo
Request Information
URI Parameters
None.
Body Parameters
LoginEntityName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Required |
|
Password | string |
Required |
|
RoleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2", "RoleId": 3 }
text/html, multipart/form-data
Sample:
{"UserName":"sample string 1","Password":"sample string 2","RoleId":3}
application/xml, text/xml
Sample:
<LoginEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity"> <Password>sample string 2</Password> <RoleId>3</RoleId> <UserName>sample string 1</UserName> </LoginEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponceName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Data": {} }
text/html, multipart/form-data
Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}
application/xml, text/xml
Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <Data /> <Message>sample string 2</Message> <Status>sample string 1</Status> </APIResponce>