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. |
|
| user_account_id | globally unique identifier |
None. |
|
| timezone_id | string |
None. |
|
| start | date |
None. |
|
| end | date |
None. |
|
| reference_no | string |
None. |
|
| timesheet_entry_status_id | globally unique identifier |
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-10-08T19:17:39.8452962+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "6d55b52f-f9f0-4b3d-9019-2b0869ebc6c3",
"type": "sample string 6",
"timesheet_project_id": "4555056b-eda5-4aca-ac54-6e7313f0c290",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "a689ad37-8c76-4ffb-bf2e-be258832c277",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"user_account_id": "381dac8f-f269-4598-b788-3f697677cb0d",
"timezone_id": "sample string 10",
"start": "2026-10-08T19:17:39.8452962+08:00",
"end": "2026-10-08T19:17:39.8452962+08:00",
"reference_no": "sample string 13",
"timesheet_entry_status_id": "2f889781-8f66-43f6-b8e1-10cad0f30da0",
"notes": "sample string 15",
"submitted": true,
"id": "f9720ddd-1637-43b5-b475-ecdacbbe1235"
}
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">f9720ddd-1637-43b5-b475-ecdacbbe1235</Id> <End>2026-10-08T19:17:39.8452962+08:00</End> <Notes>sample string 15</Notes> <ReferenceNo>sample string 13</ReferenceNo> <Start>2026-10-08T19:17:39.8452962+08:00</Start> <Submitted>true</Submitted> <SubscriptionId>6d55b52f-f9f0-4b3d-9019-2b0869ebc6c3</SubscriptionId> <TimeZoneId>sample string 10</TimeZoneId> <TimesheetEntryStatusId>2f889781-8f66-43f6-b8e1-10cad0f30da0</TimesheetEntryStatusId> <TimesheetProjectId>4555056b-eda5-4aca-ac54-6e7313f0c290</TimesheetProjectId> <TimesheetProjectName>sample string 7</TimesheetProjectName> <TimesheetTaskId>a689ad37-8c76-4ffb-bf2e-be258832c277</TimesheetTaskId> <TimesheetTaskName>sample string 8</TimesheetTaskName> <Type>sample string 6</Type> <UserAccountId>381dac8f-f269-4598-b788-3f697677cb0d</UserAccountId> <UserId>sample string 9</UserId> <Date>2026-10-08T19:17:39.8452962+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.