HttpResponseMessage response = httpClient.GetAsync(ConfigurationManager.AppSettings["ServerAddress"] + "api/data/v8.0/" + uri, HttpCompletionOption.ResponseHeadersRead).Result; JObject responseObject = new JObject(); if (response.IsSuccessStatusCode) { responseObject = JObject.Parse(response.Content.ReadAsStringAsync().Result); dynamic systemUserObject = JsonConvert.DeserializeObject(jRetrieveResponse.ToString()); foreach (var data in systemUserObject.value) { var contactType= data.contacttype.Value; } }
Iam using Rest API to connect CRM and while converting Can we convert Json object to entity Collection ? or is there any easy way to convert response data to entity collection ?
*This post is locked for comments