Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wreevesc opened this issue Sep 3, 2024 · 0 comments
Open

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

wreevesc opened this issue Sep 3, 2024 · 0 comments

Comments

@wreevesc
Copy link

wreevesc commented Sep 3, 2024

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant