AnsweredAssumed Answered

Query by related type field

Question asked by chechaquo chechaquo on Apr 1, 2016

Hello,

 

I'm trying to filter sugar quotes using assigned_user_name field, but don't get the right results,

 

Payload is listed below

sugar/rest/v10/Quotes/filter

{

  "filter": [{

  "assigned_user_name": {

  "$equals": "User Name"

  }

  }],

  "max_num": 170,

  "offset": 0,

  "fields": "name,description",

  "order_by": "name:DESC",

  "favorites": false,

  "my_items": false

}

 

Is there a limitation on query using related fields? If yes, why it doesn't return error?

Outcomes