Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    12.1p RestDataSource docs are missing some examples

    Hi Isomorphic,

    could you extend the examples in the RestDataSource docs with information on how to do Set-queries with AdvancedCriteria and Or-queries in simple notation?

    Is this correct?
    Code:
    <request>
        <dataSource>myDS</dataSource>
        <operationType>fetch</operationType>
        <operationId>fetchUpdatedData</operationId>
        <data>
            <_constructor>AdvancedCriteria</_constructor>
            <fieldName>ID</fieldName>
            <operator>inSet</operator>
            <value>16</value>
            <value>17</value>
            <value>18</value>
        </data>
    </request>
    Is this OK as well (resulting in an OR(?))?
    Code:
    <request>
        <dataSource>myDS</dataSource>
        <operationType>fetch</operationType>
        <operationId>fetchUpdatedData</operationId>
        <data>
            <ID>16</ID>
            <ID>17</ID>
            <ID>18</ID>
        </data>
    </request>
    Both requests work in 12.0p, but as the format is not defined in the docs I do not want to run into potential problems on update.

    Thank you & Best regards
    Blama
Working...
X