AnsweredAssumed Answered

How to set the conditionally Order_BY in rest API?

Question asked by Sanjeev Mallik on Jul 16, 2014
Latest reply on Oct 15, 2018 by sajeesh


          I want to set the conditionally Order_BY in rest API
e.g("B" comes before "A"and "D" comes before "C" means the out put is appear like this "BADC")
  please help me if it is possible

$get_entry_list_parameters = array(

//session id
'session' => $session_id,

//The name of the module from which to retrieve records

'module_name' => 'Accounts',

//The SQL WHERE clause without the word "where".

'query' => $query,

//The SQL ORDER BY clause without the phrase "order by".

'order_by' => " How to set Conditional Order By ",

Outcomes