Entity records
If you're using the web libraries then you don't have to implement your own request handing for Nextspace records. Below we'll cover some basics about how to get, update, and create Entity records.
The library supports a wide range of functions that may not be covered below. If a particular use-case is not covered, please contact us and we'll add it.
Getting records
If you've setup your environment by reading the getting started documentation then you should be good to go for communication with your Nextspace account.
Below is a few code examples on getting records.
Update a record
If you'd like to update a record it is standard practice to get the latest data before shipping your changes.
We offer request parameters to only update attributes that you pass, but it's best to get the latest data and swap out the attributes you want changed when you want to save.
If you'd like re-render your Entity in the scene so the Style is refreshed, read through the Entity Interaction documentation.
Create a record
Creating a record is the same as updating except you don't need to supply an ID. The server will generate one for you.