GET api/Admin/ReadAllEmployeesForAdmin?NumberOfRecords={NumberOfRecords}&OffSet={OffSet}&AccountStatus={AccountStatus}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
NumberOfRecords

integer

Required

OffSet

integer

Required

AccountStatus

AccountStatus

Required

Body Parameters

None.

Response Information

Resource Description

Collection of R_Admin_Employee
NameDescriptionTypeAdditional information
RegistrationDate

date

None.

EmployeeTitle

string

None.

Email

string

None.

ModifiedBy

string

None.

ModifiedReasons

string

None.

LoginUserName

string

None.

LoginAcccountStatus

string

None.

Roles

string

None.

EmployeeID

integer

Required

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

EmployeeStatus

AccountStatus

Required

StatusChangeReason

string

Required

EmployeeTitleID

integer

Required

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

EmployeeType

EmployeeType

Required

StartDate

date

Required

Data type: Date

FirstName

string

Required

Matching regular expression pattern: ^[^\%\/\\\&\@\#\$\*\?\,\'\;\:\!\-]+$

String length: inclusive between 2 and 45

LastName

string

Required

Matching regular expression pattern: ^[^\%\/\\\&\@\#\$\*\?\,\'\;\:\!\-]+$

String length: inclusive between 2 and 60

OtherNames

string

Matching regular expression pattern: ^[^\%\/\\\&\@\#\$\*\?\,\'\;\:\!\-]+$

String length: inclusive between 0 and 60

Gender

Gender

Required

PhoneNumber

string

Required

BirthDate

date

Required

Data type: Date

Address

W_Address

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "registrationDate": "2019-12-10T08:33:37.3233579-07:00",
    "employeeTitle": "sample string 2",
    "email": "sample string 3",
    "modifiedBy": "sample string 4",
    "modifiedReasons": "sample string 5",
    "loginUserName": "sample string 6",
    "loginAcccountStatus": "sample string 7",
    "roles": "sample string 8",
    "employeeID": 9,
    "employeeStatus": "SUBMITTED",
    "statusChangeReason": "sample string 10",
    "employeeTitleID": 11,
    "employeeType": "EMPLOYEE",
    "startDate": "2019-12-10T08:33:37.3233579-07:00",
    "firstName": "sample string 13",
    "lastName": "sample string 14",
    "otherNames": "sample string 15",
    "gender": "MALE",
    "phoneNumber": "sample string 16",
    "birthDate": "2019-12-10T08:33:37.3233579-07:00",
    "address": {
      "addressStreetAddress1": "sample string 1",
      "addressStreetAddress2": "sample string 2",
      "addressCity": "sample string 3",
      "addressState": "sample string 4",
      "addressZipCode": "sample string 5",
      "addressCountry": "sample string 6"
    }
  },
  {
    "registrationDate": "2019-12-10T08:33:37.3233579-07:00",
    "employeeTitle": "sample string 2",
    "email": "sample string 3",
    "modifiedBy": "sample string 4",
    "modifiedReasons": "sample string 5",
    "loginUserName": "sample string 6",
    "loginAcccountStatus": "sample string 7",
    "roles": "sample string 8",
    "employeeID": 9,
    "employeeStatus": "SUBMITTED",
    "statusChangeReason": "sample string 10",
    "employeeTitleID": 11,
    "employeeType": "EMPLOYEE",
    "startDate": "2019-12-10T08:33:37.3233579-07:00",
    "firstName": "sample string 13",
    "lastName": "sample string 14",
    "otherNames": "sample string 15",
    "gender": "MALE",
    "phoneNumber": "sample string 16",
    "birthDate": "2019-12-10T08:33:37.3233579-07:00",
    "address": {
      "addressStreetAddress1": "sample string 1",
      "addressStreetAddress2": "sample string 2",
      "addressCity": "sample string 3",
      "addressState": "sample string 4",
      "addressZipCode": "sample string 5",
      "addressCountry": "sample string 6"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_Admin_Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_Admin_Employee>
    <Address>
      <AddressCity>sample string 3</AddressCity>
      <AddressCountry>sample string 6</AddressCountry>
      <AddressState>sample string 4</AddressState>
      <AddressStreetAddress1>sample string 1</AddressStreetAddress1>
      <AddressStreetAddress2>sample string 2</AddressStreetAddress2>
      <AddressZipCode>sample string 5</AddressZipCode>
    </Address>
    <BirthDate>2019-12-10T08:33:37.3233579-07:00</BirthDate>
    <FirstName>sample string 13</FirstName>
    <Gender>MALE</Gender>
    <LastName>sample string 14</LastName>
    <OtherNames>sample string 15</OtherNames>
    <PhoneNumber>sample string 16</PhoneNumber>
    <EmployeeTitleID>11</EmployeeTitleID>
    <EmployeeType>EMPLOYEE</EmployeeType>
    <StartDate>2019-12-10T08:33:37.3233579-07:00</StartDate>
    <EmployeeID>9</EmployeeID>
    <EmployeeStatus>SUBMITTED</EmployeeStatus>
    <StatusChangeReason>sample string 10</StatusChangeReason>
    <Email>sample string 3</Email>
    <EmployeeTitle>sample string 2</EmployeeTitle>
    <LoginAcccountStatus>sample string 7</LoginAcccountStatus>
    <LoginUserName>sample string 6</LoginUserName>
    <ModifiedBy>sample string 4</ModifiedBy>
    <ModifiedReasons>sample string 5</ModifiedReasons>
    <RegistrationDate>2019-12-10T08:33:37.3233579-07:00</RegistrationDate>
    <Roles>sample string 8</Roles>
  </R_Admin_Employee>
  <R_Admin_Employee>
    <Address>
      <AddressCity>sample string 3</AddressCity>
      <AddressCountry>sample string 6</AddressCountry>
      <AddressState>sample string 4</AddressState>
      <AddressStreetAddress1>sample string 1</AddressStreetAddress1>
      <AddressStreetAddress2>sample string 2</AddressStreetAddress2>
      <AddressZipCode>sample string 5</AddressZipCode>
    </Address>
    <BirthDate>2019-12-10T08:33:37.3233579-07:00</BirthDate>
    <FirstName>sample string 13</FirstName>
    <Gender>MALE</Gender>
    <LastName>sample string 14</LastName>
    <OtherNames>sample string 15</OtherNames>
    <PhoneNumber>sample string 16</PhoneNumber>
    <EmployeeTitleID>11</EmployeeTitleID>
    <EmployeeType>EMPLOYEE</EmployeeType>
    <StartDate>2019-12-10T08:33:37.3233579-07:00</StartDate>
    <EmployeeID>9</EmployeeID>
    <EmployeeStatus>SUBMITTED</EmployeeStatus>
    <StatusChangeReason>sample string 10</StatusChangeReason>
    <Email>sample string 3</Email>
    <EmployeeTitle>sample string 2</EmployeeTitle>
    <LoginAcccountStatus>sample string 7</LoginAcccountStatus>
    <LoginUserName>sample string 6</LoginUserName>
    <ModifiedBy>sample string 4</ModifiedBy>
    <ModifiedReasons>sample string 5</ModifiedReasons>
    <RegistrationDate>2019-12-10T08:33:37.3233579-07:00</RegistrationDate>
    <Roles>sample string 8</Roles>
  </R_Admin_Employee>
</ArrayOfR_Admin_Employee>

multipart/form-data

Sample:
<ArrayOfR_Admin_Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_Admin_Employee><Address><AddressCity>sample string 3</AddressCity><AddressCountry>sample string 6</AddressCountry><AddressState>sample string 4</AddressState><AddressStreetAddress1>sample string 1</AddressStreetAddress1><AddressStreetAddress2>sample string 2</AddressStreetAddress2><AddressZipCode>sample string 5</AddressZipCode></Address><BirthDate>2019-12-10T08:33:37.3233579-07:00</BirthDate><FirstName>sample string 13</FirstName><Gender>MALE</Gender><LastName>sample string 14</LastName><OtherNames>sample string 15</OtherNames><PhoneNumber>sample string 16</PhoneNumber><EmployeeTitleID>11</EmployeeTitleID><EmployeeType>EMPLOYEE</EmployeeType><StartDate>2019-12-10T08:33:37.3233579-07:00</StartDate><EmployeeID>9</EmployeeID><EmployeeStatus>SUBMITTED</EmployeeStatus><StatusChangeReason>sample string 10</StatusChangeReason><Email>sample string 3</Email><EmployeeTitle>sample string 2</EmployeeTitle><LoginAcccountStatus>sample string 7</LoginAcccountStatus><LoginUserName>sample string 6</LoginUserName><ModifiedBy>sample string 4</ModifiedBy><ModifiedReasons>sample string 5</ModifiedReasons><RegistrationDate>2019-12-10T08:33:37.3233579-07:00</RegistrationDate><Roles>sample string 8</Roles></R_Admin_Employee><R_Admin_Employee><Address><AddressCity>sample string 3</AddressCity><AddressCountry>sample string 6</AddressCountry><AddressState>sample string 4</AddressState><AddressStreetAddress1>sample string 1</AddressStreetAddress1><AddressStreetAddress2>sample string 2</AddressStreetAddress2><AddressZipCode>sample string 5</AddressZipCode></Address><BirthDate>2019-12-10T08:33:37.3233579-07:00</BirthDate><FirstName>sample string 13</FirstName><Gender>MALE</Gender><LastName>sample string 14</LastName><OtherNames>sample string 15</OtherNames><PhoneNumber>sample string 16</PhoneNumber><EmployeeTitleID>11</EmployeeTitleID><EmployeeType>EMPLOYEE</EmployeeType><StartDate>2019-12-10T08:33:37.3233579-07:00</StartDate><EmployeeID>9</EmployeeID><EmployeeStatus>SUBMITTED</EmployeeStatus><StatusChangeReason>sample string 10</StatusChangeReason><Email>sample string 3</Email><EmployeeTitle>sample string 2</EmployeeTitle><LoginAcccountStatus>sample string 7</LoginAcccountStatus><LoginUserName>sample string 6</LoginUserName><ModifiedBy>sample string 4</ModifiedBy><ModifiedReasons>sample string 5</ModifiedReasons><RegistrationDate>2019-12-10T08:33:37.3233579-07:00</RegistrationDate><Roles>sample string 8</Roles></R_Admin_Employee></ArrayOfR_Admin_Employee>