I’m currently successfully sending and retrieving documents.
What I need to do is retrieve the document and its signature.
How would I do that?
Here’s what I currently have coded:
Function GetPageImagesAPI(strEnvelopeID As String) As Byte()
Try
Dim oApiClient As ApiClient = NewConfigureApiClient()
Dim oEnvelopesApi As EnvelopesApi = New EnvelopesApi(oApiClient)
Dim ms As MemoryStream = oEnvelopesApi.GetDocumentPageImage(mcreds.accountId, strEnvelopeID, 1, 1)
Dim b As Byte() = ms.ToArray
Return b
Catch ex As ApiException
Throw ex
Catch ex As Exception
Throw ex
End Try
End Function