//Process Xml REsponse
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(responseFromServer);
XmlNodeList nodes = xmlDoc.DocumentElement.SelectNodes("row");
foreach (XmlNode node in nodes)
{
ZohoTicketSearch curTicket = new ZohoTicketSearch();
curTicket.billable = node.SelectSingleNode("Billable").InnerText;
curTicket.caseid = node.SelectSingleNode("CASEID").InnerText;
curTicket.caseowner = node.SelectSingleNode("Case Owner").InnerText;
curTicket.hasComments = node.SelectSingleNode("IsCommented").InnerText;
curTicket.priority = node.SelectSingleNode("Priority").InnerText;
curTicket.status = node.SelectSingleNode("Status").InnerText;
curTicket.subject = node.SelectSingleNode("Subject").InnerText;
curTicket.ticketowner = node.SelectSingleNode("Ticket Owener").InnerText;
curTicket.uri = node.SelectSingleNode("URI").InnerText;
curTickets.Add(curTicket);
}
return PartialView("_zohoTickets",curTickets);
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<response uri=\"/api/xml/requests/getrecordsbysearch\">
<result>
<Cases>
<row no=\"1\">
<fl val=\"CASEID\">.......</fl>
<fl val=\"URI\">
<![CDATA[/support/......./ShowHomePage.do#Cases/dv/...........5]]>
</fl>
<fl val=\"IsCommented\">false</fl>
<fl val=\"Subject\">
<![CDATA[TRID - allow real .......]]>
</fl>
<fl val=\"Status\">
<![CDATA[Need QC]]>
</fl>
<fl val=\"Case Owner\">
<![CDATA[Fname Lname]]>
</fl>
<fl val=\"Ticket Owner\">
<![CDATA[Fname Lname]]>
</fl>
<fl val=\"SMOWNERID\">....</fl>
<fl val=\"Priority\">
<![CDATA[Normal]]>
</fl>
<fl val=\"Billable\">
<![CDATA[false]]>
</fl>
</row>
<row no=\"2\">
<fl val=\"CASEID\">....</fl>
<fl val=\"URI\">
<![CDATA[/....../ShowHomePage.do#Cases/dv/......a]]>
</fl>
<fl val=\"IsCommented\">true</fl>
<fl val=\"Subject\">
<![CDATA[TRID - Summary of Transaction changes]]>
</fl>
<fl val=\"Status\">
<![CDATA[Submitted to ... for Review]]>
</fl>
<fl val=\"Case Owner\">
<![CDATA[Fname Lname]]>
</fl>
<fl val=\"Ticket Owner\">
<![CDATA[Fname Lname]]>
</fl>
<fl val=\"SMOWNERID\">........</fl>
<fl val=\"Priority\">
<![CDATA[Normal]]>
</fl>
<fl val=\"Billable\">
<![CDATA[false]]>
</fl>
</row>
<row no=\"3\">