---
title: DocumentRequest
summary: API reference for DocumentRequest.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# DocumentRequest

`DocumentRequest` is a request DTO in the Documents area, carrying the input parameters for a service or API call*.

## Purpose
- Carries the input parameters passed to a Documents service or API operation*.

## Context
- Namespace: `SAIF.Core.Contracts.Documents`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `TemplateId` | `long TemplateId { get; set; }` | References the identifier of the associated template record*. |
| `ContextValue` | `string ContextValue { set; }` | Represents the context value associated with this DocumentRequest*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Documents/DocumentRequest.cs
