I'm working on creating of test application for AdobeSign integration.
When I'm trying the call in "try it" page (https://secure.na1.echosign.com/public/docs/restapi/v6#!/agreements/getSigningUrl), I'm getting the following response:
Request URL
Response Body
{ "signingUrlSetInfos": [ { "signingUrls": [ { "email": "someaddress@somedomain.com", "esignUrl": "https://secure.na2.echosign.com/public/apiesign?pid=CBFCIBAA3AAABLblqZhDurMB28N5za2IxNYmueyExUE7WJa4rOkBdiLuIsl78c08sy12rbHyhu-3rh6BlpbI*&client_id=CBJCHBCAABAAjipHE56ILK-vpGLxT7lgDjXfeBYttICf" } ] } ] }
But when I'm trying to get the same call working in c#, I'm getting resource not found response:
{"code":"NOT_FOUND","message":"Resource not found"}
Here is my code:
var client = new RestClient(adobesignURL + "/agreements/" + agreementID);
var request = new RestRequest("signingUrls", Method.GET);
request.AddHeader("Authorization", "Bearer " + adobesignIntegrationKey);
var resp = await client.ExecutePostTaskAsync(request);
If I copy request URL when stepping through the code, it's working properly in Insomnia. What can cause the issue?