PUT api/Timesheets/{id}/EmployeeComment

update the timesheet employee comment for a single timesheet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

timesheet Id

integer

Required

Body Parameters

TimesheetEmployeeComment
NameDescriptionTypeAdditional 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

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>