AnsweredAssumed Answered

How to change meeting REST query in related pages (leads, ...) in Pro 7.2

Question asked by Harald Kampen on Jan 23, 2015
Latest reply on Feb 11, 2015 by Harald Kampen
When I create a meeting via lead, it's not listed under the lead. The meeting ist available under meetings, hat a date in the future, the user is assigned and the status is "planend". To load the meetings as related entry, following REST request is sent (HTTP quere as PHP list for better view):

array (
  'fields' => 'date_start,id,name,reminder_time,location',
  'max_num' => '100',
  'filter' => array (
    array (
      'reminder_time' => array ('$gte' => '0'),
      'status' => array ('$equals' => 'Planned'),
      'accept_status_users' => array ('$not_equals' => 'decline'),
      'date_start' => array ('$dateBetween' => array (
          0 => '2015-01-22T14:21:38.063Z',
          1 => '2015-01-23T14:26:38.063Z',
      )),
      'users.id' => array ('$equals' => '1')
    ),
  ),
)

The "$dateBetween" property seems to bee the problem, it makes no sense for me. We want to have all meetings in the future of a user assigned to a parent data set, not only for the next day.

How can I can I change it to $gte => [now]?





Outcomes