PUT api/Timesheets/{id}/EmployeeComment
update the timesheet employee comment for a single timesheet
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
timesheet Id |
integer |
Required |
Body Parameters
TimesheetEmployeeCommentName | Description | Type | Additional information |
---|---|---|---|
Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Comments": "sample string 1" }
text/xml
Sample:
<TimesheetEmployeeComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <Comments>sample string 1</Comments> </TimesheetEmployeeComment>
multipart/form-data
Sample:
<TimesheetEmployeeComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><Comments>sample string 1</Comments></TimesheetEmployeeComment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
COMPLETE
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml, multipart/form-data
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>