How to generate a nested query expression to be used in a RESTish AtomSphere API call

Document created by mike_c_frazier Employee on Jan 7, 2013
Version 1Show Document
  • View in full screen mode
Client needs to query against a nested expression with a RESTish API.

     To generate the <QueryFilter> part of the request

     1. set up a soap query in atomsphere with nested conditions
     2. setup charles proxy to capture the request going out to our platform
     3. copy the QueryFilter expression
     4. paste it in the RESTish query xml

     Example of a nested RESTish query:

     <QueryConfig xmlns="http://api.platform.boomi.com/">
     <QueryFilter>
     <expression xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" operator="and" xsi:type="GroupingExpression">
     <nestedExpression operator="EQUALS" property="processId" xsi:type="SimpleExpression">
     <argument>b56e41fe-9745-4017-865e-77d6db2ab087</argument>
     </nestedExpression>
     <nestedExpression operator="LESS_THAN" property="executionTime" xsi:type="SimpleExpression">
     <argument>2012-02-02T23:05:01Z</argument>
     </nestedExpression>
     </expression>
     </QueryFilter>
     </QueryConfig>

1 person found this helpful

Attachments

    Outcomes