...
4. In the Example Value Model, add:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "extractParameters": [ { "name": "ebs:default:outputformat", "value": "EagleJSON" }, { "name": "ebs:default:invalidatecache", "value": "Y" } ], "extracts": [ { "name": "ebs:genericentity", "extractParameters": [ { "name": "maxrows", "value": "5" } ] }, { "name": "ebs:interfaces", "extractParameters": [ { "name": "maxrows", "value": "10" } ] } ] } |
...
The EQL REST API Swagger is available at:
Code Block language js http://eagle-web-server/eagle/v2/eql/api-doc
The EQL interface allows for the execution of a custom or core Eagle Data Services interface. You can execute a request from the EQL REST API using the MC2 Swagger UI at:
Code Block http://eagle-web-server/mc2/swagger-ui.html
- Select EQL from the dropdown list:
- Click eql-rest, then click POST and Try it Out>.
In the Example Value Model enter the following:
Code Block language js theme Confluence title Sample EQL REST API post body to execute EDS interface (example using core EDS interface genericentity) { "FeedType" : "genericentity" , "emlObjectType": "Entity", "outputformat": "EagleJSON", "filters": { "maxrows" : "5" }, "SaveSQLQuery": "Y", "invalidatecache": "Y" }
- Click Execute.
The result is shown in the Response Body box below:
...