Un-post a salary-packaged claim
Un-posts a salary-packaged claim (approval), replicating the legacy GUI un-post behaviour and additionally propagating the change to sp_employee_transactions in real time.
The endpoint is available for approvals whose contract resolves to a posting map group of 'salary-packaged'.
The endpoint is idempotent: if the approval is already in the 'active' state (never posted, or already un-posted), a 200 response is returned with a no-op summary and zero rows updated, rather than an error. This permits safe retries after a transient failure.
This method requires the EmployeeClaims:UnPost permission to be associated with your role.
For accessing the API a valid token must be passed in all the queries in the 'Authorization' header.
A valid token is generated by the API and returned by the /authenticate method by supplying a valid username and password.
The following syntax must be used in the 'Authorization' header :
Bearer aaaaaa/bbbbbb.ccccccc.ddddddResponse
Success
More in Employee / Claims
POSTAuto-build claimsGETGet posting classes for auto-build claimsStill need help? Ask the team