Generating a Geodi Token is needed. If you are preparing an end-user interface, Displaying search results with templates page will be more useful.
(!) QueryHandler.GetSummaries is a simplified service. With the getDocumentSummaries api, you can take advantage of more features, and with GetSummaryType in the query parameter you can set the summary text length.
GetSummaries | |||
---|---|---|---|
Definition | Returns summaries of locations that match the query from within a particular workspace. | ||
Request | [GEODIURL]/QueryHandler?op=GetSummaries&wsName=[WSNAME]&q=[SearchString]&startIndex=[StartIndex]&endIndex=[EndIndex]&options=[OptionsJSON]&UserSession=[TOKEN]
| ||
HttpMethod | GET, POST | ||
Expected Errors | 401 Unauthorized access / Access denied 403 Forbidden 511 Network Authentication Required 501 Server Error | ||
Resulting value |
| ||
Example |
| ||
Example applications |