POST Authentication/PhoneChangeOtp

Request Information

URI Parameters

None.

Body Parameters

PhoneChangeOtpRequest
NameDescriptionTypeAdditional information
UserID

integer

None.

CountryCode

string

None.

Phone

string

None.

Otp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "CountryCode": "sample string 2",
  "Phone": "sample string 3",
  "Otp": "sample string 4"
}

application/xml, text/xml

Sample:
<AuthenticationViewModel.PhoneChangeOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <CountryCode>sample string 2</CountryCode>
  <Otp>sample string 4</Otp>
  <Phone>sample string 3</Phone>
  <UserID>1</UserID>
</AuthenticationViewModel.PhoneChangeOtpRequest>

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

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <Message>sample string 2</Message>
  <Success>true</Success>
</GeneralResponse>