Entity and state map

Entity / fields Role
EmployeeRequest Shared row: EmployeeRequestTypeId, PersonId, policy/type-specific data, company context and status.
ReviewStepsCount / WorkflowStepsCount Progress versus required number of steps; not the status enum.
NextReviewEntityId / NextReviewEntityRoleId / ReviewStatus Next person/role and display label. Trigger-maintained behaviour remains partly unverified.
EmployeeRequestReview Per-action evidence; reset can hard-delete it.
ApprovalWorkflow / ApprovalWorkflowConfigSetting Category and company/department chain settings.
EmployeeExit / EmployeeRedeployment / EmployeeSuspension Employment outcome records owned with People.
EmployeeLeaveBalance / logs / perk balances Leave-specific effects; current contract lives with Leave.
CustomNotification* / AuditTrail Notification configuration and action evidence.

Known HTTP surface

These are source endpoint names, not a reconstructed complete OpenAPI schema.

Method / route family Purpose
POST /admin/requests/Add_LeaveRequest, Add_LoanRequest, Add_AdvanceRequest, Add_DocumentRequest, Add_ExitRequest Create the named type.
POST /admin/requests/Add_RedeploymentRequest/{id} Source identifies id as the redeployment policy.
POST /admin/requests/Review Single review, backed by ReviewEmployeeRequest.
POST /admin/requests/Batch_Review Batch review; do not assume all-or-nothing success.
GET /admin/requests/GetEmployeeRequest/{id} Request detail.
GET /admin/requests/SelectLeaveRequests and other Select* families Queue/list reads.
POST /admin/approval_workflows/Update/{id} Workflow configuration update.
GET /admin/approval_workflows/GetReviewSteps/{id} Selectable step list.
/employee/requests/* ESS paths; verify exact signatures rather than copying admin DTOs.
Integration/Leave/RequestNotification Separate inbound HRIS integration boundary.

Procedure contract

ReviewEmployeeRequest receives EmployeeRequestId, approver PersonId, ReviewActionId (1 approve, 2 decline), Note, IsForPayroll, DeductFromPayroll, SurveyId and actor names. SurveyId is relevant to Exit; the route model still requires inspection. Do not confuse approver PersonId with the request’s PersonId.

Exact DTO nullability, pagination/error envelopes, optimistic concurrency, duplicate-submission protection and per-action grants are not supplied by the endpoint map. Keep these as engineering checks, not invented fields.

Source scope

Requests & approval workflows — business documentation · Requests & approval workflows — technical documentation · Requests — configuration reference (deep dive) · Requests — API reference · Requests — user journeys · Requests — operational runbook

The July Requests snapshot contains stale claims: Leave belongs to workflow category 2, not 1; SQL decline restores leave balance despite an older paragraph saying otherwise; delete/reset semantics differ from summary labels. October Leave documentation owns its expanded states and balance lifecycle. Trigger DDL, self-approval enforcement, exact fine-grained grants, bulk atomicity and downstream retry guarantees remain unverified.