Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

From API 3.19.0 is possible using to use both OR and AND operators in API queries. The two new operators syntax are:

...

CargoPort?filter=cargo.charterer.key(EQ)1001845&filter=cargo.voyage.voyageStatus(EQ)%20&filter=port.portName(IN)(OSLO)&filter=reasonForCall.reasonForCall(EQ)L&filter=(OR)&filter=cargo.voyage.voyageStatus(EQ)%20&filter=port.portName(IN)(GAETA)&filter=reasonForCall.reasonForCall(EQ)D&filter=(OR)&filter=reasonForCall.reasonForCall(EQ)E

 

Limitations for this first release:

  • It is not possible use calculated fields with AND and/or OR. It is not possible use objects in cache, like Port, with AND and/or OR. 

  • Parenthesis are not supported