DELETE v1/imports/pto-accruals
Delete PTO Accruals
Request Information
URI Parameters
None.
Body Parameters
The items to delete.
Collection of EmployeePTOAccrualHeaderDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PTOCode | string |
None. |
|
| EmployeeNumber | string |
None. |
|
| EmployeePersonalId | integer |
None. |
|
| DivisionCode | string |
None. |
|
| CompanyCode | string |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"ptoCode": "sample string 1",
"employeeNumber": "sample string 2",
"employeePersonalId": 1,
"divisionCode": "sample string 3",
"companyCode": "sample string 4"
},
{
"ptoCode": "sample string 1",
"employeeNumber": "sample string 2",
"employeePersonalId": 1,
"divisionCode": "sample string 3",
"companyCode": "sample string 4"
}
]
text/xml
Sample:
<ArrayOfEmployeePTOAccrualHeaderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
<EmployeePTOAccrualHeaderDTO>
<CompanyCode>sample string 4</CompanyCode>
<DivisionCode>sample string 3</DivisionCode>
<EmployeeNumber>sample string 2</EmployeeNumber>
<EmployeePersonalId>1</EmployeePersonalId>
<PTOCode>sample string 1</PTOCode>
</EmployeePTOAccrualHeaderDTO>
<EmployeePTOAccrualHeaderDTO>
<CompanyCode>sample string 4</CompanyCode>
<DivisionCode>sample string 3</DivisionCode>
<EmployeeNumber>sample string 2</EmployeeNumber>
<EmployeePersonalId>1</EmployeePersonalId>
<PTOCode>sample string 1</PTOCode>
</EmployeePTOAccrualHeaderDTO>
</ArrayOfEmployeePTOAccrualHeaderDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The results of the import.
ImportResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| NewRecords | integer |
None. |
|
| UpdatedRecords | integer |
None. |
|
| Errors | Collection of ImportErrorDTO |
None. |
|
| NewRecordKeys | Collection of ImportKeyDTO |
None. |
|
| UpdatedRecordKeys | Collection of ImportKeyDTO |
None. |
|
| ImportKey | GlobalEntityKeyOfIImportSubmission |
None. |
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.