POST api/Account/RegisterV2

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

None.

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

FirstName

string

None.

LastName

string

None.

MobileNumber

string

None.

MobileExtension

string

None.

MobileCountryID

integer

None.

DeviceName

string

None.

Dob

date

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

CountryID

integer

None.

TermsConditionID

globally unique identifier

None.

OTP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "MobileNumber": "sample string 6",
  "MobileExtension": "sample string 7",
  "MobileCountryID": 8,
  "DeviceName": "sample string 9",
  "Dob": "2024-10-02T22:42:37.8037544+00:00",
  "AddressLine1": "sample string 10",
  "AddressLine2": "sample string 11",
  "AddressLine3": "sample string 12",
  "CountryID": 13,
  "TermsConditionID": "8a1af748-2436-46ba-bf5e-222c6d6e2ab8",
  "OTP": "sample string 14"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <AddressLine1>sample string 10</AddressLine1>
  <AddressLine2>sample string 11</AddressLine2>
  <AddressLine3>sample string 12</AddressLine3>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <CountryID>13</CountryID>
  <DeviceName>sample string 9</DeviceName>
  <Dob>2024-10-02T22:42:37.8037544+00:00</Dob>
  <Email>sample string 1</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <MobileCountryID>8</MobileCountryID>
  <MobileExtension>sample string 7</MobileExtension>
  <MobileNumber>sample string 6</MobileNumber>
  <OTP>sample string 14</OTP>
  <Password>sample string 2</Password>
  <TermsConditionID>8a1af748-2436-46ba-bf5e-222c6d6e2ab8</TermsConditionID>
</RegisterBindingModel>

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 'RegisterBindingModel'.

Response Information

Resource Description

OperationResultViewModel
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorNumber

integer

None.

Status

string

None.

ErrorMsgUser

string

None.

AlreadyExists

boolean

None.

data

Object

None.

UserProgress

UserProgressResponse

None.

TOKEN

string

None.

TokenType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorNumber": 2,
  "Status": "sample string 3",
  "ErrorMsgUser": "sample string 4",
  "AlreadyExists": true,
  "data": {},
  "UserProgress": {
    "UserProgress": {
      "ID": 1,
      "Stage": "sample string 2",
      "Screen": "sample string 3",
      "Action": "sample string 4",
      "Color": "sample string 5",
      "StartPercentage": "sample string 6",
      "EndPercentage": "sample string 7",
      "TotalPercentage": "sample string 8",
      "SectionId": 1,
      "SectionTotalPercentage": 1,
      "UserId": "c798ec3a-9cae-4f40-8a6c-37fb806ed5cb"
    },
    "Sections": [
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      },
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      }
    ]
  },
  "TOKEN": "sample string 7",
  "TokenType": "sample string 8"
}

application/xml, text/xml

Sample:
<OperationResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <AlreadyExists>true</AlreadyExists>
  <ErrorMsgUser>sample string 4</ErrorMsgUser>
  <ErrorNumber>2</ErrorNumber>
  <Status>sample string 3</Status>
  <Success>true</Success>
  <TOKEN>sample string 7</TOKEN>
  <TokenType>sample string 8</TokenType>
  <UserProgress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
    <d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
    </d2p1:Sections>
    <d2p1:UserProgress>
      <d2p1:Action>sample string 4</d2p1:Action>
      <d2p1:Color>sample string 5</d2p1:Color>
      <d2p1:EndPercentage>sample string 7</d2p1:EndPercentage>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Screen>sample string 3</d2p1:Screen>
      <d2p1:SectionId>1</d2p1:SectionId>
      <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      <d2p1:Stage>sample string 2</d2p1:Stage>
      <d2p1:StartPercentage>sample string 6</d2p1:StartPercentage>
      <d2p1:TotalPercentage>sample string 8</d2p1:TotalPercentage>
      <d2p1:UserId>c798ec3a-9cae-4f40-8a6c-37fb806ed5cb</d2p1:UserId>
    </d2p1:UserProgress>
  </UserProgress>
  <data />
</OperationResultViewModel>