Status: Reviewed entity/operation map; not a complete executable API specification. Exact request/response DTOs, validation errors and action grants are not supplied for every operation.
| Record | Relevant fields/links | Meaning and boundary |
|---|---|---|
| Person | PersonId, employment status/dates, IsRehired/RehireDate; company context | Employment record, separate from login identity. Rehire keeps the existing Person. |
| EmployeeRequest | EmployeeRequestId; target PersonId; policy link; type/status; StartDate; workflow/review counts; next reviewer/role; Note and survey/payroll fields | Exit uses the shared request engine. Structured date and recorded chain drive processing; attachment text is not a replacement date field. |
| EmployeeRequestReview | Request link, reviewer/action and recorded evidence | Individual review history. Routing changes are attributed to a separate trigger whose body is not in the SP catalogue. |
| ExitPolicy / ExitPolicyItem | Policy coverage and configured exit requirements | Task guidance confirms targeting/members/self-service. Full structured notice/clearance enforcement requires verification. |
| EmployeeExit | EmployeeExitId, EmployeeRequestId, ExitDate, IsExited, IsSurveyWaived, IsAssetWaived, CompanyId | Scheduled/processed departure. Waiver fields are not a complete authorisation/gating contract. |
| EmployeeSurvey | Survey/request-person assignment and contextual fields | Assignment is separate from a submitted response and from callback authentication. |
| PayrollChange | Person link, type/status/frequency, basis/value/amount, tax/after-tax, description | Conditional PILON effect; not a bank transaction. Preserve its Pending-versus-Approved conflict. |
| ApplicationUser / UserExit | Linked membership identity, login status and exit marker | Separate membership-store state; not proof that every session or external privilege is revoked. |
| Operation | Documented route or owner | Contract limit |
|---|---|---|
| Admin exit creation | POST /admin/requests/Add_ExitRequest → AdminRequestService → CreateExitRequest | Route is explicitly listed in Requests technical docs; full body and errors need controller/DTO inspection. |
| Employee exit creation | Employee/Requests controller/service → CreateExitRequest_Ess | ESS derives the person from caller identity. Do not fabricate the exact HTTP suffix from the service name. |
| Single / bulk review | POST /admin/requests/Review; POST /admin/requests/Batch_Review | Single uses ReviewEmployeeRequest; bulk checks each request, not a demonstrated all-or-nothing batch. |
| Admin exit view / list | GET /admin/requests/View/Exits; SelectExitRequests in Requests operation inventory | View route is listed; exact Select binding/paging contract is not expanded here. |
| Policies / workflow | Add_ExitPolicy and related policy operations; Admin/Approval_Workflows | Shared configuration families; exact exit-specific CRUD signatures/grants must be inspected. |
| Exit lookup / rehire | Admin/People.SelectExits; Admin/Employees.Rehire → RehirePerson | Ownership inventory, not an inferred full URL/DTO. |
| Asset release, surveys and access | Respective Assets, Surveys and Membership/Identity services | Separate module contracts; no unified “finish all offboarding” endpoint is established. |
Browser routes in chapter 03 are navigation evidence, not API URLs.
The supplied C# wrapper is ReviewEmployeeRequest with these inputs:
| Input | Role |
|---|---|
| EmployeeRequestId | Request being decided. |
| PersonId | Approver’s person ID, not the target employee ID. |
| ReviewActionId | 1 Approve; 2 Decline. |
| Note | Reviewer comment. |
| IsForPayroll; DeductFromPayroll | Nullable payroll-related flags. |
| SurveyId | Exit survey selection where applicable. |
| UserName; DisplayName | Acting-identity attribution. |
The procedure obtains the request’s company/type/target person, commits or rolls back its local transaction, and returns Result 1/0. This is not an HTTP error/status catalogue or a distributed success receipt. A timeout or batch error needs persisted-state reconciliation before retry.
Verify current DTO fields and requiredness, ID binding and row/company filtering, permissions, paging, error/retry semantics, supported approved-exit correction/cancellation, concurrency/duplicate-origin keys, routing trigger, scheduled-date worker and cross-store recovery. Existing generic request cancellation/reset/delete examples do not establish safe reversal of an already executed exit.
Sources: Requests — API reference, Requests & approval workflows — technical documentation, People — API reference and Exit & offboarding — admin & employee guide. Field names above are a source inventory, not a newly designed schema.