Get source document for the specific document version
get
/oitt/api/v1/documents/{documentKey}/versions/{documentVersion}/sourceDocument
The operation returns source document for given document version and document key.
Permissions
This operation is only available to users who have the SOURCE_DOCUMENT_READ and DOCUMENT_TRACE 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.
-
documentVersion(required): string
Version of a document identified by some document key.
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.