GET api/LoginApi?loginId={loginId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| loginId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| PasswordChange | ChangePassword |
None. |
|
| userInfo | UserInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"PasswordChange": {
"Id": 1,
"CurrentPasswordDb": "sample string 2",
"Username": "sample string 3",
"CurrentPassword": "sample string 4",
"NewPassword": "sample string 5",
"ConfirmPassword": "sample string 6"
},
"userInfo": {
"Id": 1,
"LoginId": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"MobileNo": "sample string 4",
"NIC": "sample string 5",
"Balance": 1.1,
"ExpiryDate": "2026-03-14T19:45:56.4178691+05:00",
"AssignedBalance": 1.1,
"IsExportAllowed": true,
"IsPortedNoAllowed": true,
"IsDashoardAllowed": true,
"CreatedDate": "2026-03-14T19:45:56.4178691+05:00",
"CreatedBy": "sample string 9",
"UpdatedDate": "2026-03-14T19:45:56.4178691+05:00",
"UpdateBy": "sample string 10",
"IsBlockNoAllowed": true,
"BalanceType": "sample string 11",
"Address": "sample string 12",
"Country": 1,
"State": 1,
"City": 1,
"IsOTP": true,
"SendMobileNoPercent": 1,
"PerSMSCredit": 1.1,
"CompanyName": "sample string 13",
"IsPortedCheckedUsingApi": true,
"IsPostPaid": true
}
}
application/xml, text/xml
Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
<PasswordChange>
<ConfirmPassword>sample string 6</ConfirmPassword>
<CurrentPassword>sample string 4</CurrentPassword>
<CurrentPasswordDb>sample string 2</CurrentPasswordDb>
<Id>1</Id>
<NewPassword>sample string 5</NewPassword>
<Username>sample string 3</Username>
</PasswordChange>
<userInfo>
<Address>sample string 12</Address>
<AssignedBalance>1.1</AssignedBalance>
<Balance>1.1</Balance>
<BalanceType>sample string 11</BalanceType>
<City>1</City>
<CompanyName>sample string 13</CompanyName>
<Country>1</Country>
<CreatedBy>sample string 9</CreatedBy>
<CreatedDate>2026-03-14T19:45:56.4178691+05:00</CreatedDate>
<Email>sample string 3</Email>
<ExpiryDate>2026-03-14T19:45:56.4178691+05:00</ExpiryDate>
<Id>1</Id>
<IsBlockNoAllowed>true</IsBlockNoAllowed>
<IsDashoardAllowed>true</IsDashoardAllowed>
<IsExportAllowed>true</IsExportAllowed>
<IsOTP>true</IsOTP>
<IsPortedCheckedUsingApi>true</IsPortedCheckedUsingApi>
<IsPortedNoAllowed>true</IsPortedNoAllowed>
<IsPostPaid>true</IsPostPaid>
<LoginId>1</LoginId>
<MobileNo>sample string 4</MobileNo>
<NIC>sample string 5</NIC>
<Name>sample string 2</Name>
<PerSMSCredit>1.1</PerSMSCredit>
<SendMobileNoPercent>1</SendMobileNoPercent>
<State>1</State>
<UpdateBy>sample string 10</UpdateBy>
<UpdatedDate>2026-03-14T19:45:56.4178691+05:00</UpdatedDate>
</userInfo>
</UserProfile>