Can anyone please help me out on fetching entities related to incident. I found one article in which we need to make two calls to achieve this
1. Getting the system alert id by running the relation API call
in my example the system alert id value located here
2. run a POST request on entities API with the system Alert ID based on the first phase
where the expansionId is constant for get all entities
Here my question is, is these steps mentioned above will get all the entities info associated with an incident or for different entities we have to hit different endpoints.
My second question is there any endpoint through which we can get the structure of all the entities and it's fields. In future entities will increase and so is the associated field, is there an endpoint in management apis through which we can get the whole shema of entities.