POST api/{programid}/Timesheets/SearchTimeEntriesIVR
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
TimesheetIVRSearchName | Description | Type | Additional information |
---|---|---|---|
EmployeeNo | string |
None. |
|
ConsumerNo | string |
None. |
|
Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeNo": "sample string 1", "ConsumerNo": "sample string 2", "Status": "sample string 3" }
application/xml, text/xml
Sample:
<TimesheetIVRSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <ConsumerNo>sample string 2</ConsumerNo> <EmployeeNo>sample string 1</EmployeeNo> <Status>sample string 3</Status> </TimesheetIVRSearch>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TimeEntryIVRName | Description | Type | Additional information |
---|---|---|---|
TimesheetNo | string |
None. |
|
ConsumerNo | string |
None. |
|
EmployeeNo | string |
None. |
|
LineNo | integer |
None. |
|
LineId | integer |
None. |
|
LineStatus | string |
None. |
|
TimeIn | string |
None. |
|
TimeOut | string |
None. |
|
Description | string |
None. |
|
ServiceCode | string |
None. |
|
RejectionReason | string |
None. |
|
RejectionReasonDescription | string |
None. |
|
RejectionNote | string |
None. |
|
RejectionDate | string |
None. |
|
RejectedBy | string |
None. |
|
PayCycleStartDate | string |
None. |
|
PayCycleEndDate | string |
None. |
|
TimesheetServiceActivities | Collection of TimesheetServiceActivity |
None. |
|
DateWorked | string |
None. |
|
ShiftId | string |
None. |
|
ShiftStart | date |
None. |
|
ShiftEnd | date |
None. |
|
GroupShiftId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TimesheetNo": "sample string 1", "ConsumerNo": "sample string 2", "EmployeeNo": "sample string 3", "LineNo": 4, "LineId": 5, "LineStatus": "sample string 6", "TimeIn": "sample string 7", "TimeOut": "sample string 8", "Description": "sample string 9", "ServiceCode": "sample string 10", "RejectionReason": "sample string 11", "RejectionReasonDescription": "sample string 12", "RejectionNote": "sample string 13", "RejectionDate": "sample string 14", "RejectedBy": "sample string 15", "PayCycleStartDate": "sample string 16", "PayCycleEndDate": "sample string 17", "TimesheetServiceActivities": [ { "TimesheetNo": "sample string 1", "ActivityLineNo": 2, "LineNo": 3, "ServiceActivityNo": "sample string 4", "ServiceCode": "sample string 5", "ActivityDescription": "sample string 6" }, { "TimesheetNo": "sample string 1", "ActivityLineNo": 2, "LineNo": 3, "ServiceActivityNo": "sample string 4", "ServiceCode": "sample string 5", "ActivityDescription": "sample string 6" } ], "DateWorked": "sample string 18", "ShiftId": "sample string 19", "ShiftStart": "2024-11-16T09:52:49.7264292+00:00", "ShiftEnd": "2024-11-16T09:52:49.7264292+00:00", "GroupShiftId": "sample string 22" }, { "TimesheetNo": "sample string 1", "ConsumerNo": "sample string 2", "EmployeeNo": "sample string 3", "LineNo": 4, "LineId": 5, "LineStatus": "sample string 6", "TimeIn": "sample string 7", "TimeOut": "sample string 8", "Description": "sample string 9", "ServiceCode": "sample string 10", "RejectionReason": "sample string 11", "RejectionReasonDescription": "sample string 12", "RejectionNote": "sample string 13", "RejectionDate": "sample string 14", "RejectedBy": "sample string 15", "PayCycleStartDate": "sample string 16", "PayCycleEndDate": "sample string 17", "TimesheetServiceActivities": [ { "TimesheetNo": "sample string 1", "ActivityLineNo": 2, "LineNo": 3, "ServiceActivityNo": "sample string 4", "ServiceCode": "sample string 5", "ActivityDescription": "sample string 6" }, { "TimesheetNo": "sample string 1", "ActivityLineNo": 2, "LineNo": 3, "ServiceActivityNo": "sample string 4", "ServiceCode": "sample string 5", "ActivityDescription": "sample string 6" } ], "DateWorked": "sample string 18", "ShiftId": "sample string 19", "ShiftStart": "2024-11-16T09:52:49.7264292+00:00", "ShiftEnd": "2024-11-16T09:52:49.7264292+00:00", "GroupShiftId": "sample string 22" } ]
application/xml, text/xml
Sample:
<ArrayOfTimeEntryIVR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <TimeEntryIVR> <ConsumerNo>sample string 2</ConsumerNo> <DateWorked>sample string 18</DateWorked> <Description>sample string 9</Description> <EmployeeNo>sample string 3</EmployeeNo> <GroupShiftId>sample string 22</GroupShiftId> <LineId>5</LineId> <LineNo>4</LineNo> <LineStatus>sample string 6</LineStatus> <PayCycleEndDate>sample string 17</PayCycleEndDate> <PayCycleStartDate>sample string 16</PayCycleStartDate> <RejectedBy>sample string 15</RejectedBy> <RejectionDate>sample string 14</RejectionDate> <RejectionNote>sample string 13</RejectionNote> <RejectionReason>sample string 11</RejectionReason> <RejectionReasonDescription>sample string 12</RejectionReasonDescription> <ServiceCode>sample string 10</ServiceCode> <ShiftEnd>2024-11-16T09:52:49.7264292+00:00</ShiftEnd> <ShiftId>sample string 19</ShiftId> <ShiftStart>2024-11-16T09:52:49.7264292+00:00</ShiftStart> <TimeIn>sample string 7</TimeIn> <TimeOut>sample string 8</TimeOut> <TimesheetNo>sample string 1</TimesheetNo> <TimesheetServiceActivities xmlns:d3p1="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.Timesheets"> <d3p1:TimesheetServiceActivity> <d3p1:ActivityDescription>sample string 6</d3p1:ActivityDescription> <d3p1:ActivityLineNo>2</d3p1:ActivityLineNo> <d3p1:LineNo>3</d3p1:LineNo> <d3p1:ServiceActivityNo>sample string 4</d3p1:ServiceActivityNo> <d3p1:ServiceCode>sample string 5</d3p1:ServiceCode> <d3p1:TimesheetNo>sample string 1</d3p1:TimesheetNo> </d3p1:TimesheetServiceActivity> <d3p1:TimesheetServiceActivity> <d3p1:ActivityDescription>sample string 6</d3p1:ActivityDescription> <d3p1:ActivityLineNo>2</d3p1:ActivityLineNo> <d3p1:LineNo>3</d3p1:LineNo> <d3p1:ServiceActivityNo>sample string 4</d3p1:ServiceActivityNo> <d3p1:ServiceCode>sample string 5</d3p1:ServiceCode> <d3p1:TimesheetNo>sample string 1</d3p1:TimesheetNo> </d3p1:TimesheetServiceActivity> </TimesheetServiceActivities> </TimeEntryIVR> <TimeEntryIVR> <ConsumerNo>sample string 2</ConsumerNo> <DateWorked>sample string 18</DateWorked> <Description>sample string 9</Description> <EmployeeNo>sample string 3</EmployeeNo> <GroupShiftId>sample string 22</GroupShiftId> <LineId>5</LineId> <LineNo>4</LineNo> <LineStatus>sample string 6</LineStatus> <PayCycleEndDate>sample string 17</PayCycleEndDate> <PayCycleStartDate>sample string 16</PayCycleStartDate> <RejectedBy>sample string 15</RejectedBy> <RejectionDate>sample string 14</RejectionDate> <RejectionNote>sample string 13</RejectionNote> <RejectionReason>sample string 11</RejectionReason> <RejectionReasonDescription>sample string 12</RejectionReasonDescription> <ServiceCode>sample string 10</ServiceCode> <ShiftEnd>2024-11-16T09:52:49.7264292+00:00</ShiftEnd> <ShiftId>sample string 19</ShiftId> <ShiftStart>2024-11-16T09:52:49.7264292+00:00</ShiftStart> <TimeIn>sample string 7</TimeIn> <TimeOut>sample string 8</TimeOut> <TimesheetNo>sample string 1</TimesheetNo> <TimesheetServiceActivities xmlns:d3p1="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.Timesheets"> <d3p1:TimesheetServiceActivity> <d3p1:ActivityDescription>sample string 6</d3p1:ActivityDescription> <d3p1:ActivityLineNo>2</d3p1:ActivityLineNo> <d3p1:LineNo>3</d3p1:LineNo> <d3p1:ServiceActivityNo>sample string 4</d3p1:ServiceActivityNo> <d3p1:ServiceCode>sample string 5</d3p1:ServiceCode> <d3p1:TimesheetNo>sample string 1</d3p1:TimesheetNo> </d3p1:TimesheetServiceActivity> <d3p1:TimesheetServiceActivity> <d3p1:ActivityDescription>sample string 6</d3p1:ActivityDescription> <d3p1:ActivityLineNo>2</d3p1:ActivityLineNo> <d3p1:LineNo>3</d3p1:LineNo> <d3p1:ServiceActivityNo>sample string 4</d3p1:ServiceActivityNo> <d3p1:ServiceCode>sample string 5</d3p1:ServiceCode> <d3p1:TimesheetNo>sample string 1</d3p1:TimesheetNo> </d3p1:TimesheetServiceActivity> </TimesheetServiceActivities> </TimeEntryIVR> </ArrayOfTimeEntryIVR>