Skip to content

A test project that integrat and communicate with one API of electronic signature using C#, RestSharp to make requests and NewtonSoft to treat Json format.

Notifications You must be signed in to change notification settings

JadersonGomes/DEMO-APID4Sign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The D4Sign API is one of the many ways to use electronic signature to authenticate and sign documents with maximum security.

This is a test using and integrating them Web API to do requests and receive responses about the sign proccess. For this, I use C#, RestSharp to make requests and NewtonSoft to treat Json file.

The objective of this project is clarify the integration with API's that can be used to accomplish and send documents for electronic signature. The objective isn't explain how this API works.

How to start?

  • First, you need to look at documention about how start to use D4Sign API on them website. You can do this accessing this link: http://docapi.d4sign.com.br

  • Before this, you need to create a demo account on them website to generate your tokenAPI and cryptKey. You can do it accessing this link: http://demo.d4sign.com.br/login

  • With your tokenAPI and cryptKey, enter in GenericRepository class and insert the tokenAPI and cryptKey in the constructor of the class.

  • Now, you need to install all project's dependency. So, you will install RestSharp to make requests and after you go install NewtonSoft.NET to treat all your responses on Json format.

    You can install those dependencys through Console NuGet Package Manager with those commands:

    • Install-Package RestSharp -Version 106.11.4
    • Install-Package Newtonsoft.Json -Version 12.0.3

  • After doing all last steps, you can create a GenericRepository instance and choose what method you want to use. All of methods returns a object and you can do anything with this.


If you need some help, you can contact me on my email: jaderson_goomes@hotmail.com

About

A test project that integrat and communicate with one API of electronic signature using C#, RestSharp to make requests and NewtonSoft to treat Json format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages