GET api/{programid}/Timesheets/PendHistory/ByPayPeriod?EmployeeNo={EmployeeNo}&ConsumerNo={ConsumerNo}&PayPeriodStartDate={PayPeriodStartDate}&PayPeriodEndDate={PayPeriodEndDate}
Returns the
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
|
EmployeeNo | string |
None. |
|
ConsumerNo | string |
None. |
|
PayPeriodStartDate | date |
Required |
|
PayPeriodEndDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TimesheetPendHistoryEntryName | Description | Type | Additional information |
---|---|---|---|
LineNo | integer |
None. |
|
DateWorked | date |
None. |
|
TimeIn | date |
None. |
|
TimeOut | date |
None. |
|
ServiceDescription | string |
None. |
|
CreatedDate | date |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LineNo": 1, "DateWorked": "2024-11-16T04:33:51.5650527-05:00", "TimeIn": "2024-11-16T04:33:51.5650527-05:00", "TimeOut": "2024-11-16T04:33:51.5650527-05:00", "ServiceDescription": "sample string 5", "CreatedDate": "2024-11-16T04:33:51.5650527-05:00", "Message": "sample string 7" }, { "LineNo": 1, "DateWorked": "2024-11-16T04:33:51.5650527-05:00", "TimeIn": "2024-11-16T04:33:51.5650527-05:00", "TimeOut": "2024-11-16T04:33:51.5650527-05:00", "ServiceDescription": "sample string 5", "CreatedDate": "2024-11-16T04:33:51.5650527-05:00", "Message": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfTimesheetPendHistoryEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <TimesheetPendHistoryEntry> <CreatedDate>2024-11-16T04:33:51.5650527-05:00</CreatedDate> <DateWorked>2024-11-16T04:33:51.5650527-05:00</DateWorked> <LineNo>1</LineNo> <Message>sample string 7</Message> <ServiceDescription>sample string 5</ServiceDescription> <TimeIn>2024-11-16T04:33:51.5650527-05:00</TimeIn> <TimeOut>2024-11-16T04:33:51.5650527-05:00</TimeOut> </TimesheetPendHistoryEntry> <TimesheetPendHistoryEntry> <CreatedDate>2024-11-16T04:33:51.5650527-05:00</CreatedDate> <DateWorked>2024-11-16T04:33:51.5650527-05:00</DateWorked> <LineNo>1</LineNo> <Message>sample string 7</Message> <ServiceDescription>sample string 5</ServiceDescription> <TimeIn>2024-11-16T04:33:51.5650527-05:00</TimeIn> <TimeOut>2024-11-16T04:33:51.5650527-05:00</TimeOut> </TimesheetPendHistoryEntry> </ArrayOfTimesheetPendHistoryEntry>