PUT api/Employee/UpdateEmployee

Request Information

URI Parameters

None.

Body Parameters

Employee
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

Name

string

None.

Gender

string

None.

DateofBirth

date

None.

CNIC

string

None.

Education

string

None.

Email

string

None.

Password

string

None.

Department

string

None.

ProfilePhotoPath

string

None.

PhoneNo

string

None.

UserRoll

string

None.

DateOfJoining

date

None.

Address

string

None.

RecordStatus

string

None.

Salary

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "Name": "sample string 2",
  "Gender": "sample string 3",
  "DateofBirth": "2025-12-11T14:36:09.725292+00:00",
  "CNIC": "sample string 5",
  "Education": "sample string 6",
  "Email": "sample string 7",
  "Password": "sample string 8",
  "Department": "sample string 9",
  "ProfilePhotoPath": "sample string 10",
  "PhoneNo": "sample string 11",
  "UserRoll": "sample string 12",
  "DateOfJoining": "2025-12-11T14:36:09.725292+00:00",
  "Address": "sample string 14",
  "RecordStatus": "sample string 15",
  "Salary": 16
}

text/html

Sample:
{"EmployeeId":1,"Name":"sample string 2","Gender":"sample string 3","DateofBirth":"2025-12-11T14:36:09.725292+00:00","CNIC":"sample string 5","Education":"sample string 6","Email":"sample string 7","Password":"sample string 8","Department":"sample string 9","ProfilePhotoPath":"sample string 10","PhoneNo":"sample string 11","UserRoll":"sample string 12","DateOfJoining":"2025-12-11T14:36:09.725292+00:00","Address":"sample string 14","RecordStatus":"sample string 15","Salary":16}

application/xml, text/xml

Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/izyLogicTimeManagementWebApi.Models">
  <Address>sample string 14</Address>
  <CNIC>sample string 5</CNIC>
  <DateOfJoining>2025-12-11T14:36:09.725292+00:00</DateOfJoining>
  <DateofBirth>2025-12-11T14:36:09.725292+00:00</DateofBirth>
  <Department>sample string 9</Department>
  <Education>sample string 6</Education>
  <Email>sample string 7</Email>
  <EmployeeId>1</EmployeeId>
  <Gender>sample string 3</Gender>
  <Name>sample string 2</Name>
  <Password>sample string 8</Password>
  <PhoneNo>sample string 11</PhoneNo>
  <ProfilePhotoPath>sample string 10</ProfilePhotoPath>
  <RecordStatus>sample string 15</RecordStatus>
  <Salary>16</Salary>
  <UserRoll>sample string 12</UserRoll>
</Employee>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.