ConvertController exposes two overloads of document conversion: a request-object form that carries a Document inside ConvertRequest, and a raw-body form that takes the file bytes directly with the extension and target format as separate parameters.
Field
Value
Controller
ConvertController
Base
System.Web.Http.ApiController
Route prefix
[RoutePrefix("v1")]
Source
PdfAPI\Controllers\v1\ConvertController.cs
Controller-level authorization
None in code
Error handling
Per-action try/catch + ILogService.LogException; response then passes through ApiResponseHandler, whose final outer envelope is unknown** (details)
Converts the document described by a ConvertRequest body to PDF or PDF/A, tracking the request when tracking is enabled, and returns the result whether the conversion succeeded or failed.
Request body fails to deserialize into ConvertRequest*
Framework (model binding, before the action is entered)
Framework default validation body
The Body column above describes only the pre-envelope detail produced by the framework or action. Every response also passes through the globally registered ApiResponseHandler message handler (SAIF.Web.API package), which wraps or post-processes the HTTP response for the whole service. That handler's exact outer envelope shape is implemented inside the package and is not visible in this repository — see Endpoints: Error response shape.
No authorization attribute or programmatic check is present on ConvertController or this action. See Authentication and authorization for the service-wide finding.
Converts a raw document byte array supplied in the request body, using route and query parameters for the source extension and target format, rather than a ConvertRequest wrapper.
None identified — all in-action exceptions on this path are caught
Framework, if a non-caught failure occurs
Exception detail
The Body column above describes only the pre-envelope detail produced by the framework, should this uncaught case occur. Every response also passes through the globally registered ApiResponseHandler message handler (SAIF.Web.API package), which wraps or post-processes the HTTP response for the whole service. That handler's exact outer envelope shape is implemented inside the package and is not visible in this repository — see Endpoints: Error response shape.
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.