POST api/timesheetentries
Request Information
URI Parameters
None.
Body Parameters
TimesheetEntryCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| new_timesheet_entry_hidden | boolean |
None. |
|
| new_timesheet_entry | boolean |
None. |
|
| timesheet_project_fields_hidden | boolean |
None. |
|
| time_period | TimePeriod |
None. |
|
| date | date |
None. |
|
| duration | decimal number |
None. |
|
| duration_fields_hidden | boolean |
None. |
|
| subscription_id | globally unique identifier |
None. |
|
| type | string |
None. |
|
| timesheet_project_id | globally unique identifier |
None. |
|
| timesheet_project_name | string |
None. |
|
| timesheet_task_id | globally unique identifier |
None. |
|
| timesheet_task_name | string |
None. |
|
| user_id | string |
None. |
|
| timezone_id | string |
None. |
|
| start | date |
None. |
|
| end | date |
None. |
|
| reference_no | string |
None. |
|
| notes | string |
None. |
|
| submitted | boolean |
None. |
|
| id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"new_timesheet_entry_hidden": true,
"new_timesheet_entry": true,
"timesheet_project_fields_hidden": true,
"time_period": 0,
"date": "2026-06-09T14:55:30.7290642+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "9044a0d6-94f9-4774-bfb9-6d323f7bfdc2",
"type": "sample string 6",
"timesheet_project_id": "4f7ae08b-0ba2-40aa-bfe8-e960e9d57ea1",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "84bf664b-e4b1-4ed0-a40d-53a060fc978d",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start": "2026-06-09T14:55:30.744767+08:00",
"end": "2026-06-09T14:55:30.744767+08:00",
"reference_no": "sample string 13",
"notes": "sample string 14",
"submitted": true,
"id": "af34846f-626c-4347-8bdc-9bb0a607d748"
}
application/xml, text/xml
Sample:
<TimesheetEntryCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">af34846f-626c-4347-8bdc-9bb0a607d748</Id> <End>2026-06-09T14:55:30.744767+08:00</End> <Notes>sample string 14</Notes> <ReferenceNo>sample string 13</ReferenceNo> <Start>2026-06-09T14:55:30.744767+08:00</Start> <Submitted>true</Submitted> <SubscriptionId>9044a0d6-94f9-4774-bfb9-6d323f7bfdc2</SubscriptionId> <TimeZoneId>sample string 10</TimeZoneId> <TimesheetProjectId>4f7ae08b-0ba2-40aa-bfe8-e960e9d57ea1</TimesheetProjectId> <TimesheetProjectName>sample string 7</TimesheetProjectName> <TimesheetTaskId>84bf664b-e4b1-4ed0-a40d-53a060fc978d</TimesheetTaskId> <TimesheetTaskName>sample string 8</TimesheetTaskName> <Type>sample string 6</Type> <UserId>sample string 9</UserId> <Date>2026-06-09T14:55:30.7290642+08:00</Date> <Duration>4.1</Duration> <DurationFieldsHidden>true</DurationFieldsHidden> <NewTimesheetEntry>true</NewTimesheetEntry> <NewTimesheetEntryHidden>true</NewTimesheetEntryHidden> <TimePeriod>Start</TimePeriod> <TimesheetProjectFieldsHidden>true</TimesheetProjectFieldsHidden> </TimesheetEntryCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.