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": "4e541173-cc9e-47bc-8240-0da4fd569e20",
  "type": "sample string 1",
  "timesheet_project_id": "3c19be65-71c6-4f65-8966-2e9161cfe5c9",
  "timesheet_project_name": "sample string 2",
  "timesheet_task_id": "b041eb64-0ed0-4196-b764-e6c13d186fe5",
  "timesheet_task_name": "sample string 3",
  "user_id": "sample string 4",
  "timezone_id": "sample string 5",
  "start": "2026-04-10T20:13:36.4082483+08:00",
  "end": "2026-04-10T20:13:36.4082483+08:00",
  "reference_no": "sample string 8",
  "notes": "sample string 9",
  "submitted": true,
  "id": "78f52380-5e79-43d4-92ea-48eaee8ccb64"
}

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">78f52380-5e79-43d4-92ea-48eaee8ccb64</Id>
  <End>2026-04-10T20:13:36.4082483+08:00</End>
  <Notes>sample string 9</Notes>
  <ReferenceNo>sample string 8</ReferenceNo>
  <Start>2026-04-10T20:13:36.4082483+08:00</Start>
  <Submitted>true</Submitted>
  <SubscriptionId>4e541173-cc9e-47bc-8240-0da4fd569e20</SubscriptionId>
  <TimeZoneId>sample string 5</TimeZoneId>
  <TimesheetProjectId>3c19be65-71c6-4f65-8966-2e9161cfe5c9</TimesheetProjectId>
  <TimesheetProjectName>sample string 2</TimesheetProjectName>
  <TimesheetTaskId>b041eb64-0ed0-4196-b764-e6c13d186fe5</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.