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?
Is this OK as well (resulting in an OR(?))?
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
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>
Code:
<request> <dataSource>myDS</dataSource> <operationType>fetch</operationType> <operationId>fetchUpdatedData</operationId> <data> <ID>16</ID> <ID>17</ID> <ID>18</ID> </data> </request>
Thank you & Best regards
Blama
Comment