API Overview

Timesheet API

Overview:  

The Payment Evolution “ePay Transactions Update API” can be used to update an existing ePay Transaction 

URL/api/v1/timesheet  
Methods Supported  GET, POST  
Description  Allows you to retrieve any active timesheet  
Allows you to add new timesheet record(s)   

Elements for Timesheet 

The following are required to create a timesheet:
<EmployeeID>  Employee number (0000##)  
<TimeCode>          R = Regular Hours  
        O = Overtime Hours @ 1.5  
        D = Doubletime Hours @ 2  
        X = Other Hours Worked  
       10 = Commission  
       11 = Statutory Holiday  
       12 = Sick day  
       13 = Personal day  
       14 = Shift Premium  
       15 = Earnings Advances  
       16 = Other Earnings  
       17 = Taxable Vacation Pay  
       18 = Other Non-Taxable  
       VP = Release Vac Pay  
<Total>  Total Amount to be paid   
The following additional elements are recommended for a PUT / POST request  
<Approved>  Boolean, True/False  
WorkDateBegin  Datetime Format, 24-hour (eg: 2014-04-22T09:00:00)  
WorkDateEnd  Datetime Format, 24-hour (eg: 2014-04-29T17:00:00)  
<Rate>  Rate per hour  
<TotalHours>  Number of hours  
The following are optional for a PUT / POST request  
    
    

Posting Multiple Timesheets  

Endpoint  /api/v1/timesheet/multi  
Parent Tag  <Timesheets>  

Sample Post  

<Timesheets>   
    <Timesheet>  
        <Authorized>true</Authorized>  
        <CostAccount>9060</CostAccount>  
        <EmployeeID>000001</EmployeeID>  
        <Rate>3333.00</Rate>  
        <TimeCode>R</TimeCode>  
        <TimeRecordKey>00000100000004</TimeRecordKey>  
        <Total>6462687.00</Total>  
        <TotalHours>1939</TotalHours>  
        <WorkDateBegin>2014-06-05T07:30:00</WorkDateBegin>  
        <WorkDateEnd>2014-06-30T14:52:00</WorkDateEnd>  
    </Timesheet>  
    <Timesheet>  
        <Authorized>true</Authorized>  
        <CostAccount>9060</CostAccount>  
        <EmployeeID>000001</EmployeeID>  
        <Rate>3333.00</Rate>  
        <TimeCode>R</TimeCode>  
        <TimeRecordKey>00000100000005</TimeRecordKey>  
        <Total>6462687.00</Total>  
        <TotalHours>1939</TotalHours>  
        <WorkDateBegin>2014-09-05T07:30:00</WorkDateBegin>  
        <WorkDateEnd>2014-09-30T14:52:00</WorkDateEnd>  
    </Timesheet>  
</Timesheets>

Author

Leave a Reply

Table of Contents

Discover more from PaymentEvolution Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading