How to create a POI using the Frontend API

Prev Next

Introduction

Purpose

How to create a POI in NavVis IVION using the frontend API.

Scope

This solution applies to the NavVis IVION Frontend API.

Procedure

The method for creating a new POI is "save".

1 Create an empty POI entity

https://docs.navvis.com/cloud/v10.0/en/html/_static/ts_docs/interfaces/poirepositoryinterface.html#create

2 Define the POI parameters manually or copy from an existing POI and then edit some of the fields

Exclude ID when copying, as that is not writable.

https://docs.navvis.com/cloud/v10.0/en/html/_static/ts_docs/interfaces/poirepositoryinterface.html#findone
https://docs.navvis.com/cloud/v10.0/en/html/_static/ts_docs/interfaces/poiinterface.html#copy

3 Save the new POI (ID empty)

https://docs.navvis.com/cloud/v10.0/en/html/_static/ts_docs/interfaces/poirepositoryinterface.html#save