Hi All,
I am experiencing below error
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
I am trying to do Get Request
Passed 1000 Guids
string path = "https://dev.api.crm.dynamics.com/api/data/v9.1/accounts?$select=name&$filter=Microsoft.Dynamics.CRM.In(PropertyName = 'accountid', PropertyValues = ["Guid"])
public JToken Get(string path, Dictionary<string, List<string>> headers = null)
{
return GetAsync(path, headers).Result;
}
Please assist..
Hi Sai13,
Could you share full code?
In general, we should keep URL under 2000 characters when sending GET request.
You could consider using batch operations for Web API request.
Here is sample in C#:
https://thucnguyen77.blogspot.com/2019/02/dynamics-365-how-to-execute-batch.html
Regards,
Clofly
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Muhammad Shahzad Sh...
106
Most Valuable Professional
Eugen Podkorytov
87