DELETE api/TimesheetImport
Deletes timesheets that are not currently being used in a payroll
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
timesheets | Array of timesheet records by day. Entry date, Employee ID, Gross To Net Code, Type Code, Distributed Division/Business Unit/Department Codes are required. *The TimesheetImport GET methods return properly filled out records that be used in this delete. *Note: If XML is used, all properties must be supplied |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ { "CompanyCode": "sample string 1", "EntryDate": "2024-12-26T12:59:43.7826228-06:00", "EmployeeId": "sample string 3", "GrossToNetCode": "sample string 4", "TypeCode": "sample string 5", "HoursOrAmount": 6.0, "TemporaryRate": 7.0, "DistributedDivisionCode": "sample string 8", "DistributedBusinessUnitCode": "sample string 9", "DistributedDepartmentCode": "sample string 10", "WorkersCompCode": "sample string 11", "ProjectClientName": "sample string 12", "ProjectName": "sample string 13" }, { "CompanyCode": "sample string 1", "EntryDate": "2024-12-26T12:59:43.7826228-06:00", "EmployeeId": "sample string 3", "GrossToNetCode": "sample string 4", "TypeCode": "sample string 5", "HoursOrAmount": 6.0, "TemporaryRate": 7.0, "DistributedDivisionCode": "sample string 8", "DistributedBusinessUnitCode": "sample string 9", "DistributedDepartmentCode": "sample string 10", "WorkersCompCode": "sample string 11", "ProjectClientName": "sample string 12", "ProjectName": "sample string 13" }, { "CompanyCode": "sample string 1", "EntryDate": "2024-12-26T12:59:43.7826228-06:00", "EmployeeId": "sample string 3", "GrossToNetCode": "sample string 4", "TypeCode": "sample string 5", "HoursOrAmount": 6.0, "TemporaryRate": 7.0, "DistributedDivisionCode": "sample string 8", "DistributedBusinessUnitCode": "sample string 9", "DistributedDepartmentCode": "sample string 10", "WorkersCompCode": "sample string 11", "ProjectClientName": "sample string 12", "ProjectName": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfTimesheetImportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netchex.API.External.Areas.Payroll.Models"> <TimesheetImportDto> <CompanyCode>sample string 1</CompanyCode> <DistributedBusinessUnitCode>sample string 9</DistributedBusinessUnitCode> <DistributedDepartmentCode>sample string 10</DistributedDepartmentCode> <DistributedDivisionCode>sample string 8</DistributedDivisionCode> <EmployeeId>sample string 3</EmployeeId> <EntryDate>2024-12-26T12:59:43.7826228-06:00</EntryDate> <GrossToNetCode>sample string 4</GrossToNetCode> <HoursOrAmount>6</HoursOrAmount> <ProjectClientName>sample string 12</ProjectClientName> <ProjectName>sample string 13</ProjectName> <TemporaryRate>7</TemporaryRate> <TypeCode>sample string 5</TypeCode> <WorkersCompCode>sample string 11</WorkersCompCode> </TimesheetImportDto> <TimesheetImportDto> <CompanyCode>sample string 1</CompanyCode> <DistributedBusinessUnitCode>sample string 9</DistributedBusinessUnitCode> <DistributedDepartmentCode>sample string 10</DistributedDepartmentCode> <DistributedDivisionCode>sample string 8</DistributedDivisionCode> <EmployeeId>sample string 3</EmployeeId> <EntryDate>2024-12-26T12:59:43.7826228-06:00</EntryDate> <GrossToNetCode>sample string 4</GrossToNetCode> <HoursOrAmount>6</HoursOrAmount> <ProjectClientName>sample string 12</ProjectClientName> <ProjectName>sample string 13</ProjectName> <TemporaryRate>7</TemporaryRate> <TypeCode>sample string 5</TypeCode> <WorkersCompCode>sample string 11</WorkersCompCode> </TimesheetImportDto> <TimesheetImportDto> <CompanyCode>sample string 1</CompanyCode> <DistributedBusinessUnitCode>sample string 9</DistributedBusinessUnitCode> <DistributedDepartmentCode>sample string 10</DistributedDepartmentCode> <DistributedDivisionCode>sample string 8</DistributedDivisionCode> <EmployeeId>sample string 3</EmployeeId> <EntryDate>2024-12-26T12:59:43.7826228-06:00</EntryDate> <GrossToNetCode>sample string 4</GrossToNetCode> <HoursOrAmount>6</HoursOrAmount> <ProjectClientName>sample string 12</ProjectClientName> <ProjectName>sample string 13</ProjectName> <TemporaryRate>7</TemporaryRate> <TypeCode>sample string 5</TypeCode> <WorkersCompCode>sample string 11</WorkersCompCode> </TimesheetImportDto> </ArrayOfTimesheetImportDto>
Response Information
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.