POST api/Account/UserUpdate

Request Information

URI Parameters

None.

Body Parameters

UserUpdateModel
NameDescriptionTypeAdditional information
Email

string

Required

FirstName

string

Required

String length: inclusive between 0 and 50

LastName

string

Required

String length: inclusive between 0 and 50

Middle

string

String length: inclusive between 0 and 20

PhoneNumber

string

Required

LastUpdated

date

None.

UpdatedBy

string

String length: inclusive between 0 and 256

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Middle": "sample string 4",
  "PhoneNumber": "sample string 5",
  "LastUpdated": "2025-04-29T07:40:04.5354133-07:00",
  "UpdatedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<UserUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapceMobile.Models">
  <Email>sample string 1</Email>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <LastUpdated>2025-04-29T07:40:04.5354133-07:00</LastUpdated>
  <Middle>sample string 4</Middle>
  <PhoneNumber>sample string 5</PhoneNumber>
  <UpdatedBy>sample string 6</UpdatedBy>
</UserUpdateModel>

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

Response Information

Resource Description

UpdateUserResponse
NameDescriptionTypeAdditional information
UpdateResponse

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UpdateResponse": "sample string 1"
}

application/xml, text/xml

Sample:
<UpdateUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapceMobile.Models">
  <UpdateResponse>sample string 1</UpdateResponse>
</UpdateUserResponse>