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": "a4c1af47-ee52-433a-a646-f34310bc2cac",
  "type": "sample string 1",
  "timesheet_project_id": "b2c99739-e34f-4767-9284-f3ce073902cd",
  "timesheet_project_name": "sample string 2",
  "timesheet_task_id": "4c75d933-747a-4fbd-805e-8f5905ccba16",
  "timesheet_task_name": "sample string 3",
  "user_id": "sample string 4",
  "timezone_id": "sample string 5",
  "start": "2026-08-08T15:01:14.7542072+08:00",
  "end": "2026-08-08T15:01:14.7542072+08:00",
  "reference_no": "sample string 8",
  "notes": "sample string 9",
  "submitted": true,
  "id": "c46f9030-e107-4b63-b69e-bfe294cb30ab"
}

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">c46f9030-e107-4b63-b69e-bfe294cb30ab</Id>
  <End>2026-08-08T15:01:14.7542072+08:00</End>
  <Notes>sample string 9</Notes>
  <ReferenceNo>sample string 8</ReferenceNo>
  <Start>2026-08-08T15:01:14.7542072+08:00</Start>
  <Submitted>true</Submitted>
  <SubscriptionId>a4c1af47-ee52-433a-a646-f34310bc2cac</SubscriptionId>
  <TimeZoneId>sample string 5</TimeZoneId>
  <TimesheetProjectId>b2c99739-e34f-4767-9284-f3ce073902cd</TimesheetProjectId>
  <TimesheetProjectName>sample string 2</TimesheetProjectName>
  <TimesheetTaskId>4c75d933-747a-4fbd-805e-8f5905ccba16</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.