After inserting a record into VisualFoxPro9, I would like to include the ID in the swagger response.
The ID is generated with the default value: newId("database name").
I have tried using LASTVAL(), SCOPE_IDENTITY(), LAST_INSERT_ID(), and IDENT_CURRENT(), none of which seemed to retrieve the last inserted ID.
To Summarize, How can I return the ID generated by "newId()" after inserting a new data entry.