GET api/Admin/ReadEmployeeProfileForAdmin?EmployeeID={EmployeeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

R_Employee
NameDescriptionTypeAdditional information
RegistrationDate

date

None.

Deleted

boolean

None.

ModifiedBy

string

None.

ModifiedReasons

string

None.

LoginUserName

string

None.

LoginAcccountStatus

string

None.

EmployeeID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

StatusChangeReason

string

Required

FirstName

string

Required

String length: inclusive between 2 and 45

LastName

string

Required

String length: inclusive between 2 and 60

OtherNames

string

None.

Email

string

Required

Gender

Gender

Required

AddressID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

Status

AccountStatus

Required

PhoneNumber

string

Required

BirthDay

date

Required

Data type: DateTime

StartDate

date

Required

Data type: DateTime

Response Formats

application/json, text/json

Sample:
{
  "registrationDate": "2019-05-21T14:31:51.9249378-07:00",
  "deleted": true,
  "modifiedBy": "sample string 3",
  "modifiedReasons": "sample string 4",
  "loginUserName": "sample string 5",
  "loginAcccountStatus": "sample string 6",
  "employeeID": 7,
  "statusChangeReason": "sample string 8",
  "firstName": "sample string 9",
  "lastName": "sample string 10",
  "otherNames": "sample string 11",
  "email": "sample string 12",
  "gender": "MALE",
  "addressID": 13,
  "status": "SUBMITTED",
  "phoneNumber": "sample string 14",
  "birthDay": "2019-05-21T14:31:51.9249378-07:00",
  "startDate": "2019-05-21T14:31:51.9249378-07:00"
}

application/xml, text/xml

Sample:
<R_Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <AddressID>13</AddressID>
  <BirthDay>2019-05-21T14:31:51.9249378-07:00</BirthDay>
  <Email>sample string 12</Email>
  <FirstName>sample string 9</FirstName>
  <Gender>MALE</Gender>
  <LastName>sample string 10</LastName>
  <OtherNames>sample string 11</OtherNames>
  <PhoneNumber>sample string 14</PhoneNumber>
  <StartDate>2019-05-21T14:31:51.9249378-07:00</StartDate>
  <Status>SUBMITTED</Status>
  <EmployeeID>7</EmployeeID>
  <StatusChangeReason>sample string 8</StatusChangeReason>
  <Deleted>true</Deleted>
  <LoginAcccountStatus>sample string 6</LoginAcccountStatus>
  <LoginUserName>sample string 5</LoginUserName>
  <ModifiedBy>sample string 3</ModifiedBy>
  <ModifiedReasons>sample string 4</ModifiedReasons>
  <RegistrationDate>2019-05-21T14:31:51.9249378-07:00</RegistrationDate>
</R_Employee>

multipart/form-data

Sample:
<R_Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><AddressID>13</AddressID><BirthDay>2019-05-21T14:31:51.9249378-07:00</BirthDay><Email>sample string 12</Email><FirstName>sample string 9</FirstName><Gender>MALE</Gender><LastName>sample string 10</LastName><OtherNames>sample string 11</OtherNames><PhoneNumber>sample string 14</PhoneNumber><StartDate>2019-05-21T14:31:51.9249378-07:00</StartDate><Status>SUBMITTED</Status><EmployeeID>7</EmployeeID><StatusChangeReason>sample string 8</StatusChangeReason><Deleted>true</Deleted><LoginAcccountStatus>sample string 6</LoginAcccountStatus><LoginUserName>sample string 5</LoginUserName><ModifiedBy>sample string 3</ModifiedBy><ModifiedReasons>sample string 4</ModifiedReasons><RegistrationDate>2019-05-21T14:31:51.9249378-07:00</RegistrationDate></R_Employee>