POST api/Account/RegisterWithInvitationCode

Request Information

URI Parameters

None.

Body Parameters

Register
NameDescriptionTypeAdditional information
Mobile

string

Required

Matching regular expression pattern: (\+989|00989|989|09|\+۹۸۹|۰۰۹۸۹|۹۸۹|۰۹)[0-9,۰,١,۲,۳,۴,۵,۶,۷,۸,۹]{9,9}$

Password

string

Required

String length: inclusive between 4 and 20

ConfirmPassword

string

Required

String length: inclusive between 4 and 20

ActivatingCode

integer

Required

Username

string

None.

InvitationCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mobile": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "ActivatingCode": 4,
  "Username": "sample string 5",
  "InvitationCode": "sample string 6"
}

application/xml, text/xml

Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arad.Aladiyat.Services.Models.ApiModels">
  <ActivatingCode>4</ActivatingCode>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <InvitationCode>sample string 6</InvitationCode>
  <Mobile>sample string 1</Mobile>
  <Password>sample string 2</Password>
  <Username>sample string 5</Username>
</Register>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OperationResultOfRegister
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Success

boolean

None.

Data

Register

None.

Response Formats

application/json, text/json

Sample:

Sample not available.