POST api/Accounts/ChangePhoneNumberStep2

Request Information

URI Parameters

None.

Body Parameters

ChangePhoneNumberStep2Entry
NameDescriptionTypeAdditional information
userID

integer

None.

newPhone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "newPhone": "sample string 2"
}

application/xml, text/xml

Sample:
<ChangePhoneNumberStep2Entry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VOOO_MVCAPI.Models.APIBodies">
  <newPhone>sample string 2</newPhone>
  <userID>1</userID>
</ChangePhoneNumberStep2Entry>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.