GET v1/Reports/GetEmployeeActivePTOAccrualsByEmployeeNumber/{employeeNumber}

Returns Employee Active PTO Records for Specified Employee

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNumber

The Employee to get the data for

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PTOAccrualEntity
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

Employee

Employee

None.

PTOCode

string

None.

PTODescription

string

None.

BalanceAsOf

date

None.

EndDate

date

None.

Allowed

decimal number

None.

Used

decimal number

None.

PendingHours

decimal number

None.

Balance

decimal number

None.

LastAccrual

date

None.

LastRollover

date

None.

LastPendingMoved

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeID": 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:47:10.9634068-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:47:10.9634068-04:00",
      "Gender": "sample string 34",
      "ClockStatus": "sample string 35",
      "ModifiedOn": "2017-08-17T09:47:10.9634068-04:00",
      "IsASupervisor": true,
      "SupervisorID": 1,
      "SupervisorEmployeeNumber": "sample string 38",
      "DoNotTransferHoursToPayroll": true,
      "TerminationDate": "2017-08-17T09:47:10.9634068-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:47:10.9634068-04:00",
      "AutoGrossUp": true
    },
    "PTOCode": "sample string 2",
    "PTODescription": "sample string 3",
    "BalanceAsOf": "2017-08-17T09:47:10.9634068-04:00",
    "EndDate": "2017-08-17T09:47:10.9634068-04:00",
    "Allowed": 5.0,
    "Used": 1.0,
    "PendingHours": 1.0,
    "Balance": 1.0,
    "LastAccrual": "2017-08-17T09:47:10.9634068-04:00",
    "LastRollover": "2017-08-17T09:47:10.9634068-04:00",
    "LastPendingMoved": "2017-08-17T09:47:10.9634068-04:00"
  },
  {
    "EmployeeID": 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:47:10.9634068-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:47:10.9634068-04:00",
      "Gender": "sample string 34",
      "ClockStatus": "sample string 35",
      "ModifiedOn": "2017-08-17T09:47:10.9634068-04:00",
      "IsASupervisor": true,
      "SupervisorID": 1,
      "SupervisorEmployeeNumber": "sample string 38",
      "DoNotTransferHoursToPayroll": true,
      "TerminationDate": "2017-08-17T09:47:10.9634068-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:47:10.9634068-04:00",
      "AutoGrossUp": true
    },
    "PTOCode": "sample string 2",
    "PTODescription": "sample string 3",
    "BalanceAsOf": "2017-08-17T09:47:10.9634068-04:00",
    "EndDate": "2017-08-17T09:47:10.9634068-04:00",
    "Allowed": 5.0,
    "Used": 1.0,
    "PendingHours": 1.0,
    "Balance": 1.0,
    "LastAccrual": "2017-08-17T09:47:10.9634068-04:00",
    "LastRollover": "2017-08-17T09:47:10.9634068-04:00",
    "LastPendingMoved": "2017-08-17T09:47:10.9634068-04:00"
  }
]

application/xml, text/xml

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