Example #1
0
 /// <summary>
 /// Updates a signer.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="signerId"></param>
 /// <param name="signerOptions"></param>
 /// <returns></returns>
 public Task <Signer> UpdateSignerAsync(Guid documentId, Guid signerId, SignerOptions signerOptions)
 {
     return(PatchAsync <Signer>($"{Urls.SignatureDocuments}/{documentId}/signers/{signerId}", signerOptions));
 }
Example #2
0
 /// <summary>
 /// Creates a new signer.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="signerOptions"></param>
 /// <returns></returns>
 public async Task <Signer> CreateSignerAsync(Guid documentId, SignerOptions signerOptions)
 {
     return(await PostAsync <Signer>($"{Urls.SignatureDocuments}/{documentId}/signers", signerOptions));
 }
Example #3
0
 /// <summary>
 /// Updates a signer.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="signerId"></param>
 /// <param name="signerOptions"></param>
 /// <returns></returns>
 public Signer UpdateSigner(Guid documentId, Guid signerId, SignerOptions signerOptions)
 {
     return(Patch <Signer>($"{Urls.SignatureDocuments}/{documentId}/signers/{signerId}", signerOptions));
 }
Example #4
0
 /// <summary>
 /// Creates a new signer.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="signerOptions"></param>
 /// <returns></returns>
 public Signer CreateSigner(Guid documentId, SignerOptions signerOptions)
 {
     return(Post <Signer>($"{Urls.SignatureDocuments}/{documentId}/signers", signerOptions));
 }