After i logged in to API i used, I am trying to upload a document with using RestSharp.
I was able to do this using Postman. Screenshot is given below: