ResourceLockContract result = apiInstance.GetResourceLock("loan", LoanGuid);
Console.WriteLine(result.ToString());`
The error I get is:
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Elli.Api.Loans.Model.ResourceLockContract' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. etc
I've tried assigning it as several variations of a string or list but can't get the response to assign to anything to see what the json even looks like, I just keep seeing this error. Can someone please point me in the right direction?
I'm am having an issue with the GetResourceLock method of the Elli.Api.Loans.Api.ResourceLocksApi. I followed the example from here:
https://github.com/EllieMae/developerconnect-dotnet-bindings/blob/3b76cb2e99353f2184f8167410da3abfd8d0ee4a/DotNetBindings/Elli.Api.Loans/docs/ResourceLocksApi.md#getresourcelock
My code:
`var apiInstance = ApiClientProvider.GetApiClient(EllieMaeAuthorization.AccessToken);
ResourceLockContract result = apiInstance.GetResourceLock("loan", LoanGuid); Console.WriteLine(result.ToString());`
The error I get is:
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Elli.Api.Loans.Model.ResourceLockContract' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. etc
I've tried assigning it as several variations of a string or list but can't get the response to assign to anything to see what the json even looks like, I just keep seeing this error. Can someone please point me in the right direction?
Thank you