Skip to main content
Participant
December 13, 2017
Question

Problem with getting AuditTrail using RestSharp

  • December 13, 2017
  • 0 replies
  • 321 views

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.

    This topic has been closed for replies.