PUT api/Employees/UpdateProfile?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EmployeeProfileBindingModel
NameDescriptionTypeAdditional information
FullName

string

Required

Phone

string

None.

AvatarUrl

string

None.

DateOfBirth

date

None.

Address

string

None.

Gender

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "fullName": "sample string 1",
  "phone": "sample string 2",
  "avatarUrl": "sample string 3",
  "dateOfBirth": "2025-12-06T12:25:52.4635845+07:00",
  "address": "sample string 4",
  "gender": 64
}

application/xml, text/xml

Sample:
<EmployeeProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Employee">
  <Address>sample string 4</Address>
  <AvatarUrl>sample string 3</AvatarUrl>
  <DateOfBirth>2025-12-06T12:25:52.4635845+07:00</DateOfBirth>
  <FullName>sample string 1</FullName>
  <Gender>64</Gender>
  <Phone>sample string 2</Phone>
</EmployeeProfileBindingModel>

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.