Save user timesheet
Request Information
URI Parameters :
None.
Body Parameters :
user_timesheet| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| user_id | globally unique identifier | ||
| hour_type_id |
Foreign key of the hour type |
globally unique identifier |
Required |
| date_from |
Date+Time timesheet FROM |
date |
Required |
| date_from_rounded |
Date+Time timesheet FROM |
date |
Required |
| date_to |
Date+Time timesheet TO |
date |
Required |
| date_to_rounded |
Date+Time timesheet TO |
date |
Required |
| remark |
Additional remark field |
string |
Max length: 4000 |
| is_approved |
Inform if this user_timesheet belongs to a week approved (readonly) |
boolean | |
| is_start_stop | boolean | ||
| is_time_for_money | boolean | ||
| db_table_id |
Foreign key to the table timesheet is linked. Can be a jobs,project,company or empty |
globally unique identifier | |
| id_in_table |
Foreign key of the object linked. Can be a jobs.id, project.id , company.id or empty |
globally unique identifier | |
| property_1_checked | boolean | ||
| property_2_checked | boolean | ||
| property_3_checked | boolean | ||
| property_4_checked | boolean | ||
| property_5_checked | boolean | ||
| start_latitude_decimal | decimal number | ||
| start_longitude_decimal | decimal number | ||
| end_latitude_decimal | decimal number | ||
| end_longitude_decimal | decimal number | ||
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| is_confirmed |
offline field: is_confirmed flag |
boolean |
Request Formats :
application/json, text/json
{
"id": "63586284-5c12-4c16-9a64-fdd3c8e15521",
"user_id": "24e24554-7ce4-4e4c-9990-604194d60473",
"hour_type_id": "be6f1849-3b99-4e77-9de5-a6124e4dbe64",
"date_from": "2026-01-12T00:17:41.3945621+00:00",
"date_from_rounded": "2026-01-12T00:17:41.3945621+00:00",
"date_to": "2026-01-12T00:17:41.3945621+00:00",
"date_to_rounded": "2026-01-12T00:17:41.3945621+00:00",
"remark": "sample string 8",
"is_approved": true,
"is_start_stop": true,
"is_time_for_money": true,
"db_table_id": "a2a336f3-1d92-45e0-b55c-a23b02774e48",
"id_in_table": "c8aa0cf5-6e99-4e56-94dc-ad4d33943fb4",
"property_1_checked": true,
"property_2_checked": true,
"property_3_checked": true,
"property_4_checked": true,
"property_5_checked": true,
"start_latitude_decimal": 19.0,
"start_longitude_decimal": 20.0,
"end_latitude_decimal": 21.0,
"end_longitude_decimal": 22.0,
"modified_dateutc": "2026-01-12T00:17:41.3945621+00:00",
"is_confirmed": true
}
application/xml, text/xml
<user_timesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <date_from>2026-01-12T00:17:41.394Z</date_from> <date_from_rounded>2026-01-12T00:17:41.394Z</date_from_rounded> <date_to>2026-01-12T00:17:41.394Z</date_to> <date_to_rounded>2026-01-12T00:17:41.394Z</date_to_rounded> <db_table_id>a2a336f3-1d92-45e0-b55c-a23b02774e48</db_table_id> <end_latitude_decimal>21</end_latitude_decimal> <end_longitude_decimal>22</end_longitude_decimal> <hour_type_id>be6f1849-3b99-4e77-9de5-a6124e4dbe64</hour_type_id> <id>63586284-5c12-4c16-9a64-fdd3c8e15521</id> <id_in_table>c8aa0cf5-6e99-4e56-94dc-ad4d33943fb4</id_in_table> <is_approved>true</is_approved> <is_confirmed>true</is_confirmed> <is_start_stop>true</is_start_stop> <is_time_for_money>true</is_time_for_money> <modified_dateutc>2026-01-12T00:17:41.394Z</modified_dateutc> <property_1_checked>true</property_1_checked> <property_2_checked>true</property_2_checked> <property_3_checked>true</property_3_checked> <property_4_checked>true</property_4_checked> <property_5_checked>true</property_5_checked> <remark>sample string 8</remark> <start_latitude_decimal>19</start_latitude_decimal> <start_longitude_decimal>20</start_longitude_decimal> <user_id>24e24554-7ce4-4e4c-9990-604194d60473</user_id> </user_timesheet>
Response Information
Resource Description :
IHttpActionResult
user_timesheet| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| user_id | globally unique identifier | ||
| hour_type_id |
Foreign key of the hour type |
globally unique identifier |
Required |
| date_from |
Date+Time timesheet FROM |
date |
Required |
| date_from_rounded |
Date+Time timesheet FROM |
date |
Required |
| date_to |
Date+Time timesheet TO |
date |
Required |
| date_to_rounded |
Date+Time timesheet TO |
date |
Required |
| remark |
Additional remark field |
string |
Max length: 4000 |
| is_approved |
Inform if this user_timesheet belongs to a week approved (readonly) |
boolean | |
| is_start_stop | boolean | ||
| is_time_for_money | boolean | ||
| db_table_id |
Foreign key to the table timesheet is linked. Can be a jobs,project,company or empty |
globally unique identifier | |
| id_in_table |
Foreign key of the object linked. Can be a jobs.id, project.id , company.id or empty |
globally unique identifier | |
| property_1_checked | boolean | ||
| property_2_checked | boolean | ||
| property_3_checked | boolean | ||
| property_4_checked | boolean | ||
| property_5_checked | boolean | ||
| start_latitude_decimal | decimal number | ||
| start_longitude_decimal | decimal number | ||
| end_latitude_decimal | decimal number | ||
| end_longitude_decimal | decimal number | ||
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| is_confirmed |
offline field: is_confirmed flag |
boolean |
Response Formats
application/json, text/json
{
"id": "774d1008-cbe8-42ac-8534-0a2ae61580d5",
"user_id": "9c6f4eee-6dd1-411c-b5b9-79a44538198e",
"hour_type_id": "0b360165-d0a9-458f-8e5a-7e9c9c647ca7",
"date_from": "2026-01-12T00:17:41.4567688+00:00",
"date_from_rounded": "2026-01-12T00:17:41.4567688+00:00",
"date_to": "2026-01-12T00:17:41.4567688+00:00",
"date_to_rounded": "2026-01-12T00:17:41.4567688+00:00",
"remark": "sample string 8",
"is_approved": true,
"is_start_stop": true,
"is_time_for_money": true,
"db_table_id": "f33e7b65-938e-4004-99ad-da8291fd2843",
"id_in_table": "d55f6fa6-a8c8-46bc-b0d4-e901010c9670",
"property_1_checked": true,
"property_2_checked": true,
"property_3_checked": true,
"property_4_checked": true,
"property_5_checked": true,
"start_latitude_decimal": 19.0,
"start_longitude_decimal": 20.0,
"end_latitude_decimal": 21.0,
"end_longitude_decimal": 22.0,
"modified_dateutc": "2026-01-12T00:17:41.4567688+00:00",
"is_confirmed": true
}
application/xml, text/xml
<user_timesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <date_from>2026-01-12T00:17:41.456Z</date_from> <date_from_rounded>2026-01-12T00:17:41.456Z</date_from_rounded> <date_to>2026-01-12T00:17:41.456Z</date_to> <date_to_rounded>2026-01-12T00:17:41.456Z</date_to_rounded> <db_table_id>f33e7b65-938e-4004-99ad-da8291fd2843</db_table_id> <end_latitude_decimal>21</end_latitude_decimal> <end_longitude_decimal>22</end_longitude_decimal> <hour_type_id>0b360165-d0a9-458f-8e5a-7e9c9c647ca7</hour_type_id> <id>774d1008-cbe8-42ac-8534-0a2ae61580d5</id> <id_in_table>d55f6fa6-a8c8-46bc-b0d4-e901010c9670</id_in_table> <is_approved>true</is_approved> <is_confirmed>true</is_confirmed> <is_start_stop>true</is_start_stop> <is_time_for_money>true</is_time_for_money> <modified_dateutc>2026-01-12T00:17:41.456Z</modified_dateutc> <property_1_checked>true</property_1_checked> <property_2_checked>true</property_2_checked> <property_3_checked>true</property_3_checked> <property_4_checked>true</property_4_checked> <property_5_checked>true</property_5_checked> <remark>sample string 8</remark> <start_latitude_decimal>19</start_latitude_decimal> <start_longitude_decimal>20</start_longitude_decimal> <user_id>9c6f4eee-6dd1-411c-b5b9-79a44538198e</user_id> </user_timesheet>