Read Document
The ReadDocument
API is used to read a document in OCS.io.
API Overview
Parameters Required for Reading Document
The following table lists and describes the parameters required to read a document through the ReadDocument
API:
Parameter | Description |
---|---|
documentRefId |
ID (Ref ID) of the Document. Either 'documentRefId' or 'documentNo' must be provided. |
documentNo |
Number of the Document as generated by RM. Either 'documentRefId' or 'documentNo' must be provided. |
Detailed API documentation and endpoint specifics are available here. |
Request Validations
The following validations are performed when reading a document:
-
Document must exist in the system.
-
Document Type associated with the Document must be configured in the way, that documents of that type are stored in the system.