It looks like something may have changed on this, as the ESignLiveAPIObjects.Data is different than the current OneSpanAPIObjects.Data. There is no field esl_docextract_type, only ese_document_texttag_extract_needed, which is a private member anyway.
TLDR, this code no longer works, and throws a 400 Bad Request error that no approvals were added to the package (when they should be added by the text extraction.
It looks like something may have changed on this, as the ESignLiveAPIObjects.Data is different than the current OneSpanAPIObjects.Data. There is no field esl_docextract_type, only ese_document_texttag_extract_needed, which is a private member anyway.
TLDR, this code no longer works, and throws a 400 Bad Request error that no approvals were added to the package (when they should be added by the text extraction.
Please help!