POST api/{programid}/TimeEntry/UpdatePendMessagesWIP
Updates the pend messages related to a saved (WIP) time entry
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid |
Program Id |
string |
Required |
Body Parameters
Time entry pend messages information
UpdatePendMessageWipRequestName | Description | Type | Additional information |
---|---|---|---|
PendMessages | Collection of PendMessage |
None. |
Request Formats
application/json, text/json
Sample:
{ "PendMessages": [ { "TimesheetNo": "sample string 1", "TimesheetLineNo": 2, "RuleNo": "sample string 3", "Message": "sample string 4", "WebMessage": "sample string 5" }, { "TimesheetNo": "sample string 1", "TimesheetLineNo": 2, "RuleNo": "sample string 3", "Message": "sample string 4", "WebMessage": "sample string 5" } ] }
application/xml, text/xml
Sample:
<UpdatePendMessageWipRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.TimeEntry"> <PendMessages> <UpdatePendMessageWipRequest.PendMessage> <Message>sample string 4</Message> <RuleNo>sample string 3</RuleNo> <TimesheetLineNo>2</TimesheetLineNo> <TimesheetNo>sample string 1</TimesheetNo> <WebMessage>sample string 5</WebMessage> </UpdatePendMessageWipRequest.PendMessage> <UpdatePendMessageWipRequest.PendMessage> <Message>sample string 4</Message> <RuleNo>sample string 3</RuleNo> <TimesheetLineNo>2</TimesheetLineNo> <TimesheetNo>sample string 1</TimesheetNo> <WebMessage>sample string 5</WebMessage> </UpdatePendMessageWipRequest.PendMessage> </PendMessages> </UpdatePendMessageWipRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse 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>