POST api/Account/ValidateOTP
Request Information
URI Parameters
None.
Body Parameters
RegisterCustomerRequestName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? |
|
FirstName | string |
Matching regular expression pattern: [0-9A-Za-zÀ-ÖØ-öø-ÿ -'_]* |
|
LastName | string |
Matching regular expression pattern: [0-9A-Za-zÀ-ÖØ-öø-ÿ -'_]* |
|
EmailAddress | string |
Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? |
|
NewEmailAddress | string |
Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? |
|
CertificateNumber | integer |
Matching regular expression pattern: \d+ |
|
PostalCode | string |
Matching regular expression pattern: ([0-9]{5,5}) |
|
Country | string |
None. |
|
Password | string |
Data type: Password Matching regular expression pattern: ^((?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*["!#$%'()*+,-.\/\:;<=>?@\[\]^`_{|}~]).{8,50})$ |
|
Language | string |
None. |
|
RecoveryQuestion | string |
None. |
|
RecoveryAnswer | string |
None. |
|
OTP | integer |
Matching regular expression pattern: ([0-9]{6,6}) |
|
ClientId | integer |
Matching regular expression pattern: \d+ |
|
ImageUrl | string |
None. |
|
SiteUrl | string |
None. |
|
SiteCode | string |
None. |
Request Formats
application/json, text/json
{ "UserName": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "EmailAddress": "sample string 4", "NewEmailAddress": "sample string 5", "CertificateNumber": 6, "PostalCode": "sample string 7", "Country": "sample string 8", "Password": "sample string 9", "Language": "sample string 10", "RecoveryQuestion": "sample string 11", "RecoveryAnswer": "sample string 12", "OTP": 13, "ClientId": 14, "ImageUrl": "sample string 15", "SiteUrl": "sample string 16", "SiteCode": "sample string 17" }
application/x-www-form-urlencoded
Response Information
Resource Description
RegisterCustomerResponseName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Status | string |
None. |
|
Activated | date |
None. |
|
ErrorCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
VerifyStatus | string |
None. |
Response Formats
application/json, text/json
{ "Id": "sample string 1", "Status": "sample string 2", "Activated": "2024-11-26T00:44:00.4950411-05:00", "ErrorCode": 3, "ErrorMessage": "sample string 4", "VerifyStatus": "sample string 5" }