latestOpenAPI 3.0.42026-08-10174362.4 KB

70fb92d278f5

References

Create Citation With Attachment

Creates a new manual citation and uploads a file attachment in a single atomic operation. If the file upload or attachment recording fails, the citation is rolled back automatically.

The file is scanned for malware before upload. Infected files are rejected and no citation is created.

Required fields: folderId, title, isMain, file.

Optional citation fields: publicationName, publicationDate, author, notes, abstract, doi, pmid, standardNumber1, standardNumber2, pages, issue, volume, subFolderId, tagsId.

IsMain: 0 = secondary attachment, 1 = primary attachment.

Supports both numeric and GUID folder IDs.

Maximum file size: 100 MB.

post/references/folder/citations/with-attachment

Response

Citation and attachment processed.

folderIdstring nullable

Echo of the folder identifier from the request.

citationIdstring nullable

Echo of the citation identifier from the request.

attachmentIdstring nullable

The generated attachment identifier (numeric or 32-character hex GUID). Null when Success is false.

successboolean

Indicates whether the attachment was uploaded and recorded successfully.

errorstring nullable

Error description when Success is false. Null when the operation succeeds.