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-04-10T20:16:45.7030232+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "e597c0d6-46e5-477a-b537-906f551637b6",
"type": "sample string 6",
"timesheet_project_id": "4e338562-87ff-417d-885f-fb48cb10d335",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "3058fae1-ac17-4d8b-a683-f41ff026f96f",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start": "2026-04-10T20:16:45.7030232+08:00",
"end": "2026-04-10T20:16:45.7030232+08:00",
"reference_no": "sample string 13",
"notes": "sample string 14",
"submitted": true,
"id": "fecf237a-2282-4f32-9fd0-7fa1668625fd"
}
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">fecf237a-2282-4f32-9fd0-7fa1668625fd</Id> <End>2026-04-10T20:16:45.7030232+08:00</End> <Notes>sample string 14</Notes> <ReferenceNo>sample string 13</ReferenceNo> <Start>2026-04-10T20:16:45.7030232+08:00</Start> <Submitted>true</Submitted> <SubscriptionId>e597c0d6-46e5-477a-b537-906f551637b6</SubscriptionId> <TimeZoneId>sample string 10</TimeZoneId> <TimesheetProjectId>4e338562-87ff-417d-885f-fb48cb10d335</TimesheetProjectId> <TimesheetProjectName>sample string 7</TimesheetProjectName> <TimesheetTaskId>3058fae1-ac17-4d8b-a683-f41ff026f96f</TimesheetTaskId> <TimesheetTaskName>sample string 8</TimesheetTaskName> <Type>sample string 6</Type> <UserId>sample string 9</UserId> <Date>2026-04-10T20:16:45.7030232+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.