The CAFedSearch servlet exposes a RESTful interface where custom search clients, programs, and User Interfaces (UI) can send search requests.
This RESTful interface only accepts the HTTP Collection GET requests following the OpenSearch specification. It provides support for JSON and XML responses. Each request must contain a Service Desk BOPSID token which can be obtained from CA SDM RESTful or SOAP Web Services.
Follow these steps:
You can also obtain a BOPSID token using the REST Access Key by sending an HTTP POST request on the bopsid resource.
NX_ROOT\samples\sdk\rest\java
GET
http://<sdmhostname>:<FS_TOMCAT_PORT>/cafedsearch/sdm/search?q=<searchTerms>&source=<adapterName>&BOPSID=<bopsidToken>&userid=<userId>
Specifies a space delimited list of keywords. Must be URL encoded.
Specifies search engine name as specified in the Search Source record Code field using the adapters configuration utility.
Other supported arguments are as follows:
Specifies the first index desired in the search results, must be integer > = 1.
Specifies Indicates the first page desired in the search results, must be integer >= 1.
Specifies the number of results per page desired by the search client.
Valid values include JSON or XML.
|
Copyright © 2013 CA.
All rights reserved.
|
|