GET api/Employee/{id}

Gets employee.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Global Id.

string

Required

Body Parameters

None.

Response Information

Resource Description

Employee
NameDescriptionTypeAdditional information
UpdateType

string

None.

EmployeeId

integer

None.

FirstName

string

None.

LastName

string

None.

EmployeeCode

string

None.

PreferredName

string

None.

GlobalId

string

None.

IsDeleted

boolean

None.

HiredDate

date

None.

Title

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

UpdatedDate

date

None.

Phone

string

None.

Email

string

None.

Description

string

None.

ProfilePhoto

string

None.

ProfilePhotoUrl

string

None.

NameInitial

string

None.

EmployeeName

string

None.

DepartmentId

integer

None.

Department

string

None.

OrganizationId

integer

None.

AutoCompleteText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UpdateType": "sample string 1",
  "EmployeeId": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "EmployeeCode": "sample string 5",
  "PreferredName": "sample string 6",
  "GlobalId": "sample string 7",
  "IsDeleted": true,
  "HiredDate": "2025-01-16T01:34:46.3663089+00:00",
  "Title": "sample string 8",
  "CreatedBy": "sample string 9",
  "CreatedDate": "2025-01-16T01:34:46.3663089+00:00",
  "UpdatedBy": "sample string 10",
  "UpdatedByName": "sample string 11",
  "UpdatedDate": "2025-01-16T01:34:46.3663089+00:00",
  "Phone": "sample string 12",
  "Email": "sample string 13",
  "Description": "sample string 14",
  "ProfilePhoto": "sample string 15",
  "ProfilePhotoUrl": "sample string 16",
  "NameInitial": "sample string 17",
  "EmployeeName": "sample string 18",
  "DepartmentId": 1,
  "Department": "sample string 19",
  "OrganizationId": 1,
  "AutoCompleteText": "sample string 20"
}

application/xml, text/xml

Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <AutoCompleteText>sample string 20</AutoCompleteText>
  <CreatedBy>sample string 9</CreatedBy>
  <CreatedDate>2025-01-16T01:34:46.3663089+00:00</CreatedDate>
  <Department>sample string 19</Department>
  <DepartmentId>1</DepartmentId>
  <Description>sample string 14</Description>
  <Email>sample string 13</Email>
  <EmployeeCode>sample string 5</EmployeeCode>
  <EmployeeId>2</EmployeeId>
  <EmployeeName>sample string 18</EmployeeName>
  <FirstName>sample string 3</FirstName>
  <GlobalId>sample string 7</GlobalId>
  <HiredDate>2025-01-16T01:34:46.3663089+00:00</HiredDate>
  <IsDeleted>true</IsDeleted>
  <LastName>sample string 4</LastName>
  <NameInitial>sample string 17</NameInitial>
  <OrganizationId>1</OrganizationId>
  <Phone>sample string 12</Phone>
  <PreferredName>sample string 6</PreferredName>
  <ProfilePhoto>sample string 15</ProfilePhoto>
  <ProfilePhotoUrl>sample string 16</ProfilePhotoUrl>
  <Title>sample string 8</Title>
  <UpdateType>sample string 1</UpdateType>
  <UpdatedBy>sample string 10</UpdatedBy>
  <UpdatedByName>sample string 11</UpdatedByName>
  <UpdatedDate>2025-01-16T01:34:46.3663089+00:00</UpdatedDate>
</Employee>