POST api/userprofile

Request Information

URI Parameters

None.

Body Parameters

UserProfileRequest
NameDescriptionTypeAdditional information
Username

string

None.

Name

string

None.

Gender

integer

None.

BirthDate

date

None.

Avatar

string

None.

Creator

string

None.

Updater

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Name": "sample string 2",
  "Gender": 1,
  "BirthDate": "2026-05-14T03:45:05.2999147+08:00",
  "Avatar": "sample string 3",
  "Creator": "sample string 4",
  "Updater": "sample string 5"
}

application/xml, text/xml

Sample:
<UserProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EquipMaintainAPI.Models">
  <Avatar>sample string 3</Avatar>
  <BirthDate>2026-05-14T03:45:05.2999147+08:00</BirthDate>
  <Creator>sample string 4</Creator>
  <Gender>1</Gender>
  <Name>sample string 2</Name>
  <Updater>sample string 5</Updater>
  <Username>sample string 1</Username>
</UserProfileRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.