Previous Topic: REST ConsiderationsNext Topic: REST and Object Access


REST Limitations

The REST API does not support dotted attribute name references in its resource queries or attributes. REST does not expose any BREL, QREL or LREL attribute that contains a dotted attribute in its relationship query. For example, the chg object in base.maj contains the following QREL attributes:

workload_chg QREL chg DYNAMIC {
WHERE "assignee = ? and active = 1" ; 
PARAM_NAMES { id } ;
DOMSET chg_list; 
} ;
change_tasks QREL wf DYNAMIC {
WHERE "assignee = ? AND status.allow_task_update = 1 " ;
PARAM_NAMES { id } ;
DOMSET wf_list ;
} ;

In this example, workload_chg QREL attributes are available. The change_tasks QREL is unavailable because it contains a dotted attribute (status.allow_task_update) in its WHERE clause.