POST api/Account/GenerateOTP

Request Information

URI Parameters

None.

Body Parameters

RegisterVerifyRequest
NameDescriptionTypeAdditional information
IpAddress

string

None.

CertificateNumber

integer

Matching regular expression pattern: \d+

Email

string

None.

NewEmail

string

None.

FirstName

string

Matching regular expression pattern: [0-9A-Za-zÀ-ÖØ-öø-ÿ -'_]*

LastName

string

Matching regular expression pattern: [0-9A-Za-zÀ-ÖØ-öø-ÿ -'_]*

PostalCode

string

Matching regular expression pattern: ([0-9]{5,5})

ImageUrl

string

None.

SiteCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IpAddress": "sample string 1",
  "CertificateNumber": 2,
  "Email": "sample string 3",
  "NewEmail": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "PostalCode": "sample string 7",
  "ImageUrl": "sample string 8",
  "SiteCode": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterVerifyRequest'.

Response Information

Resource Description

RegisterVerifyResponse
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

PostalCode

string

None.

Address

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Country

string

None.

Phone

string

None.

HomePhone

string

None.

VerifyStatus

string

None.

ClientId

integer

None.

Password

string

None.

Policies

Collection of integer

None.

CertificateNumber

integer

None.

VerifyEmailStatus

boolean

None.

ClientIdString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "EmailAddress": "sample string 3",
  "PostalCode": "sample string 4",
  "Address": "sample string 5",
  "Address1": "sample string 6",
  "Address2": "sample string 7",
  "City": "sample string 8",
  "State": "sample string 9",
  "Country": "sample string 10",
  "Phone": "sample string 11",
  "HomePhone": "sample string 12",
  "VerifyStatus": "sample string 13",
  "ClientId": 14,
  "Password": "sample string 15",
  "Policies": {
    "$type": "System.Collections.Generic.List`1[[System.Int32, mscorlib]], mscorlib",
    "$values": [
      1,
      2
    ]
  },
  "CertificateNumber": 16,
  "VerifyEmailStatus": true,
  "ClientIdString": "sample string 18"
}