PUT api/timesheetentries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

TimesheetEntryModel
NameDescriptionTypeAdditional information
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:
{
  "subscription_id": "c11fa1f1-8617-48b5-b562-8e22a02cf908",
  "type": "sample string 1",
  "timesheet_project_id": "5c09dad9-e72a-4e59-ac63-0c3db22d412c",
  "timesheet_project_name": "sample string 2",
  "timesheet_task_id": "0e63c7b8-731a-4ca3-bbdf-67872abaf71e",
  "timesheet_task_name": "sample string 3",
  "user_id": "sample string 4",
  "timezone_id": "sample string 5",
  "start": "2026-06-09T14:55:30.744767+08:00",
  "end": "2026-06-09T14:55:30.744767+08:00",
  "reference_no": "sample string 8",
  "notes": "sample string 9",
  "submitted": true,
  "id": "f899b36f-98a1-481e-ae31-e857723dd5d2"
}

application/xml, text/xml

Sample:
<TimesheetEntryModel 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">f899b36f-98a1-481e-ae31-e857723dd5d2</Id>
  <End>2026-06-09T14:55:30.744767+08:00</End>
  <Notes>sample string 9</Notes>
  <ReferenceNo>sample string 8</ReferenceNo>
  <Start>2026-06-09T14:55:30.744767+08:00</Start>
  <Submitted>true</Submitted>
  <SubscriptionId>c11fa1f1-8617-48b5-b562-8e22a02cf908</SubscriptionId>
  <TimeZoneId>sample string 5</TimeZoneId>
  <TimesheetProjectId>5c09dad9-e72a-4e59-ac63-0c3db22d412c</TimesheetProjectId>
  <TimesheetProjectName>sample string 2</TimesheetProjectName>
  <TimesheetTaskId>0e63c7b8-731a-4ca3-bbdf-67872abaf71e</TimesheetTaskId>
  <TimesheetTaskName>sample string 3</TimesheetTaskName>
  <Type>sample string 1</Type>
  <UserId>sample string 4</UserId>
</TimesheetEntryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.