HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

How to DeserializeObject IQA

How in c# would you DeserializeObject IQA such as below?

var result = await client.GetStringAsync("/asi.scheduler_PROD/api/iqa?queryname=$/GetEstablishmentTypes");

var tempresult = JsonConvert.DeserializeObject<Asi.Soa.Core.DataContracts.PagedResult<Asi.Soa.Core.DataContracts.GenericEntityData>>(result, new JsonSerializerSettings
{
TypeNameHandling = TypeNameHandling.Objects,
TypeNameAssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full
});

Contact us
Copyright © Advanced Solutions International, All rights reserved.