Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Create filter

Method

POST

Syntax

POST /filters/<tenant_dbid>

Response Body

{
  "name": "<filter name>",
  "public": <true/false>,
  "columns": [
    <column definition>,
    ...
  ],
  "criteria": [
    <short criterion definition>,
    ...
  ]
}

Where short criterion definition is defined as the following:

{
  "template_expression": "<template_expression>",
  "elements":
  [
    {
      "name": "<element name>",
      "value": "<current value>"
    },
    ...
  ]
}

Notes

  • A filter is required to contain at least one column. If there is no column, an error status HTTP 400 Bad Request will be returned.
  • The list of criteria may be empty or missing.
  • If an element name is INPUT_ATTRIBUTE_NAME, its value must be a qualified attribute name. If the attribute is not recognized in the requested category, the data category is assumed, regardless of its prefix.
This page was last edited on December 19, 2017, at 11:03.

Feedback

Comment on this article:

blog comments powered by Disqus