GET api/{programid}/Timesheets/{timesheetNo}/PendHistory

Retrieves the pend history of a specific timesheet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

timesheetNo

Timesheet No.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TimesheetPendHistoryEntry
NameDescriptionTypeAdditional 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:54:11.0298964-05:00",
    "TimeIn": "2024-11-16T04:54:11.0298964-05:00",
    "TimeOut": "2024-11-16T04:54:11.0298964-05:00",
    "ServiceDescription": "sample string 5",
    "CreatedDate": "2024-11-16T04:54:11.0298964-05:00",
    "Message": "sample string 7"
  },
  {
    "LineNo": 1,
    "DateWorked": "2024-11-16T04:54:11.0298964-05:00",
    "TimeIn": "2024-11-16T04:54:11.0298964-05:00",
    "TimeOut": "2024-11-16T04:54:11.0298964-05:00",
    "ServiceDescription": "sample string 5",
    "CreatedDate": "2024-11-16T04:54:11.0298964-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:54:11.0298964-05:00</CreatedDate>
    <DateWorked>2024-11-16T04:54:11.0298964-05:00</DateWorked>
    <LineNo>1</LineNo>
    <Message>sample string 7</Message>
    <ServiceDescription>sample string 5</ServiceDescription>
    <TimeIn>2024-11-16T04:54:11.0298964-05:00</TimeIn>
    <TimeOut>2024-11-16T04:54:11.0298964-05:00</TimeOut>
  </TimesheetPendHistoryEntry>
  <TimesheetPendHistoryEntry>
    <CreatedDate>2024-11-16T04:54:11.0298964-05:00</CreatedDate>
    <DateWorked>2024-11-16T04:54:11.0298964-05:00</DateWorked>
    <LineNo>1</LineNo>
    <Message>sample string 7</Message>
    <ServiceDescription>sample string 5</ServiceDescription>
    <TimeIn>2024-11-16T04:54:11.0298964-05:00</TimeIn>
    <TimeOut>2024-11-16T04:54:11.0298964-05:00</TimeOut>
  </TimesheetPendHistoryEntry>
</ArrayOfTimesheetPendHistoryEntry>