HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions

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.