POST v1/divisions/{divisionId}/payrolls/{payrollId}/_actions/revert/{importSubmissionId}

Revert Pay Entry Imports

Request Information

URI Parameters

NameDescriptionTypeAdditional information
divisionId

globally unique identifier

Required

payrollId

globally unique identifier

Required

importSubmissionId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

The results of the revert.

RevertResultDTO
NameDescriptionTypeAdditional information
RevertedRecords

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "revertedRecords": 1,
  "message": "sample string 2"
}

text/xml

Sample:
<RevertResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
  <Message>sample string 2</Message>
  <RevertedRecords>1</RevertedRecords>
</RevertResultDTO>