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": "da7d6c93-8a49-4f81-99f7-0505ac8df310",
"UserName": "sample string 4",
"CommentedOn": "2026-07-09T20:40:39.4495835+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>da7d6c93-8a49-4f81-99f7-0505ac8df310</CommentedBy> <CommentedOn>2026-07-09T20:40:39.4495835+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.