Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with getting AuditTrail using RestSharp

New Here ,
Dec 13, 2017 Dec 13, 2017

Hello,

I want to get the audit trail document. Below is my example code, the response returns empty content with "NoContent" status code.

var client = new RestClient( apiAccessPoint );

var request = new RestRequest( string.Format( "/api/rest/v5/agreements/{0}/auditTrail", agreementId ), Method.GET );

request.AddHeader( "Access-Token", accessToken );

var result = client.Execute( request );

What is wrong in my code?

In similar way I trying to get the signed document in that case all works well.

295
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation