POST api/{programid}/Timesheets/DeleteTimeEntryRecurrence
Delete TimeEntry Recurrece based on ID and DateWorked passed (when DateWorked if NULL, whole Recurrences and releated WIP will be deleted)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid |
Program Id |
string |
Required |
Body Parameters
TimeEntry Delete Parameters
TimeEntryRecurrenceDeleteParamsName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
DateWorked | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "DateWorked": "2024-11-16T04:57:49.7577892-05:00" }
application/xml, text/xml
Sample:
<TimeEntryRecurrenceDeleteParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Timesheet"> <DateWorked>2024-11-16T04:57:49.7577892-05:00</DateWorked> <ID>1</ID> </TimeEntryRecurrenceDeleteParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.