GET

Get results for the specified filter.

URL:

https://<ServerIP>:<Port>/ccp-webapp/ccp/filter/<objectId>/results

HTTPS method:

GET

URL parameters:

  • document: the text that the configured filter analyzes.
  • socialContact: the refURL of the social contact that the configured filter analyzes.

It is valid to provide either document or social contact, but invalid to provide both or neither.

Example XML response:

The filter results are returned as a single <FilterResult> element that contains five required child elements.

FilterResult: the container for the result.

  • document: the text passed to the filter for analysis.
  • logBuffer: the aggregation of the social contact filter log output.
  • refURL: the URL of the filter results request.
  • result: the result of the filter analysis expressed as an integer from 1–100.
  • socialContact: the refURL of the social contact that was passed to the filter for analysis.

<FilterResult>
  <refURL>
     https://[ServerIP]:[Port]/ccp-webapp/ccp/
     filter/[id]/results
  </refURL>
  <result>100</result>
  <document>
   The text that was passed to the filter for analysis.
  </document>
  <socialContact> 
     The refURL of the social contact that was passed to the 
     filter for analysis.
  </socialContact>
  <logBuffer>
   The social contact filter log output.
  </logBuffer>
</FilterResult>