Sort on REST API by `createdTime` without adding new Column

Topic Labels: API
1235 1
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

Is it possible to request results from the REST be sorted by the createdTime (which is returned on the payload) without needing to add a new column to the table? i.e. right now if I pass createdTime to sort, I get back an error: [Error: {\'type\': \'UNKNOWN_FIELD_NAME\', \'message\': \'Unknown field name: "createdTime"\'}]

1 Reply 1

Not currently. The sort parameters for the REST API only expect fields, so you need a field that contains the created time. It is a handy field to have around anyway.