POST api/{programid}/TimeEntry/DeletePendMessagesWIP

Deletes the pend messages related to the time entry specified

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

Body Parameters

Time entry information

DeletePendMessageWipRequest
NameDescriptionTypeAdditional information
TimesheetNo

string

None.

TimesheetLineNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TimesheetNo": "sample string 1",
  "TimesheetLineNo": 2
}

application/xml, text/xml

Sample:
<DeletePendMessageWipRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.TimeEntry">
  <TimesheetLineNo>2</TimesheetLineNo>
  <TimesheetNo>sample string 1</TimesheetNo>
</DeletePendMessageWipRequest>

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 'DeletePendMessageWipRequest'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>