Question about setting externalId via API

In my application, I have data that I want to link with Mappedin data such as buildings, floors, and rooms. I noticed that Mappedin has an externalId field, which is perfect for this purpose. However, I have only found a way to set it through the Mappedin Map Editor.

Is there a way to set or update externalId via API from my application? I would like to avoid manually copying and pasting IDs into the editor to reduce routine work and the risk of errors.

If this is not possible, can I instead use the space.id field and store it in my database to link these entities? This question applies not only to space but also to floor and building.

Thank you!

The externalId field was designed for exactly the use case you describe. I do recommend making use of that over the *.id field. These IDs may change when the map is edited and are only valid at runtime (i.e. they could change if the user refreshes your app). For this reason you should not use the id field in your database.

Currently the externalId can only be set in the map editor. However, we are working on adding to our REST APIs and allowing you to update location data, which will give you the ability to tie it into your app. We are aiming to release these in Q3 of this year.

Thanks for the response!