Where can I find the Entity ID and Entity Type?

This information can be found through the get customer entity views API request. There are 2 options to make a request:


Get entity view data with REST API endpoint

You can find the full description of the endpoint under the following link:

https://iot.cital.io/swagger-ui/#/entity-view-controller/getCustomerEntityViewsUsingGET

 

Get entity view data with ThingsBoard REST client

...
    # Get entity view data
    customer_id = current_user.customer_id.id
    entity_view_data = rest_client.get_customer_entity_views(
        customer_id=current_user.customer_id.id, page=0, page_size=10)

For full details see our Quickstart guide. 

Have a question?