GET v1/time-attendance/export/companies/{companyCode}/divisions/{divisionCode}/employee-schedules?employeeNumber={employeeNumber}&asOf={asOf}&modifiedOn={modifiedOn}

Retrieve Employee Schedules by Division

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

divisionCode

string

Required

employeeNumber

string

None.

asOf

date

None.

modifiedOn

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TimeAttendanceScheduleDTO
NameDescriptionTypeAdditional information
ClientCode

string

None.

CompanyCode

string

None.

DivisionCode

string

None.

EmployeeNumber

string

None.

EmployeeKey

GlobalEntityKeyOfIEmployee

None.

PersonalId

EntityKeyOfIEmployeePersonalAndInt32

None.

ShiftStartTime

date

None.

ShiftEndTime

date

None.

BreakLengthMinutes

decimal number

None.

JobCode

string

None.

JobDescription

string

None.

IsPTO

boolean

None.

PTOPolicyCode

string

None.

PTOPolicyDescription

string

None.

ModifiedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "clientCode": "sample string 1",
    "companyCode": "sample string 2",
    "divisionCode": "sample string 3",
    "employeeNumber": "sample string 4",
    "employeeKey": "<empty>",
    "personalId": "<empty>",
    "shiftStartTime": "2025-04-11T18:08:40.9474372Z",
    "shiftEndTime": "2025-04-11T18:08:40.9474372Z",
    "breakLengthMinutes": 5.0,
    "jobCode": "sample string 6",
    "jobDescription": "sample string 7",
    "isPTO": true,
    "ptoPolicyCode": "sample string 9",
    "ptoPolicyDescription": "sample string 10",
    "modifiedOn": "2025-04-11T18:08:40.9474372Z"
  },
  {
    "clientCode": "sample string 1",
    "companyCode": "sample string 2",
    "divisionCode": "sample string 3",
    "employeeNumber": "sample string 4",
    "employeeKey": "<empty>",
    "personalId": "<empty>",
    "shiftStartTime": "2025-04-11T18:08:40.9474372Z",
    "shiftEndTime": "2025-04-11T18:08:40.9474372Z",
    "breakLengthMinutes": 5.0,
    "jobCode": "sample string 6",
    "jobDescription": "sample string 7",
    "isPTO": true,
    "ptoPolicyCode": "sample string 9",
    "ptoPolicyDescription": "sample string 10",
    "modifiedOn": "2025-04-11T18:08:40.9474372Z"
  }
]

text/xml

Sample:
<ArrayOfTimeAttendanceScheduleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
  <TimeAttendanceScheduleDTO>
    <BreakLengthMinutes>5</BreakLengthMinutes>
    <ClientCode>sample string 1</ClientCode>
    <CompanyCode>sample string 2</CompanyCode>
    <DivisionCode>sample string 3</DivisionCode>
    <EmployeeKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_entityKey>
        <d3p1:_hasValue>false</d3p1:_hasValue>
        <d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
      </d3p1:_entityKey>
    </EmployeeKey>
    <EmployeeNumber>sample string 4</EmployeeNumber>
    <IsPTO>true</IsPTO>
    <JobCode>sample string 6</JobCode>
    <JobDescription>sample string 7</JobDescription>
    <ModifiedOn>2025-04-11T14:08:40.9474372-04:00</ModifiedOn>
    <PTOPolicyCode>sample string 9</PTOPolicyCode>
    <PTOPolicyDescription>sample string 10</PTOPolicyDescription>
    <PersonalId xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_hasValue>false</d3p1:_hasValue>
      <d3p1:_value>0</d3p1:_value>
    </PersonalId>
    <ShiftEndTime>2025-04-11T14:08:40.9474372-04:00</ShiftEndTime>
    <ShiftStartTime>2025-04-11T14:08:40.9474372-04:00</ShiftStartTime>
  </TimeAttendanceScheduleDTO>
  <TimeAttendanceScheduleDTO>
    <BreakLengthMinutes>5</BreakLengthMinutes>
    <ClientCode>sample string 1</ClientCode>
    <CompanyCode>sample string 2</CompanyCode>
    <DivisionCode>sample string 3</DivisionCode>
    <EmployeeKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_entityKey>
        <d3p1:_hasValue>false</d3p1:_hasValue>
        <d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
      </d3p1:_entityKey>
    </EmployeeKey>
    <EmployeeNumber>sample string 4</EmployeeNumber>
    <IsPTO>true</IsPTO>
    <JobCode>sample string 6</JobCode>
    <JobDescription>sample string 7</JobDescription>
    <ModifiedOn>2025-04-11T14:08:40.9474372-04:00</ModifiedOn>
    <PTOPolicyCode>sample string 9</PTOPolicyCode>
    <PTOPolicyDescription>sample string 10</PTOPolicyDescription>
    <PersonalId xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_hasValue>false</d3p1:_hasValue>
      <d3p1:_value>0</d3p1:_value>
    </PersonalId>
    <ShiftEndTime>2025-04-11T14:08:40.9474372-04:00</ShiftEndTime>
    <ShiftStartTime>2025-04-11T14:08:40.9474372-04:00</ShiftStartTime>
  </TimeAttendanceScheduleDTO>
</ArrayOfTimeAttendanceScheduleDTO>