Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.01 KB

update-workweek-config-response.md

File metadata and controls

32 lines (24 loc) · 1.01 KB

Update Workweek Config Response

The response to a request to update a WorkweekConfig object. Contains the updated WorkweekConfig object. May contain a set of Error objects if the request resulted in errors.

Structure

UpdateWorkweekConfigResponse

Fields

Name Type Tags Description Getter
WorkweekConfig WorkweekConfig Optional Sets the Day of the week and hour of the day that a business starts a
work week. Used for the calculation of overtime pay.
WorkweekConfig getWorkweekConfig()
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "workweek_config": {
    "id": "FY4VCAQN700GM",
    "start_of_week": "MON",
    "start_of_day_local_time": "10:00",
    "version": 11,
    "created_at": "2016-02-04T00:58:24Z",
    "updated_at": "2019-02-28T01:04:35Z"
  }
}