| Record | Important source fields / responsibility |
|---|---|
| DocumentTemplate | Type/status, Contents, Alias, Url, FileDate, ReviewDate, audience/default/signature flags. |
| Company counter-signature | SignaturePersonId, Signature, SignatureDate on DocumentTemplate. |
| EmployeeDocument | PersonId, DocumentTemplateId, employee Signature and ActionDate. |
| Signatory | PersonId, IsPrimary, CompanyId. |
| SmartText | Alias/Description and five independent context flags. |
| DocumentPolicy / items | Documentation policy; requests route through Requests. |
Types: Offer=1, Employee document=2, Company document=3. Template status: In progress=1, Completed=2, Approved=3, Declined=4. Recipient completion is not another value in that template enum.
| Method / controller | Routes and purpose |
|---|---|
| GET Admin/Documents | View/Templates, Select, GetTemplate, Get, CheckTemplate. |
| POST Admin/Documents | Add (template), Add_Document (upload), Rename, Approve, Decline. |
| POST Admin/Documents issue | Assign, Recall. |
| POST Admin/Documents lifecycle | Delete, Restore, Remove; exact evidence-retention/removal effects require verification. |
| GET Employee/Documents | Select, Get, scoped to the employee’s documents. |
| POST Employee/Documents | Sign and Acknowledge, with different completion fields. |
| GET Documents | View/Download_Template and View/Download; verify access/ownership. |
The historical counts are 15 admin, four employee and two shared/download endpoints. An observed middleware Select route does not prove every endpoint uses middleware.
NewDocumentTemplateModel backs Add; NewDocumentTemplateAssignmentModel backs Assign; SignDocumentTemplateModel and AcknowledgeDocumentTemplateModel back their distinct employee actions. DocumentTemplateViewModel and EmployeeDocumentViewModel represent separate read concepts.
Exact DTO properties/nullability, template history, immutable issued-content linkage, assignment selectors, validation/errors, file constraints, duplicate-signing protection and recall/delete retention are not supplied by this route map. Do not fill those gaps with a new contract. Hiring’s Offer.DocumentTemplateId is a dependency, not a substitute for its candidate-signing API.
Documents — business view · Documents — technical view · Documents — configuration · Documents — API reference · Documents — user journeys · Documents — runbook
July system documentation identifies Company Documents as PaidHR-issued and absent from tenant authoring, while several Handhold articles describe tenant-created company-wide documents. These claims are unresolved; do not infer a create path or universal visibility. Employee completion and template/signatory screens were partly code-derived. Middleware/core routing, immutable issued-content snapshots, recall retention, fine-grained download grants and exact deletion semantics remain unverified.