Forum Discussion
Entities and it's related fields
Hi,
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
get:
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
Post
body
{
"expansionId": "98b974fd-cc64-48b8-9bd0-3a209f5b944b",
}
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.
Thanks
Avi