According to the documentation, you can find the last data object in a table with https://api.backendless.com/<version>/data/<table-name>/last
You can also get the ObjectID of an object by adding parameters to the URL https://api.backendless.com/<version>/data/<table-name>?props=ObjectID&where=Clause
What I would like to know is how to get the ObjectID of the last data object in the table.
When you retrieve the last object in a table, the JSON which comes back will have the objectId property. It will contain the value you’re looking for.
Thanks for the reply. ObjectID is returned but along with all the other properties. Is there a way to capture just the objectID value and assign it to a variable? Thanks.
I was going to suggest adding props=objectId, but that does not work with /last. I think the penalty for getting all of the properties in the response for /last and using only objectId is minimal. What do you think?