POST api/Account/UpdateUserProfile

Request Information

URI Parameters

None.

Body Parameters

UserProfileInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

DisplayName

string

None.

OldPassword

string

None.

NewPassword

string

None.

NewPasswordConfirm

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Country

string

None.

ZIP

string

None.

PhoneNumber

string

None.

ProfilePicture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "EmailAddress": "sample string 4",
  "DisplayName": "sample string 5",
  "OldPassword": "sample string 6",
  "NewPassword": "sample string 7",
  "NewPasswordConfirm": "sample string 8",
  "Address1": "sample string 9",
  "Address2": "sample string 10",
  "City": "sample string 11",
  "State": "sample string 12",
  "Country": "sample string 13",
  "ZIP": "sample string 14",
  "PhoneNumber": "sample string 15",
  "ProfilePicture": "sample string 16"
}

text/html

Sample:
{"SessionID":"sample string 1","FirstName":"sample string 2","LastName":"sample string 3","EmailAddress":"sample string 4","DisplayName":"sample string 5","OldPassword":"sample string 6","NewPassword":"sample string 7","NewPasswordConfirm":"sample string 8","Address1":"sample string 9","Address2":"sample string 10","City":"sample string 11","State":"sample string 12","Country":"sample string 13","ZIP":"sample string 14","PhoneNumber":"sample string 15","ProfilePicture":"sample string 16"}

application/xml, text/xml

Sample:
<UserProfileInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Address1>sample string 9</Address1>
  <Address2>sample string 10</Address2>
  <City>sample string 11</City>
  <Country>sample string 13</Country>
  <DisplayName>sample string 5</DisplayName>
  <EmailAddress>sample string 4</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <NewPassword>sample string 7</NewPassword>
  <NewPasswordConfirm>sample string 8</NewPasswordConfirm>
  <OldPassword>sample string 6</OldPassword>
  <PhoneNumber>sample string 15</PhoneNumber>
  <ProfilePicture>sample string 16</ProfilePicture>
  <SessionID>sample string 1</SessionID>
  <State>sample string 12</State>
  <ZIP>sample string 14</ZIP>
</UserProfileInputModel>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>