Get similarity report for first document set

Get Similarity Report for first Document Section

This method returns the “report_url” data for the first document section

Method: report.get_document

Arguments: id (document id), sid, exclude_biblio, exclude_quotes, exclude_small_matches

Returns: sid, api_status, response_timestamp, report_url, view_only_url,view_only_expires, exclude_quotes, exclude_biblio, exclude_small_matches

Errors: Returns an error if an invalid document id is passed

Message: None

Example Request  

<?xml version=”1.0” encoding=”UTF-8”?><methodCall> <methodName>report.get_document</methodName> <params><param> <value><struct> <member> <name>sid</name> <value><string>5d58f1491c3355c6dfbdeccd76429a6c3a94cdc1</string></value> </member> <member> <name>id</name> <value><int>8896</int></value> </member> <member> <name>exclude_quotes</name> <value><boolean>1</boolean></value> </member> <member> <name>exclude_biblio</name> <value><boolean>1</boolean></value> </member> <member> <name>exclude_small_matches</name> <value><boolean>1</boolean></value> </member> </struct></value> </param></params></methodCall>


Example Response  

<struct> <member> <name>sid</name> <value><string>432d8b581da65ae89f9683803e750884d022c568</string></value> </member> <member> <name>status</name> <value><int>200</int></value> </member> <member> <name>view_only_expires</name> <value><dateTime.iso8601>2008-06-27T20:54:24Z</dateTime.iso8601></value> </member> <member> <name>response_timestamp</name> <value><dateTime.iso8601>2008-06-27T20:34:24Z</dateTime.iso8601></value> </member> <member> <name>report_url</name> <value><string>https://api.ithenticate.com/report/1233814/similarity</string></value> </member> <member> <name>api_status</name> <value><int>200</int></value> </member> <member> <name>view_only_url</name> <value><string>https://api.ithenticate.com/view_report/6DE5D6A2-4488-11DD</string> </value> </member></struct>