Bulk Add/Adjust time tracking records

Bulk Add/Adjust time tracking records

Sample Request 1

[
   {
    "timeTrackingId": "9abf58d1-6657-11e6-b28d-0800272a335a",
    "employeeId": "40342",
    "divisionId": "17964",
    "departmentId": "17939",
    "jobTitleId": "17924",
    "payCode": "002455",
    "dateHoursWorked": "2017-04-15",
    "payRate": "27.7765",
    "rateType": "REG",
    "hoursWorked": "4.5760",
    "jobCode": "123456",
    "jobData": "9abf58d1-6657-11e6-b,9abf58d1-6657-11e6-a"
   },
   {
    "timeTrackingId": "1010"
    "employeeId": "7",
    "dateHoursWorked": "2017-04-16",
    "rateType": "REG",
    "hoursWorked": "5.5",
   }
]

Sample Response 1

[
  {
    "success": true,
    "response": {
      "id": "9abf58d1-6657-11e6-b28d-0800272a335a"
    }
  },
  {
    "success": true,
    "response": {
      "id": "1010"
    }
  }
]

Sample Request 2

[
   {
    "timeTrackingId": "1510",
    "employeeId": "7",
    "divisionId": "18029",
    "departmentId": "18028",
    "jobTitleId": "18027",
    "dateHoursWorked": "2017-04-15",
    "rateType": "REG",
    "hoursWorked": "4.5760"
   },
   {
    "timeTrackingId" : "1010",
    "employeeId" : "7",
    "dateHoursWorked" : "2017-04-16",
    "rateType" : "OT",
    "hoursWorked" : "6.5"
   }
]

Sample Response 2

[
  {
    "success": true,
    "response": {
      "id": "1510"
    }
  },
  {
    "success": false,
    "response": {
       "message": "Only hours worked can be edited on an update. (rateType)    
                   is either missing or not allowed to be updated"
    }
  }
]

Minimum Required Parameters

timeTrackingId, employeeId, dateHoursWorked, rateType, hoursWorked

Additional Parameters

payRate, divisionId, departmentId, jobTitleId, payCode, jobCode, jobData

Notes

rateType must be one of: 'REG','OT'

The time tracking id can be any id you use to track the record up to 36 characters in length. (i.e. UUID)

The dateHoursWorked needs to be submitted in ISO 8601 Date Format. (YYYY-MM-DD format)

jobData: a list of up to four 20 characters max job numbers in comma delimited format

If adjusting a time tracking entry the entire original timeTracking object must be presented and only the hoursWorked may be changed

Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!