POST api/Account/PreRegister

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
DeviceId

string

None.

IdentityId

string

None.

MobilePin

string

None.

MobilePhone

string

None.

Email

string

None.

MobileOTP

string

None.

CaNo

string

None.

Consent

string

None.

FriendCaNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "IdentityId": "sample string 2",
  "MobilePin": "sample string 3",
  "MobilePhone": "sample string 4",
  "Email": "sample string 5",
  "MobileOTP": "sample string 6",
  "CaNo": "sample string 7",
  "Consent": "sample string 8",
  "FriendCaNo": "sample string 9"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.AccountModels">
  <CaNo>sample string 7</CaNo>
  <Consent>sample string 8</Consent>
  <DeviceId>sample string 1</DeviceId>
  <Email>sample string 5</Email>
  <FriendCaNo>sample string 9</FriendCaNo>
  <IdentityId>sample string 2</IdentityId>
  <MobileOTP>sample string 6</MobileOTP>
  <MobilePhone>sample string 4</MobilePhone>
  <MobilePin>sample string 3</MobilePin>
</RegisterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
Data

string

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": true,
  "ErrorMessage": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Message>sample string 4</Message>
  <Status>true</Status>
</ResultModelOfstring>