View.GetCriteria

June 19, 2017

Description

Returns a list of criteria currently specified on the view.

Required parameters

ViewID

Returns

A list of criteria and corresponding attributes (FieldID, ViewCriteriaID, Operator, etc.).

Example request url

https://api.mozenda.com/rest?WebServiceKey=3FE7221C-9097-4B64-AED6-0950F675F377&Service=Mozenda10&Operation=View.GetCriteria&ViewID=1103

Example response

<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Result>Success</Result>
  <CriteriaList>
    <Criteria>
      <FieldID>3402</FieldID>
      <ViewCriteriaID>1100</ViewCriteriaID>
      <ComparisonOrder>1</ComparisonOrder>
      <AndOr/>
      <Operator>EndsWith</Operator>
      <ComparisonValue>.</ComparisonValue>
      <Name>Name</Name>
    </Criteria>
  </CriteriaList>
</ApiResponse>

Need more information?

We'd love to hear from you.

100% Privacy. You are that important to us. Privacy Policy