POST Account/UpdatePhoneSendCode

Request Information

URI Parameters

None.

Body Parameters

AccountUpdatePhone
NameDescriptionTypeAdditional information
user_id

string

None.

dial_code

string

None.

phone_country

string

None.

phone

string

None.

otp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": "sample string 1",
  "dial_code": "sample string 2",
  "phone_country": "sample string 3",
  "phone": "sample string 4",
  "otp": "sample string 5"
}

application/xml, text/xml

Sample:
<AccountUpdatePhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <dial_code>sample string 2</dial_code>
  <otp>sample string 5</otp>
  <phone>sample string 4</phone>
  <phone_country>sample string 3</phone_country>
  <user_id>sample string 1</user_id>
</AccountUpdatePhone>

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 'AccountUpdatePhone'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ResponseCode": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <ResponseCode>sample string 2</ResponseCode>
  <Success>true</Success>
</Response>