POST Authentication/PhoneChange

Request Information

URI Parameters

None.

Body Parameters

PhoneChangeRequest
NameDescriptionTypeAdditional information
UserID

integer

None.

CountryCode

string

None.

Phone

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

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>