POST api/User/UpdateEmailAddress

Request Information

URI Parameters

None.

Body Parameters

ChangeEmailModel
NameDescriptionTypeAdditional information
UserID

integer

Required

OldEmail

string

None.

NewEmail

string

None.

ConfirmEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "oldEmail": "sample string 1",
  "newEmail": "sample string 2",
  "confirmEmail": "sample string 3"
}

application/xml, text/xml

Sample:
<ChangeEmailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <ConfirmEmail>sample string 3</ConfirmEmail>
  <NewEmail>sample string 2</NewEmail>
  <OldEmail>sample string 1</OldEmail>
  <UserID>1</UserID>
</ChangeEmailModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.