hris
timeshift

Update a timeshift

Changed on
patch/hris/{connection_id}/timeshift/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/hris/{connection_id}/timeshift/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Timeshift

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

employee_user_idstring required

(reference to HrisEmployee)

start_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

end_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

location_idstring

(reference to HrisLocation)

company_idstring

(reference to HrisCompany)

group_idstring

department, team, etc. (reference to HrisGroup)

approver_user_idstring

(reference to HrisEmployee)

approved_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

hoursnumber
is_approvedboolean
rawobject

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

employee_user_idstring required

(reference to HrisEmployee)

start_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

end_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

location_idstring

(reference to HrisLocation)

company_idstring

(reference to HrisCompany)

group_idstring

department, team, etc. (reference to HrisGroup)

approver_user_idstring

(reference to HrisEmployee)

approved_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

hoursnumber
is_approvedboolean
rawobject

Changes

    • info

      added the new optional request property

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • warning

      added the new BIWEEKLY enum value to the // response property for the response status

    • warning

      added the new COMMISSION enum value to the // response property for the response status

    • warning

      added the new HOURLY enum value to the // response property for the response status

    • warning

      added the new SEMIMONTHLY enum value to the // response property for the response status

    • info

      added the new BIWEEKLY enum value to the request property //

    • info

      added the new COMMISSION enum value to the request property //

    • info

      added the new HOURLY enum value to the request property //

    • info

      added the new SEMIMONTHLY enum value to the request property //