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

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

Body Parameters

TimeEntry Delete Parameters

TimeEntryRecurrenceDeleteParams
NameDescriptionTypeAdditional information
ID

integer

None.

DateWorked

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DateWorked": "2024-11-16T04:26:56.6802105-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:26:56.6802105-05:00</DateWorked>
  <ID>1</ID>
</TimeEntryRecurrenceDeleteParams>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimeEntryRecurrenceDeleteParams'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.