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
Name | Description | Type | Additional 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 TimeAttendanceScheduleDTOName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
CompanyCode | string |
None. |
|
DivisionCode | string |
None. |
|
EmployeeNumber | string |
None. |
|
EmployeeKey | GlobalEntityKeyOfIEmployee |
None. |
|
PersonalId | EntityKeyOfIEmployeePersonalAndInt32 |
None. |
|
ShiftStartTime | FixedDateTime |
None. |
|
ShiftEndTime | FixedDateTime |
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": "0001-02-03T09:05:06.007Z", "shiftEndTime": "0001-02-03T09:05:06.007Z", "breakLengthMinutes": 5.0, "jobCode": "sample string 6", "jobDescription": "sample string 7", "isPTO": true, "ptoPolicyCode": "sample string 9", "ptoPolicyDescription": "sample string 10", "modifiedOn": "2025-05-27T20:44:48.9234065Z" }, { "clientCode": "sample string 1", "companyCode": "sample string 2", "divisionCode": "sample string 3", "employeeNumber": "sample string 4", "employeeKey": "<empty>", "personalId": "<empty>", "shiftStartTime": "0001-02-03T09:05:06.007Z", "shiftEndTime": "0001-02-03T09:05:06.007Z", "breakLengthMinutes": 5.0, "jobCode": "sample string 6", "jobDescription": "sample string 7", "isPTO": true, "ptoPolicyCode": "sample string 9", "ptoPolicyDescription": "sample string 10", "modifiedOn": "2025-05-27T20:44:48.9234065Z" } ]
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-05-27T16:44:48.9234065-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 xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> <d3p1:Hour>4</d3p1:Hour> <d3p1:Minute>5</d3p1:Minute> <d3p1:Second>6</d3p1:Second> <d3p1:Milisecond>7</d3p1:Milisecond> </ShiftEndTime> <ShiftStartTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> <d3p1:Hour>4</d3p1:Hour> <d3p1:Minute>5</d3p1:Minute> <d3p1:Second>6</d3p1:Second> <d3p1:Milisecond>7</d3p1:Milisecond> </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-05-27T16:44:48.9234065-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 xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> <d3p1:Hour>4</d3p1:Hour> <d3p1:Minute>5</d3p1:Minute> <d3p1:Second>6</d3p1:Second> <d3p1:Milisecond>7</d3p1:Milisecond> </ShiftEndTime> <ShiftStartTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> <d3p1:Hour>4</d3p1:Hour> <d3p1:Minute>5</d3p1:Minute> <d3p1:Second>6</d3p1:Second> <d3p1:Milisecond>7</d3p1:Milisecond> </ShiftStartTime> </TimeAttendanceScheduleDTO> </ArrayOfTimeAttendanceScheduleDTO>