Skip to content

"State" key in Timesheet object not in API Documentation  #99

@wreevesc

Description

@wreevesc

The key "state" in the JSON response (see below) for /timesheets?start_date=2024-08-29 is not in the API documentation. Is this equivalent to looking in the supplemental user data for "approved_to"? I'm only seeing "APPROVED" and "CLOSED" state values. Are there other states? What are their meanings?

"768705712": {
"id": 768705712,
"state": "APPROVED",
"user_id": 3043498,
"jobcode_id": 67057626,
"start": "2024-08-29T06:30:00-07:00",
"end": "2024-08-29T07:54:00-07:00",
"duration": 5040,
"date": "2024-08-29",
"tz": -7,
"tz_str": "tsPT",
"type": "regular",
"location": "iPhone App",
"on_the_clock": false,
"locked": 0,
"notes": "",
"customfields": {
"78391": ""
},
"last_modified": "2024-08-29T14:53:31+00:00",
"attached_files": [],
"created_by_user_id": 3043498
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions