POST api/Portal/PortalUserLogin
Request Information
URI Parameters
None.
Body Parameters
UserLoginName | Description | Type | Additional information |
---|---|---|---|
loginusername | string |
None. |
|
password | string |
None. |
|
Otp | string |
None. |
|
Contactno | string |
None. |
|
Version | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Otp": "sample string 3", "Contactno": "sample string 4", "Version": "sample string 5", "loginusername": "sample string 1", "password": "sample string 2" }
application/xml, text/xml
Sample:
<UserLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSWDCW.Models"> <Contactno>sample string 4</Contactno> <Otp>sample string 3</Otp> <Version>sample string 5</Version> <loginusername>sample string 1</loginusername> <password>sample string 2</password> </UserLogin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PortalLoginResponceStatusName | Description | Type | Additional information |
---|---|---|---|
PortalUserID | integer |
None. |
|
UserCode | string |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
MobileNo | string |
None. |
|
UserTypeID | integer |
None. |
|
UserTypeName | string |
None. |
|
DistrictCode | string |
None. |
|
District | string |
None. |
|
ProjectCode | string |
None. |
|
ProjectName | string |
None. |
|
Status | integer |
None. |
|
ContactNo | string |
None. |
|
FirmName | string |
None. |
|
CommCode | string |
None. |
|
Loginstatus | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PortalUserID": 1, "UserCode": "sample string 2", "Username": "sample string 3", "Password": "sample string 4", "MobileNo": "sample string 5", "UserTypeID": 6, "UserTypeName": "sample string 7", "DistrictCode": "sample string 8", "District": "sample string 9", "ProjectCode": "sample string 10", "ProjectName": "sample string 11", "Status": 12, "ContactNo": "sample string 13", "FirmName": "sample string 14", "CommCode": "sample string 15", "Loginstatus": "sample string 16", "Message": "sample string 17" }
application/xml, text/xml
Sample:
<PortalLoginResponceStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSWDCW.Models"> <CommCode>sample string 15</CommCode> <ContactNo>sample string 13</ContactNo> <District>sample string 9</District> <DistrictCode>sample string 8</DistrictCode> <FirmName>sample string 14</FirmName> <Loginstatus>sample string 16</Loginstatus> <Message>sample string 17</Message> <MobileNo>sample string 5</MobileNo> <Password>sample string 4</Password> <PortalUserID>1</PortalUserID> <ProjectCode>sample string 10</ProjectCode> <ProjectName>sample string 11</ProjectName> <Status>12</Status> <UserCode>sample string 2</UserCode> <UserTypeID>6</UserTypeID> <UserTypeName>sample string 7</UserTypeName> <Username>sample string 3</Username> </PortalLoginResponceStatus>