External Documents (GET, POST)
- Resource
-
1/connect/external-document - Example URI
-
1https://yourInstance.salesforce.com/services/data/v58.0/connect/external-document - Available version
- 58.0
- Example for GET
-
1https://yourInstance.salesforce.com/services/data/v58.0/connect/external-document?externalDocumentId=${externalDocumentId} -
1https://yourInstance.salesforce.com/services/data/v58.0/connect/external-document?refObjectId=${refObjectId} -
1https://yourInstance.salesforce.com/services/data/v58.0/connect/external-document?externalDocumentId=${externalDocumentId}&refObjectId=${refObjectId} - Example for POST
-
1https://yourInstance.salesforce.com/services/data/v58.0/connect/external-document - HTTP methods
- GET, POST
- Query parameters for GET
-
Parameter Name Type Description Required or Optional Available Version externalDocumentId String ID of an external document record. Required 58.0 refObjectId String ID for the salesforce reference object. Required 58.0 - Response body for GET
- External Document Output
- Request body for POST
-
- JSON example
-
1{ 2 "refObjectId": "", 3 "contentversionId": "", 4 "documentNamePrefix": "namespaceprefix", 5 "isAsync": true 6} - Properties
-
Name Type Description Required or Optional Available Version contentVersionId String Content version ID of the document using which new external document is created. Required 58.0 documentNamePrefix String Document name prefix, which is required to name the newly created external document. Optional 58.0 isAsync String Determines the way the external document gets created. Optional 58.0 refObjectId String ID of the reference object. This can be either a document template or a contract ID. Optional 58.0
- Response body for POST
- External Document Creation Output