detailDoc
detail the document
Overview
Parameters:
Document`s token - string
Return:
docResponse - In case of success
Exception - In case of failure
To create this document we will need:
set your apiToken;
document`s token.
call the method.
How to use:
Save your apiToken:
const apiToken: string = "YOUR TOKEN";Set the original document`s token:
const docToken: string = "ORIGINAL DOCUMENT TOKEN";Call the detailDoc method to get the DocResponse return or an error message:
Example:
Was this helpful?