GET V2/odata/OverviewEmployee

Gets OverviewEmployee entities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QicsUnity.Api.Areas.V2.Models.OverviewEmployee
NameDescriptionTypeAdditional information
ResourceCompanyId

Gets or sets ResourceCompanyId. This is the key of OverviewEmployee entity.

integer

None.

ResourceId

Gets or sets ResourceId. This is NOT the key of OverviewEmployee entity.

integer

None.

ResourceNumber

Gets or sets ResourceNumber

integer

None.

FirstName

Gets or sets FirstName

string

None.

MiddleName

Gets or sets MiddleName

string

None.

LastName

Gets or sets LastName

string

None.

Name

Gets or sets Name

string

None.

IsActive

Gets or sets a value indicating whether IsActive is true

boolean

None.

CompanyId

Gets or sets ResourceCompany.CompanyId

integer

None.

CompanyName

Gets or sets ResourceCompany.Company.Name

string

None.

CompanyCode

Gets or sets Company.Code

string

None.

HoursPerWeek

Gets or sets Resource.HoursPerWeek

decimal number

None.

Abbreviation

Gets or sets Abbreviation

string

None.

EmployeeType

Gets or sets EmployeeType

QicsUnity.Api.Areas.V2.Models.EmployeeType

None.

SupplierCustomerCompanyId

Gets or sets SupplierCustomerCompanyId

integer

None.

SupplierCustomerName

Gets or sets CustomerCompany.Customer.Name

string

None.

DepartmentId

Gets or sets ResourceCompany.DepartmentId

integer

None.

DepartmentName

Gets or sets ResourceCompany.Department.Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ResourceCompanyId": 1,
    "ResourceId": 2,
    "ResourceNumber": 3,
    "FirstName": "sample 4",
    "MiddleName": "sample 5",
    "LastName": "sample 6",
    "Name": "sample 7",
    "IsActive": true,
    "CompanyId": 9,
    "CompanyName": "sample 10",
    "CompanyCode": "sample 11",
    "HoursPerWeek": 1.0,
    "Abbreviation": "sample 12",
    "EmployeeType": 0,
    "SupplierCustomerCompanyId": 1,
    "SupplierCustomerName": "sample 13",
    "DepartmentId": 1,
    "DepartmentName": "sample 14"
  },
  {
    "ResourceCompanyId": 1,
    "ResourceId": 2,
    "ResourceNumber": 3,
    "FirstName": "sample 4",
    "MiddleName": "sample 5",
    "LastName": "sample 6",
    "Name": "sample 7",
    "IsActive": true,
    "CompanyId": 9,
    "CompanyName": "sample 10",
    "CompanyCode": "sample 11",
    "HoursPerWeek": 1.0,
    "Abbreviation": "sample 12",
    "EmployeeType": 0,
    "SupplierCustomerCompanyId": 1,
    "SupplierCustomerName": "sample 13",
    "DepartmentId": 1,
    "DepartmentName": "sample 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOverviewEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <OverviewEmployee>
    <Abbreviation>sample 12</Abbreviation>
    <CompanyCode>sample 11</CompanyCode>
    <CompanyId>9</CompanyId>
    <CompanyName>sample 10</CompanyName>
    <DepartmentId>1</DepartmentId>
    <DepartmentName>sample 14</DepartmentName>
    <EmployeeType>External</EmployeeType>
    <FirstName>sample 4</FirstName>
    <HoursPerWeek>1</HoursPerWeek>
    <IsActive>true</IsActive>
    <LastName>sample 6</LastName>
    <MiddleName>sample 5</MiddleName>
    <Name>sample 7</Name>
    <ResourceCompanyId>1</ResourceCompanyId>
    <ResourceId>2</ResourceId>
    <ResourceNumber>3</ResourceNumber>
    <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId>
    <SupplierCustomerName>sample 13</SupplierCustomerName>
  </OverviewEmployee>
  <OverviewEmployee>
    <Abbreviation>sample 12</Abbreviation>
    <CompanyCode>sample 11</CompanyCode>
    <CompanyId>9</CompanyId>
    <CompanyName>sample 10</CompanyName>
    <DepartmentId>1</DepartmentId>
    <DepartmentName>sample 14</DepartmentName>
    <EmployeeType>External</EmployeeType>
    <FirstName>sample 4</FirstName>
    <HoursPerWeek>1</HoursPerWeek>
    <IsActive>true</IsActive>
    <LastName>sample 6</LastName>
    <MiddleName>sample 5</MiddleName>
    <Name>sample 7</Name>
    <ResourceCompanyId>1</ResourceCompanyId>
    <ResourceId>2</ResourceId>
    <ResourceNumber>3</ResourceNumber>
    <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId>
    <SupplierCustomerName>sample 13</SupplierCustomerName>
  </OverviewEmployee>
</ArrayOfOverviewEmployee>