Interface DnbLookupClient
@FeignClient(name="dnb-lookup",
configuration=DnbLookupClientConfig.class)
public interface DnbLookupClient
DnbLookupClient -- The client for accessing the webservice.
- Since:
- 3.0.0 2023-01-17
- Author:
- rlichti <rlichti@kaiserpfalz-edv.de>
-
Method Summary
-
Method Details
-
lookup
@GetMapping(value="/sru/dnb", produces="text/xml", consumes="text/xml") List<Book> lookup(@RequestParam("query") String query) This is the generic query to the DNB index.Will result in something like:
<pre>https://services.dnb.de/sru/dnb?version=1.1&operation=searchRetrieve&query=WOE%3D9783958672567&recordSchema=MARC21-xml</pre>- Parameters:
query
- The query to be sent. It has to contain the index followed by a '='. The nicest index is 'WOE'.- Returns:
- A set of Books.
-