addExtraDoc
Add an attachment (extra document)
Overview
Parameters:
Retorno:
ExtraDocResponse - In case of success
Exception - In case of failure
To create this document we will need:
set your apiToken;
original document`s token;
build the extra document;
call the method.
How to use:
Save your apiToken:
const apiToken: string = "YOUR TOKEN";Save your original document`s token:
const docToken: string = "ORIGINAL DOCUMENT TOKEN";Build your extra doc with the ExtraDoc class:
Finally, call the addExtraDoc method to get the ExtraDocResponse or an error message:
Example:
Was this helpful?