Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

4. In the Example Value Model, add:

Code Block
languagejs
themeConfluence
titleSample Generic Extractor POST Body
{
  "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"
        }
      ]
    }
  ]

}

...

  1. The EQL REST API Swagger is available at:

    Code Block
    languagejs
    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


  2. Select EQL from the dropdown list:
  3. Click eql-rest, then click POST and Try it Out>.
  4. In the Example Value Model enter the following:

    Code Block
    languagejs
    themeConfluence
    titleSample 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"
    }


  5.  Click Execute.

    The result is shown in the Response Body box below:

...