Request
|
Uses the
CreateDocumentRequestelement (from the
DocumentService schema)
|
Parameter notes
|
- caseReference - Can be obtained using
getCaseReferencesForDataView.
- name - The best practice is to always include an extension so that other documents of the same name, but with different extensions, can be included in the same case folder (some repositories may require that an extension be included). This name, which is required, can differ from the name of the actual document if you are referencing the document using a URL; the document is stored in the case folder using this name.
- contentURL - The acceptable formats are
http:// and
file:// . Note that
http URLs only work if the content can be obtained anonymously, that is, not using username/password or any other authentication. For file URLs, network paths are supported if the server is running Windows, for example 'file:////myserver/share/file.doc '. If it is a UNIX server, only files on the local server file system, or network shares that have been mounted on the server's file system, can be accessed.
- content - Must be base64Binary.
|
Response
|
Returns a
createDocumentResponse element (from the
DocumentService schema).
|
Example - Passing contentURL
|
|
Example - Passing content
|
|