---
title: "Logs an entity tracking entry for each referring entity touched during a hierarchy save"
method: POST
path: "/api/v1/Referrers/track-hierarchy-update"
tags: ["ReferrersApi"]
---

# Logs an entity tracking entry for each referring entity touched during a hierarchy save

`POST /api/v1/Referrers/track-hierarchy-update`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/Referrers/track-hierarchy-update`
- Auth: none declared

## Request body

- TrackHierarchyUpdateRequest: Request model for logging hierarchy tracking entries
  - `EntityIds` integer[], nullable: Gets or sets the referring entity IDs touched during the hierarchy save
  - `TrackingEntries` TrackHierarchyEntry[], nullable: Gets or sets detailed tracking entries for each entity
    - `EntityId` integer
    - `EntityName` string, nullable
    - `Action` string, nullable
    - `RelatedEntityId` integer, nullable
    - `RelatedEntityName` string, nullable
    - `RelationshipType` string, nullable
    - `Comment` string, nullable
  - `Comment` string, nullable: Gets or sets an optional comment to store with the tracking record

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
