Set PDF Document Info
PDF - Set Document Info
Section titled “PDF - Set Document Info”This operation updates PDF document metadata fields like author, title, and dates.
Endpoint
Section titled “Endpoint”POST /api/v1/Pdf/SetPdfDocumentInfoRequest Parameters
Section titled “Request Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| FileContent | string | Yes | - | Base64-encoded PDF content |
| Author | string | No | - | Author to set in metadata |
| CreationDate | DateTime | No | - | Creation date to set |
| Keywords | string | No | - | Keywords to set in metadata |
| ModificationDate | DateTime | No | - | Modification date to set |
| Subject | string | No | - | Subject to set in metadata |
| Title | string | No | - | Title to set in metadata |
Response
Section titled “Response”| Name | Type | Description |
|---|---|---|
| fileContent | string | The processed PDF file with updated metadata (Base64 encoded) |
Implementation Details
Section titled “Implementation Details”The operation modifies the PDF document’s metadata dictionary, updating the specified fields while keeping the document content intact.
Usage Notes
Section titled “Usage Notes”- Only the provided fields will be updated; other metadata will remain unchanged
- At least one metadata field must be provided
- Dates should be provided in ISO format
- This operation is useful for standardizing document metadata before archiving or distribution
Credit Cost
Cost: 1 credit(s) per document
Note: Fixed cost per document regardless of size