Remove Authorization document case-by-case
Tuesday, January 22, 2019 at 04:42amSometimes (not always, depends on situation) we want to remove the default Authorization document. I would like to know how to do it with REST API using JSON and http calls to the server. In VB.NET we do this as follows:
referenceToPackage = eslClient.GetPackage(packageId)
Dim loAuthForm As Document = referenceToPackage.Documents(0)
eslClient.PackageService.DeleteDocument(packageId, loAuthForm)
In VB, we do this before adding our own document for signing. With REST API, we are uploading our document upfront with the signature data in the multipart/form-data post body, so i want to make sure the document I remove is the authorization document, not our document.
How would I go about forming the JSON to upload and remove the default authorization document?
Thank you!
-Joe
Reply to: Remove Authorization document case-by-case
Tuesday, January 22, 2019 at 04:52amReply to: Remove Authorization document case-by-case
Tuesday, January 22, 2019 at 05:47amReply to: Remove Authorization document case-by-case
Tuesday, January 22, 2019 at 05:53amPUT /api/packages/{packageId}
with payload of{"status":"SENT"}
Hope this could help! DuoReply to: Remove Authorization document case-by-case
Tuesday, January 22, 2019 at 06:00am