Timesheets

Create a new timesheets

Create a new timesheets.

post/management/v2/timesheets

Request

  • Base URL
    https://your-subdomain.deputy.deputy.com/api
  • URL
    https://your-subdomain.deputy.deputy.com/api/management/v2/timesheets
  • Auth
    API key in header OAuth

Request body

idinteger
employeeIdinteger
employeeHistoryIdinteger
employeeAgreementIdinteger
startstring date-time
endstring date-time
mealBreaknumber float
slotsstring
totalTimenumber float
totalTimeInvoicednumber float
costnumber float
shiftIdinteger
commentsstring[]
isDisputedboolean
isTimeApprovedboolean
approvedByIdinteger
isDiscardedboolean
validationFlag'VALIDATION_FLAG_NONE' | 'VALIDATION_FLAG_GENERIC_ERROR' | 'VALIDATION_FLAG_DIFFERS_FROM_ROSTER' | 'VALIDATION_FLAG_SHORTER_THAN_ROSTER' | 'VALIDATION_FLAG_LONGER_THAN_ROSTER' | 'VALIDATION_FLAG_NO_MEALBREAK' | 'VALIDATION_FLAG_SHORTER_MEALBREAK' | 'VALIDATION_FLAG_LONGER_MEALBREAK' | 'VALIDATION_FLAG_LATE_MEALBREAK' | 'VALIDATION_FLAG_INSUFFICIENT_MEALBREAK' | 'VALIDATION_FLAG_OUTSIDE_GEO_BOUNDARIES' | 'VALIDATION_FLAG_SHIFT_PLAN_ISSUES' | 'VALIDATION_FLAG_NO_START_PHOTO' | 'VALIDATION_FLAG_NO_END_PHOTO' | 'VALIDATION_FLAG_PHOTO_DOES_NOT_MATCH' | 'VALIDATION_FLAG_CLOSED_BY_SYSTEM' | 'VALIDATION_FLAG_SHORTER_REST_BREAK' | 'VALIDATION_FLAG_SHORTER_MEAL_BREAK' | 'VALIDATION_FLAG_MISSED_SCHEDULE_BREAK' | 'VALIDATION_FLAG_ATTESTATION_PREVENT_CLOCK_IN' | 'VALIDATION_FLAG_ATTESTATION_NOTIFY_MANAGER'
areaIdinteger
isInProgressboolean
isLeaveboolean
leaveIdinteger
leaveRuleIdinteger
isInvoicedboolean
invoiceCommentstring
isPayRuleApprovedboolean
isExportedboolean
stagingIdinteger
isPayStagedboolean
payCycleIdinteger
fileIdinteger
customFieldDataIdinteger
isRealTimeboolean
isAutoProcessedboolean
isAutoRoundedboolean
isAutoTimeApprovedboolean
isAutoPayRuleApprovedboolean
parentIdinteger
employeeCommentstring
areaNamestring
locationIdinteger
locationNamestring
createdByIdinteger
createdAtstring date-time
modifiedAtstring date-time
startTimeLocalizedstring
endTimeLocalizedstring

Response

A successful response.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.