Here look at the result of API call, which give a report in an XML format when we call a function called GetReport(AuthKey,ReportID), first we look how the result look like.
 | Result of GetReport(AuthKey,ReportID) |
| <xml>
| | 1: <report_details>
| | 2: <report_name><![CDATA[This is a sample Report]]></report_name>
| | 3: <report_id><![CDATA[1036067983]]></report_id>
| | 4: <submit_date><![CDATA[2009-10-08 21:36:34]]></submit_date>
| | 5: <job_status><![CDATA[Completed]]></job_status>
| | 6: <preview_clients>
| | 7: <client>
| | 8: <client_code>CLIENT001</client_code>
| | 9: <client_name><![CDATA[Tata Consultancy]]></client_name>
| | 10: <client_description><![CDATA[TCS is a great company]]></client_description>
| | 11: </client>
| | 12: <client>
| | 13: <client_code>CLIENT002</client_code>
| | 14: <client_name><![CDATA[Infosys]]></client_name>
| | 15: <client_description><![CDATA[Infosys is a big name in IT world]]></client_description>
| | 16: </client>
| | 17: </preview_clients>
| | 18: </report_details>
| | 19:</xml>
| | 20: |
|