POST 17.0/database/reportmacrofilters

Description

Create Report Macro Filters

URI Parameters

None.

Name Description Type Additional information
ReportMacroID

integer

None.

ItemID

integer

None.

FilterID

string

String length: inclusive between 0 and 100

Include

byte

None.

Value1

string

String length: inclusive between 0 and 255

Value2

string

String length: inclusive between 0 and 255

DateRange

byte

None.

application/json, text/json

Sample:
{
  "reportMacroID": 1,
  "itemID": 1,
  "filterID": "sample string 1",
  "include": 64,
  "value1": "sample string 2",
  "value2": "sample string 3",
  "dateRange": 64
}

application/xml, text/xml

Sample:
<ReportMacroFiltersUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ReportMacroID>1</ReportMacroID>
  <ItemID>1</ItemID>
  <FilterID>sample string 1</FilterID>
  <Include>64</Include>
  <Value1>sample string 2</Value1>
  <Value2>sample string 3</Value2>
  <DateRange>64</DateRange>
</ReportMacroFiltersUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ReportMacroID

integer

None.

ItemID

integer

None.

FilterID

string

String length: inclusive between 0 and 100

Include

byte

None.

Value1

string

String length: inclusive between 0 and 255

Value2

string

String length: inclusive between 0 and 255

DateRange

byte

None.

application/json, text/json

Sample:
{
  "reportMacroID": 1,
  "itemID": 2,
  "filterID": "sample string 3",
  "include": 64,
  "value1": "sample string 5",
  "value2": "sample string 6",
  "dateRange": 64
}

application/xml, text/xml

Sample:
<ReportMacroFilters xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ReportMacroID>1</ReportMacroID>
  <ItemID>2</ItemID>
  <FilterID>sample string 3</FilterID>
  <Include>64</Include>
  <Value1>sample string 5</Value1>
  <Value2>sample string 6</Value2>
  <DateRange>64</DateRange>
</ReportMacroFilters>