POST api/v1/EditTimesheet?userName={userName}
End Timesheet
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userName | string |
Required |
Body Parameters
TimesheetName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
type | string |
None. |
|
projectId | string |
None. |
|
projectName | string |
None. |
|
taskId | string |
None. |
|
taskName | string |
None. |
|
startDate | date |
None. |
|
startTime | string |
None. |
|
endDate | date |
None. |
|
endTime | string |
None. |
|
billable | boolean |
None. |
|
comments | string |
None. |
|
userName | string |
None. |
|
projectExternalId | string |
None. |
|
selectedProjandTask | integer |
None. |
|
status | string |
None. |
|
ReportLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "type": "sample string 2", "projectId": "sample string 3", "projectName": "sample string 4", "taskId": "sample string 5", "taskName": "sample string 6", "startDate": "2025-08-29T01:31:35.5444718+00:00", "startTime": "sample string 8", "endDate": "2025-08-29T01:31:35.5444718+00:00", "endTime": "sample string 10", "billable": true, "comments": "sample string 12", "userName": "sample string 13", "projectExternalId": "sample string 14", "selectedProjandTask": 15, "status": "sample string 16", "reportLocation": "sample string 17" }
application/xml, text/xml
Sample:
<Timesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/prodwarenavwebapi.Models"> <ReportLocation>sample string 17</ReportLocation> <billable>true</billable> <comments>sample string 12</comments> <endDate>2025-08-29T01:31:35.5444718+00:00</endDate> <endTime>sample string 10</endTime> <id>sample string 1</id> <projectExternalId>sample string 14</projectExternalId> <projectId>sample string 3</projectId> <projectName>sample string 4</projectName> <selectedProjandTask>15</selectedProjandTask> <startDate>2025-08-29T01:31:35.5444718+00:00</startDate> <startTime>sample string 8</startTime> <status>sample string 16</status> <taskId>sample string 5</taskId> <taskName>sample string 6</taskName> <type>sample string 2</type> <userName>sample string 13</userName> </Timesheet>
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.