Before querying an AFS v7 AutoComPletion (ACP) web service, the following information about the search service is necessary:
- Service Identifier (serviceId)
- Service base URI (serviceURI)
- Service Status (status)
The needed information can usually be obtained from the Search Service Project Manager, or from Antidot when the service is hosted on Antidot SaaS Cloud servers. It is also necessary to decide whether the output feed must be of JSON or JSONP type.
The following example shows information about an acp service:
Query acp for service 7000 from http://afs7.afs-antidot.net with status stable, requesting JSON output.