Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Content Hub File Upload Output
Output representation for Content Hub File Upload.
- JSON Example
-
1{ 2 "code": 201, 3 "contentDocumentId": "069xx0000004CH6", 4 "contentDocumentLinkId": null, 5 "contentVersionId": "068xx0000004CH6AAM", 6 "isSuccess": true, 7 "message": "The file null has been uploaded at 00Dxx0000006Gnj-sfdcroot/onlyCases/simple/sf_agent_1741704735043.png" 8} - Properties
-
Property Name Description isSuccess Indicates whether the request succeeded (true) or failed (false). contentVersionId The content version ID generated at the server side for the file being uploaded. contentDocumentId The content document ID generated at the server side for the file being uploaded. contentDocumentLinkId The content document link ID, which maintains the link between contextId and Content Document ID. code The status code that represents the status of the request. message The message that explains why the request failed or a related message.