Please enable JavaScript to view this site.

PRD_SIS_004_Developer's Guide 2.6

Navigation: Implementation details

DSL search endpoints

Scroll Prev Top Next More

Aside search parameters, some applications offer a flexible search feature using the ElasticSearch query string DSL syntax.

This feature is available using the query string parameter of the application search endpoints.

Example: Search for Orders in Processing state from seller Parkeon and updated since yesterday:

POST https://{domain}/{platform}/orders/v1/orders/_search?range=10

{

 "@context": {

    ...

 },

 "querystring": "orderStatus:\"sc:OrderProcessing\" AND seller:\"http://example.com/Parkeon\" AND lastUpdatedDate:>now-1d"

}

 

JSON-LD context compaction is not applied inside the query string parameter, and the properties and values must match the service default output context.