POST api/v1/toolv1/SendVerificationCode
Request Information
URI Parameters
None.
Body Parameters
SendVerificationCodeParam| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountType | LoginAccountType |
None. |
|
| Account | string |
Required |
|
| ExpireSeconds | integer |
None. |
|
| Code | string |
None. |
|
| VerificationType | EnumSmsVerificationType |
None. |
|
| LanguageCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountType": 0,
"Account": "sample string 1",
"ExpireSeconds": 2,
"Code": "sample string 3",
"VerificationType": 1,
"LanguageCode": "sample string 4"
}
application/xml, text/xml
Sample:
<SendVerificationCodeParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params"> <Account>sample string 1</Account> <AccountType>Phone</AccountType> <Code>sample string 3</Code> <ExpireSeconds>2</ExpireSeconds> <LanguageCode>sample string 4</LanguageCode> <VerificationType>Registered</VerificationType> </SendVerificationCodeParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json
Sample:
Sample not available.
application/xml
Sample:
<boolean>true</boolean>
text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>