GET v1/Employees/GetAllEmployeesLaborAllocation

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeLaborAllocationMetaData
NameDescriptionTypeAdditional information
EmployeeID

EmployeeID tied to specific employee

integer

None.

AllocationPercent

Percentage allocated to current labor allocation

decimal number

None.

Job

Labor allocation's Job Code

string

None.

CostCenter1

Labor allocation's CostCenter1 Code

string

None.

CostCenter2

Labor allocation's CostCenter2 Code

string

None.

CostCenter3

Labor allocation's CostCenter3 Code

string

None.

CostCenter4

Labor allocation's CostCenter4 Code

string

None.

CostCenter5

Labor allocation's CostCenter5 Code

string

None.

Task

Labor allocation's Task Code

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeID": 1,
    "AllocationPercent": 2.0,
    "Job": "sample string 3",
    "CostCenter1": "sample string 4",
    "CostCenter2": "sample string 5",
    "CostCenter3": "sample string 6",
    "CostCenter4": "sample string 7",
    "CostCenter5": "sample string 8",
    "Task": "sample string 9"
  },
  {
    "EmployeeID": 1,
    "AllocationPercent": 2.0,
    "Job": "sample string 3",
    "CostCenter1": "sample string 4",
    "CostCenter2": "sample string 5",
    "CostCenter3": "sample string 6",
    "CostCenter4": "sample string 7",
    "CostCenter5": "sample string 8",
    "Task": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeLaborAllocationMetaData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">
  <EmployeeLaborAllocationMetaData>
    <AllocationPercent>2</AllocationPercent>
    <CostCenter1>sample string 4</CostCenter1>
    <CostCenter2>sample string 5</CostCenter2>
    <CostCenter3>sample string 6</CostCenter3>
    <CostCenter4>sample string 7</CostCenter4>
    <CostCenter5>sample string 8</CostCenter5>
    <EmployeeID>1</EmployeeID>
    <Job>sample string 3</Job>
    <Task>sample string 9</Task>
  </EmployeeLaborAllocationMetaData>
  <EmployeeLaborAllocationMetaData>
    <AllocationPercent>2</AllocationPercent>
    <CostCenter1>sample string 4</CostCenter1>
    <CostCenter2>sample string 5</CostCenter2>
    <CostCenter3>sample string 6</CostCenter3>
    <CostCenter4>sample string 7</CostCenter4>
    <CostCenter5>sample string 8</CostCenter5>
    <EmployeeID>1</EmployeeID>
    <Job>sample string 3</Job>
    <Task>sample string 9</Task>
  </EmployeeLaborAllocationMetaData>
</ArrayOfEmployeeLaborAllocationMetaData>