Get source document for the latest document version
get
/oitt/api/v1/documents/{documentKey}/sourceDocument
The operation returns source document for the latest version of the document specified by the document key.
Permissions
This operation is only available to users who have the SOURCE_DOCUMENT_READ and DOCUMENT_TRACE_LATEST_VERSION permissions. Users can view only source document of the documents associated with trading partners that are implicit or explicit viewers. Founder users can view all the source documents.Request
Path Parameters
-
documentKey(required): string
A key that uniquely identifies the document.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Source document has been successfully retrieved.
Root Schema : Source Document
Type:
object
Title:
Source Document
403 Response
The user doesn't have permission to view the document.
404 Response
The document doesn't exist.