Help

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

Topic Labels: API
1622 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Alex_Rothberg
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"\'}]

2 Replies 2

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.

Juani
4 - Data Explorer
4 - Data Explorer

Is there any way to create the field through the API? Or the only way is manually user enter the field type on the base?