POST api/timesheet/addTimesheetComment
Request Information
URI Parameters
None.
Body Parameters
TimesheetCommentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Weekid | integer |
None. |
|
| Comment | string |
None. |
|
| CommentedBy | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| CommentedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Weekid": 1,
"Comment": "sample string 2",
"CommentedBy": "345fcbaf-6441-41bc-a095-e63fbc5c3b31",
"UserName": "sample string 4",
"CommentedOn": "2026-03-11T21:37:54.4326608+00:00"
}
application/xml, text/xml
Sample:
<TimesheetCommentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProtecBuild.API.Models"> <Comment>sample string 2</Comment> <CommentedBy>345fcbaf-6441-41bc-a095-e63fbc5c3b31</CommentedBy> <CommentedOn>2026-03-11T21:37:54.4326608+00:00</CommentedOn> <UserName>sample string 4</UserName> <Weekid>1</Weekid> </TimesheetCommentResponse>
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.