POST api/Login/ForgotUsername
This API validates the Entity ID ,DOB and Email return ValidateUserResponseModel, if passes the validation.
Request Information
URI Parameters
None.
Body Parameters
memberid,email
ForgotUsernameRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | string |
None. |
|
| DateOfBirth | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| UserName | string |
None. |
|
| FirstName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MemberId": "sample string 1",
"DateOfBirth": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"UserName": "sample string 5",
"FirstName": "sample string 6"
}
application/xml, text/xml
Sample:
<ForgotUsernameRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.API.Models"> <DateOfBirth>sample string 2</DateOfBirth> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <LastName>sample string 3</LastName> <MemberId>sample string 1</MemberId> <UserName>sample string 5</UserName> </ForgotUsernameRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidateUserResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValidUser | boolean |
None. |
|
| SendActivationEmail | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| EntityId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValidUser": true,
"SendActivationEmail": true,
"ErrorMessage": "sample string 2",
"EntityId": "sample string 3"
}
application/xml, text/xml
Sample:
<ValidateUserResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.API.Models"> <EntityId>sample string 3</EntityId> <ErrorMessage>sample string 2</ErrorMessage> <IsValidUser>true</IsValidUser> <SendActivationEmail>true</SendActivationEmail> </ValidateUserResponseModel>