Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

user_timesheet
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
user_id

Foreign key of User

globally unique identifier

Required

hour_type_id

Foreign key of the hour type

globally unique identifier

Required

date_from_rounded

Date+Time timesheet FROM

date

Required

date_to_rounded

Date+Time timesheet TO

date

Required

remark

Additional remark field

string
is_approved

Inform if this user_timesheet belongs to a week approved (readonly)

boolean
db_table_id

Foreign key to the table timesheet is linked. Can be a jobs,project,company or empty

globally unique identifier
db_table_name

Value of the linked table (from db_table_id)

string
id_in_table

Foreign key of the object linked. Can be a jobs.id, project.id , company.id or empty

globally unique identifier

Optionally required : id_in_table must be provided

free_jobs_reference

In case the user didn’t select a linked object, he can fill himself a reference

string
property_1_checked

True/False status of property 1

boolean
property_2_checked

True/False status of property 2

boolean
property_3_checked

True/False status of property 3

boolean
property_4_checked

True/False status of property 4

boolean
property_5_checked

True/False status of property 5

boolean
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "65fa0d23-53a8-4b08-bb8f-c19eb81ff06a",
  "user_id": "e9913525-f7a1-496d-a8f0-4d0c8f13f680",
  "hour_type_id": "23d54e4b-aad0-4ffb-9a65-dafb2971c2de",
  "date_from_rounded": "2025-02-05T06:38:03.5526477+00:00",
  "date_to_rounded": "2025-02-05T06:38:03.5526477+00:00",
  "remark": "sample string 6",
  "is_approved": true,
  "db_table_id": "fa2bad2e-646d-4c68-8968-95f8b6d26a5a",
  "db_table_name": "sample string 9",
  "id_in_table": "c54ff2ab-febb-41b9-a39a-74f0c8739bdd",
  "free_jobs_reference": "sample string 11",
  "property_1_checked": true,
  "property_2_checked": true,
  "property_3_checked": true,
  "property_4_checked": true,
  "property_5_checked": true,
  "modified_dateutc": "2025-02-05T06:38:03.5682799+00:00"
}