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. |
|
| 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-02-09T19:50:04.4637576+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "c1dcf674-d408-44c5-9d8d-6eb506e19637",
"type": "sample string 6",
"timesheet_project_id": "b208aaac-101f-4d07-b2c9-13288b5d2912",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "16d4e664-2c3a-41d0-b04b-c40a8ed74671",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start": "2026-02-09T19:50:04.4637576+08:00",
"end": "2026-02-09T19:50:04.4637576+08:00",
"reference_no": "sample string 13",
"notes": "sample string 14",
"id": "e6fe5130-f278-4b15-9f55-bfcfcdc8b404"
}
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">e6fe5130-f278-4b15-9f55-bfcfcdc8b404</Id> <End>2026-02-09T19:50:04.4637576+08:00</End> <Notes>sample string 14</Notes> <ReferenceNo>sample string 13</ReferenceNo> <Start>2026-02-09T19:50:04.4637576+08:00</Start> <SubscriptionId>c1dcf674-d408-44c5-9d8d-6eb506e19637</SubscriptionId> <TimeZoneId>sample string 10</TimeZoneId> <TimesheetProjectId>b208aaac-101f-4d07-b2c9-13288b5d2912</TimesheetProjectId> <TimesheetProjectName>sample string 7</TimesheetProjectName> <TimesheetTaskId>16d4e664-2c3a-41d0-b04b-c40a8ed74671</TimesheetTaskId> <TimesheetTaskName>sample string 8</TimesheetTaskName> <Type>sample string 6</Type> <UserId>sample string 9</UserId> <Date>2026-02-09T19:50:04.4637576+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.