POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

Required

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.

TermsConditionsID

globally unique identifier

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": "2021-09-10T08:09:07.9395546+00:00",
  "AddressLine1": "sample string 10",
  "AddressLine2": "sample string 11",
  "AddressLine3": "sample string 12",
  "CountryID": 13,
  "TermsConditionsID": "5b7d2d53-418d-4aac-b55e-957d21562afd"
}

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>2021-09-10T08:09:07.9395546+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>
  <Password>sample string 2</Password>
  <TermsConditionsID>5b7d2d53-418d-4aac-b55e-957d21562afd</TermsConditionsID>
</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.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorNumber": 2,
  "Status": "sample string 3",
  "ErrorMsgUser": "sample string 4",
  "AlreadyExists": true
}

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>
</OperationResultViewModel>