PUT api/consumer/v1/calendarEvents/{calendarEventId}/editTimesheet
Update Timesheet from an existing Calendar Event
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
calendarEventId |
ID of the Calendar Event |
integer |
Required |
Body Parameters
New Calendar Event timesheet information
CalendarEventTimesheetEditDtoName | Description | Type | Additional information |
---|---|---|---|
TimesheetId |
New Timesheet Id |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "TimesheetId": 1 }
application/xml, text/xml
Sample:
<CalendarEventTimesheetEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <TimesheetId>1</TimesheetId> </CalendarEventTimesheetEditDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None |
|
Content | HttpContent |
None |
|
StatusCode | HttpStatusCode |
None |
|
ReasonPhrase | string |
None |
|
Headers | Collection of Object |
None |
|
RequestMessage | HttpRequestMessage |
None |
|
IsSuccessStatusCode | boolean |
None |