GET v1/Reports/GetAllAbsenceRequestsForDateRangeByEmployeeNumber?startDate={startDate}&endDate={endDate}&employeeNumber={employeeNumber}

Returns All Absence Requests for a Specified Date Range and Employee

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

The Range Start Date. e.g 2014-01-01

date

Required

endDate

The Range End Date. e.g 2014-01-01

date

Required

employeeNumber

The Employee to get the data for

string

Required

Body Parameters

None.

Response Information

Resource Description

AbsenceRequestData Object

Collection of AbsenceRequestData
NameDescriptionTypeAdditional information
Employee

Employee

None.

AbsenceRequest

vwAbsenceRequest

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Employee": {
      "EmployeeID": 1,
      "EmployeePersonalID": 2,
      "DivisionID": 3,
      "EmployeeNumber": "sample string 4",
      "DivisionEmployeeStatus": "sample string 5",
      "PayGroup": "sample string 6",
      "Location": "sample string 7",
      "Job": "sample string 8",
      "Position": "sample string 9",
      "JobTitle": "sample string 10",
      "ClockNumber": "sample string 11",
      "IsExemptFromOT": true,
      "FullOrPartTime": "sample string 13",
      "HireDate": "2017-08-17T09:46:22.2184068-04:00",
      "PayType": "sample string 14",
      "AutoPay": true,
      "SSN": "sample string 16",
      "FirstName": "sample string 17",
      "MiddleInitial": "A",
      "LastName": "sample string 19",
      "CostCenter1": "sample string 20",
      "CostCenter2": "sample string 21",
      "CostCenter3": "sample string 22",
      "CostCenter4": "sample string 23",
      "CostCenter5": "sample string 24",
      "FirstLast": "sample string 25",
      "LastFirst": "sample string 26",
      "Address1": "sample string 27",
      "Address2": "sample string 28",
      "City": "sample string 29",
      "State": "sample string 30",
      "ZipCode": "sample string 31",
      "Phone": "sample string 32",
      "Email": "sample string 33",
      "DOB": "2017-08-17T09:46:22.2184068-04:00",
      "Gender": "sample string 34",
      "ClockStatus": "sample string 35",
      "ModifiedOn": "2017-08-17T09:46:22.2184068-04:00",
      "IsASupervisor": true,
      "SupervisorID": 1,
      "SupervisorEmployeeNumber": "sample string 38",
      "DoNotTransferHoursToPayroll": true,
      "TerminationDate": "2017-08-17T09:46:22.2184068-04:00",
      "StandardHours": 40.0,
      "WorkPhone": "sample string 41",
      "WorkPhoneExt": "sample string 42",
      "MobilePhone": "sample string 43",
      "PersonalEmail": "sample string 44",
      "Task": "sample string 45",
      "Occupation": "sample string 46",
      "EthnicCode": "sample string 47",
      "FLSACode": "sample string 48",
      "PayFrequency": "sample string 49",
      "EETaxType": "sample string 50",
      "TaxLocation": "sample string 51",
      "SkipI9Verification": true,
      "PayMethod": 53,
      "WorkersCompCode": "sample string 54",
      "ExcludeFromWorkersComp": true,
      "NewHireStatus": 56,
      "BenefitClassCode": "sample string 57",
      "RehireDate": "2017-08-17T09:46:22.2184068-04:00",
      "AutoGrossUp": true
    },
    "AbsenceRequest": {
      "EmployeeID": 1,
      "Code": "sample string 2",
      "Description": "sample string 3",
      "Date": "2017-08-17T09:46:22.2184068-04:00",
      "Reason": "sample string 5",
      "Hours": 6.0,
      "cc1Code": "sample string 7",
      "cc2Code": "sample string 8",
      "cc3Code": "sample string 9",
      "cc4Code": "sample string 10",
      "cc5Code": "sample string 11",
      "JobPunch": "sample string 12",
      "AbsenceRequestStatus": "sample string 13",
      "Minutes": 1
    }
  },
  {
    "Employee": {
      "EmployeeID": 1,
      "EmployeePersonalID": 2,
      "DivisionID": 3,
      "EmployeeNumber": "sample string 4",
      "DivisionEmployeeStatus": "sample string 5",
      "PayGroup": "sample string 6",
      "Location": "sample string 7",
      "Job": "sample string 8",
      "Position": "sample string 9",
      "JobTitle": "sample string 10",
      "ClockNumber": "sample string 11",
      "IsExemptFromOT": true,
      "FullOrPartTime": "sample string 13",
      "HireDate": "2017-08-17T09:46:22.2184068-04:00",
      "PayType": "sample string 14",
      "AutoPay": true,
      "SSN": "sample string 16",
      "FirstName": "sample string 17",
      "MiddleInitial": "A",
      "LastName": "sample string 19",
      "CostCenter1": "sample string 20",
      "CostCenter2": "sample string 21",
      "CostCenter3": "sample string 22",
      "CostCenter4": "sample string 23",
      "CostCenter5": "sample string 24",
      "FirstLast": "sample string 25",
      "LastFirst": "sample string 26",
      "Address1": "sample string 27",
      "Address2": "sample string 28",
      "City": "sample string 29",
      "State": "sample string 30",
      "ZipCode": "sample string 31",
      "Phone": "sample string 32",
      "Email": "sample string 33",
      "DOB": "2017-08-17T09:46:22.2184068-04:00",
      "Gender": "sample string 34",
      "ClockStatus": "sample string 35",
      "ModifiedOn": "2017-08-17T09:46:22.2184068-04:00",
      "IsASupervisor": true,
      "SupervisorID": 1,
      "SupervisorEmployeeNumber": "sample string 38",
      "DoNotTransferHoursToPayroll": true,
      "TerminationDate": "2017-08-17T09:46:22.2184068-04:00",
      "StandardHours": 40.0,
      "WorkPhone": "sample string 41",
      "WorkPhoneExt": "sample string 42",
      "MobilePhone": "sample string 43",
      "PersonalEmail": "sample string 44",
      "Task": "sample string 45",
      "Occupation": "sample string 46",
      "EthnicCode": "sample string 47",
      "FLSACode": "sample string 48",
      "PayFrequency": "sample string 49",
      "EETaxType": "sample string 50",
      "TaxLocation": "sample string 51",
      "SkipI9Verification": true,
      "PayMethod": 53,
      "WorkersCompCode": "sample string 54",
      "ExcludeFromWorkersComp": true,
      "NewHireStatus": 56,
      "BenefitClassCode": "sample string 57",
      "RehireDate": "2017-08-17T09:46:22.2184068-04:00",
      "AutoGrossUp": true
    },
    "AbsenceRequest": {
      "EmployeeID": 1,
      "Code": "sample string 2",
      "Description": "sample string 3",
      "Date": "2017-08-17T09:46:22.2184068-04:00",
      "Reason": "sample string 5",
      "Hours": 6.0,
      "cc1Code": "sample string 7",
      "cc2Code": "sample string 8",
      "cc3Code": "sample string 9",
      "cc4Code": "sample string 10",
      "cc5Code": "sample string 11",
      "JobPunch": "sample string 12",
      "AbsenceRequestStatus": "sample string 13",
      "Minutes": 1
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfAbsenceRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">
  <AbsenceRequestData>
    <AbsenceRequest xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.Entities">
      <d3p1:EmployeeID>1</d3p1:EmployeeID>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:Description>sample string 3</d3p1:Description>
      <d3p1:Date>2017-08-17T09:46:22.2184068-04:00</d3p1:Date>
      <d3p1:Reason>sample string 5</d3p1:Reason>
      <d3p1:Hours>6</d3p1:Hours>
      <d3p1:cc1Code>sample string 7</d3p1:cc1Code>
      <d3p1:cc2Code>sample string 8</d3p1:cc2Code>
      <d3p1:cc3Code>sample string 9</d3p1:cc3Code>
      <d3p1:cc4Code>sample string 10</d3p1:cc4Code>
      <d3p1:cc5Code>sample string 11</d3p1:cc5Code>
      <d3p1:JobPunch>sample string 12</d3p1:JobPunch>
      <d3p1:AbsenceRequestStatus>sample string 13</d3p1:AbsenceRequestStatus>
      <d3p1:Minutes>1</d3p1:Minutes>
    </AbsenceRequest>
    <Employee xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.Entities">
      <d3p1:EmployeeID>1</d3p1:EmployeeID>
      <d3p1:EmployeePersonalID>2</d3p1:EmployeePersonalID>
      <d3p1:DivisionID>3</d3p1:DivisionID>
      <d3p1:EmployeeNumber>sample string 4</d3p1:EmployeeNumber>
      <d3p1:DivisionEmployeeStatus>sample string 5</d3p1:DivisionEmployeeStatus>
      <d3p1:PayGroup>sample string 6</d3p1:PayGroup>
      <d3p1:Location>sample string 7</d3p1:Location>
      <d3p1:Job>sample string 8</d3p1:Job>
      <d3p1:Position>sample string 9</d3p1:Position>
      <d3p1:JobTitle>sample string 10</d3p1:JobTitle>
      <d3p1:ClockNumber>sample string 11</d3p1:ClockNumber>
      <d3p1:IsExemptFromOT>true</d3p1:IsExemptFromOT>
      <d3p1:FullOrPartTime>sample string 13</d3p1:FullOrPartTime>
      <d3p1:HireDate>2017-08-17T09:46:22.2184068-04:00</d3p1:HireDate>
      <d3p1:PayType>sample string 14</d3p1:PayType>
      <d3p1:AutoPay>true</d3p1:AutoPay>
      <d3p1:SSN>sample string 16</d3p1:SSN>
      <d3p1:FirstName>sample string 17</d3p1:FirstName>
      <d3p1:MiddleInitial>65</d3p1:MiddleInitial>
      <d3p1:LastName>sample string 19</d3p1:LastName>
      <d3p1:CostCenter1>sample string 20</d3p1:CostCenter1>
      <d3p1:CostCenter2>sample string 21</d3p1:CostCenter2>
      <d3p1:CostCenter3>sample string 22</d3p1:CostCenter3>
      <d3p1:CostCenter4>sample string 23</d3p1:CostCenter4>
      <d3p1:CostCenter5>sample string 24</d3p1:CostCenter5>
      <d3p1:FirstLast>sample string 25</d3p1:FirstLast>
      <d3p1:LastFirst>sample string 26</d3p1:LastFirst>
      <d3p1:Address1>sample string 27</d3p1:Address1>
      <d3p1:Address2>sample string 28</d3p1:Address2>
      <d3p1:City>sample string 29</d3p1:City>
      <d3p1:State>sample string 30</d3p1:State>
      <d3p1:ZipCode>sample string 31</d3p1:ZipCode>
      <d3p1:Phone>sample string 32</d3p1:Phone>
      <d3p1:Email>sample string 33</d3p1:Email>
      <d3p1:DOB>2017-08-17T09:46:22.2184068-04:00</d3p1:DOB>
      <d3p1:Gender>sample string 34</d3p1:Gender>
      <d3p1:ClockStatus>sample string 35</d3p1:ClockStatus>
      <d3p1:ModifiedOn>2017-08-17T09:46:22.2184068-04:00</d3p1:ModifiedOn>
      <d3p1:IsASupervisor>true</d3p1:IsASupervisor>
      <d3p1:SupervisorID>1</d3p1:SupervisorID>
      <d3p1:SupervisorEmployeeNumber>sample string 38</d3p1:SupervisorEmployeeNumber>
      <d3p1:DoNotTransferHoursToPayroll>true</d3p1:DoNotTransferHoursToPayroll>
      <d3p1:TerminationDate>2017-08-17T09:46:22.2184068-04:00</d3p1:TerminationDate>
      <d3p1:StandardHours>40</d3p1:StandardHours>
      <d3p1:WorkPhone>sample string 41</d3p1:WorkPhone>
      <d3p1:WorkPhoneExt>sample string 42</d3p1:WorkPhoneExt>
      <d3p1:MobilePhone>sample string 43</d3p1:MobilePhone>
      <d3p1:PersonalEmail>sample string 44</d3p1:PersonalEmail>
      <d3p1:Task>sample string 45</d3p1:Task>
      <d3p1:Occupation>sample string 46</d3p1:Occupation>
      <d3p1:EthnicCode>sample string 47</d3p1:EthnicCode>
      <d3p1:FLSACode>sample string 48</d3p1:FLSACode>
      <d3p1:PayFrequency>sample string 49</d3p1:PayFrequency>
      <d3p1:EETaxType>sample string 50</d3p1:EETaxType>
      <d3p1:TaxLocation>sample string 51</d3p1:TaxLocation>
      <d3p1:SkipI9Verification>true</d3p1:SkipI9Verification>
      <d3p1:PayMethod>53</d3p1:PayMethod>
      <d3p1:WorkersCompCode>sample string 54</d3p1:WorkersCompCode>
      <d3p1:ExcludeFromWorkersComp>true</d3p1:ExcludeFromWorkersComp>
      <d3p1:NewHireStatus>56</d3p1:NewHireStatus>
      <d3p1:BenefitClassCode>sample string 57</d3p1:BenefitClassCode>
      <d3p1:RehireDate>2017-08-17T09:46:22.2184068-04:00</d3p1:RehireDate>
      <d3p1:AutoGrossUp>true</d3p1:AutoGrossUp>
    </Employee>
  </AbsenceRequestData>
  <AbsenceRequestData>
    <AbsenceRequest xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.Entities">
      <d3p1:EmployeeID>1</d3p1:EmployeeID>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:Description>sample string 3</d3p1:Description>
      <d3p1:Date>2017-08-17T09:46:22.2184068-04:00</d3p1:Date>
      <d3p1:Reason>sample string 5</d3p1:Reason>
      <d3p1:Hours>6</d3p1:Hours>
      <d3p1:cc1Code>sample string 7</d3p1:cc1Code>
      <d3p1:cc2Code>sample string 8</d3p1:cc2Code>
      <d3p1:cc3Code>sample string 9</d3p1:cc3Code>
      <d3p1:cc4Code>sample string 10</d3p1:cc4Code>
      <d3p1:cc5Code>sample string 11</d3p1:cc5Code>
      <d3p1:JobPunch>sample string 12</d3p1:JobPunch>
      <d3p1:AbsenceRequestStatus>sample string 13</d3p1:AbsenceRequestStatus>
      <d3p1:Minutes>1</d3p1:Minutes>
    </AbsenceRequest>
    <Employee xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.Entities">
      <d3p1:EmployeeID>1</d3p1:EmployeeID>
      <d3p1:EmployeePersonalID>2</d3p1:EmployeePersonalID>
      <d3p1:DivisionID>3</d3p1:DivisionID>
      <d3p1:EmployeeNumber>sample string 4</d3p1:EmployeeNumber>
      <d3p1:DivisionEmployeeStatus>sample string 5</d3p1:DivisionEmployeeStatus>
      <d3p1:PayGroup>sample string 6</d3p1:PayGroup>
      <d3p1:Location>sample string 7</d3p1:Location>
      <d3p1:Job>sample string 8</d3p1:Job>
      <d3p1:Position>sample string 9</d3p1:Position>
      <d3p1:JobTitle>sample string 10</d3p1:JobTitle>
      <d3p1:ClockNumber>sample string 11</d3p1:ClockNumber>
      <d3p1:IsExemptFromOT>true</d3p1:IsExemptFromOT>
      <d3p1:FullOrPartTime>sample string 13</d3p1:FullOrPartTime>
      <d3p1:HireDate>2017-08-17T09:46:22.2184068-04:00</d3p1:HireDate>
      <d3p1:PayType>sample string 14</d3p1:PayType>
      <d3p1:AutoPay>true</d3p1:AutoPay>
      <d3p1:SSN>sample string 16</d3p1:SSN>
      <d3p1:FirstName>sample string 17</d3p1:FirstName>
      <d3p1:MiddleInitial>65</d3p1:MiddleInitial>
      <d3p1:LastName>sample string 19</d3p1:LastName>
      <d3p1:CostCenter1>sample string 20</d3p1:CostCenter1>
      <d3p1:CostCenter2>sample string 21</d3p1:CostCenter2>
      <d3p1:CostCenter3>sample string 22</d3p1:CostCenter3>
      <d3p1:CostCenter4>sample string 23</d3p1:CostCenter4>
      <d3p1:CostCenter5>sample string 24</d3p1:CostCenter5>
      <d3p1:FirstLast>sample string 25</d3p1:FirstLast>
      <d3p1:LastFirst>sample string 26</d3p1:LastFirst>
      <d3p1:Address1>sample string 27</d3p1:Address1>
      <d3p1:Address2>sample string 28</d3p1:Address2>
      <d3p1:City>sample string 29</d3p1:City>
      <d3p1:State>sample string 30</d3p1:State>
      <d3p1:ZipCode>sample string 31</d3p1:ZipCode>
      <d3p1:Phone>sample string 32</d3p1:Phone>
      <d3p1:Email>sample string 33</d3p1:Email>
      <d3p1:DOB>2017-08-17T09:46:22.2184068-04:00</d3p1:DOB>
      <d3p1:Gender>sample string 34</d3p1:Gender>
      <d3p1:ClockStatus>sample string 35</d3p1:ClockStatus>
      <d3p1:ModifiedOn>2017-08-17T09:46:22.2184068-04:00</d3p1:ModifiedOn>
      <d3p1:IsASupervisor>true</d3p1:IsASupervisor>
      <d3p1:SupervisorID>1</d3p1:SupervisorID>
      <d3p1:SupervisorEmployeeNumber>sample string 38</d3p1:SupervisorEmployeeNumber>
      <d3p1:DoNotTransferHoursToPayroll>true</d3p1:DoNotTransferHoursToPayroll>
      <d3p1:TerminationDate>2017-08-17T09:46:22.2184068-04:00</d3p1:TerminationDate>
      <d3p1:StandardHours>40</d3p1:StandardHours>
      <d3p1:WorkPhone>sample string 41</d3p1:WorkPhone>
      <d3p1:WorkPhoneExt>sample string 42</d3p1:WorkPhoneExt>
      <d3p1:MobilePhone>sample string 43</d3p1:MobilePhone>
      <d3p1:PersonalEmail>sample string 44</d3p1:PersonalEmail>
      <d3p1:Task>sample string 45</d3p1:Task>
      <d3p1:Occupation>sample string 46</d3p1:Occupation>
      <d3p1:EthnicCode>sample string 47</d3p1:EthnicCode>
      <d3p1:FLSACode>sample string 48</d3p1:FLSACode>
      <d3p1:PayFrequency>sample string 49</d3p1:PayFrequency>
      <d3p1:EETaxType>sample string 50</d3p1:EETaxType>
      <d3p1:TaxLocation>sample string 51</d3p1:TaxLocation>
      <d3p1:SkipI9Verification>true</d3p1:SkipI9Verification>
      <d3p1:PayMethod>53</d3p1:PayMethod>
      <d3p1:WorkersCompCode>sample string 54</d3p1:WorkersCompCode>
      <d3p1:ExcludeFromWorkersComp>true</d3p1:ExcludeFromWorkersComp>
      <d3p1:NewHireStatus>56</d3p1:NewHireStatus>
      <d3p1:BenefitClassCode>sample string 57</d3p1:BenefitClassCode>
      <d3p1:RehireDate>2017-08-17T09:46:22.2184068-04:00</d3p1:RehireDate>
      <d3p1:AutoGrossUp>true</d3p1:AutoGrossUp>
    </Employee>
  </AbsenceRequestData>
</ArrayOfAbsenceRequestData>