PUT api/Auth/UpdateProfileAll/{userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

UserUpdateDto
NameDescriptionTypeAdditional information
UserId

integer

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

PhoneNumber

string

None.

DateOfBirth

date

None.

StoreId

globally unique identifier

None.

Points

integer

None.

IsActive

boolean

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "PhoneNumber": "sample string 5",
  "DateOfBirth": "2025-12-10T19:33:12.1711497+10:00",
  "StoreId": "b10eca3f-e0f0-4520-af92-39bc94a8eb55",
  "Points": 7,
  "IsActive": true,
  "UpdatedOn": "2025-12-10T19:33:12.1711497+10:00"
}

application/xml, text/xml

Sample:
<UserUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi2.Controllers">
  <DateOfBirth>2025-12-10T19:33:12.1711497+10:00</DateOfBirth>
  <Email>sample string 4</Email>
  <FirstName>sample string 2</FirstName>
  <IsActive>true</IsActive>
  <LastName>sample string 3</LastName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <Points>7</Points>
  <StoreId>b10eca3f-e0f0-4520-af92-39bc94a8eb55</StoreId>
  <UpdatedOn>2025-12-10T19:33:12.1711497+10:00</UpdatedOn>
  <UserId>1</UserId>
</UserUpdateDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.