POST api/Account/CheckActivationCode

بررسی معتبر بودن کد فعال سازی

Request Information

URI Parameters

None.

Body Parameters

مدل بررسی کد فعال سازی

CheckActivationCode
NameDescriptionTypeAdditional information
Mobile

string

Required

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

ActivatingCode

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Mobile": "sample string 1",
  "ActivatingCode": "sample string 2"
}

application/xml, text/xml

Sample:
<CheckActivationCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arad.Aladiyat.Services.Models.ApiModels">
  <ActivatingCode>sample string 2</ActivatingCode>
  <Mobile>sample string 1</Mobile>
</CheckActivationCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

نتیجه بررسی معتبر بودن کد فعال سازی به صورت مدل OperationResult

OperationResultOfCheckActivationCode
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Success

boolean

None.

Data

CheckActivationCode

None.

Response Formats

application/json, text/json

Sample:

Sample not available.