---
title: "Gets the entities assigned to a specific job"
method: GET
path: "/api/v1/jobs/{jobId}/referrals/entities"
tags: ["JobReferral"]
---

# Gets the entities assigned to a specific job

`GET /api/v1/jobs/{jobId}/referrals/entities`

## 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/jobs/{jobId}/referrals/entities`
- Auth: none declared

## Path parameters

- `jobId` integer, required

## Response `200`

Success

- ReferralAccountViewModel[]
  - `AccountId` integer: The account ID
  - `DisplayName` string, nullable: The display name
  - `AccountType` string, nullable: The account type
  - `ReferralType` string, nullable: The referral type
  - `CommissionRate` number, double, nullable: The commission rate
  - `AssignmentDate` string, date-time: The assignment date
  - `Level` integer: The level in hierarchy
  - `HierarchyPathNames` string, nullable: The hierarchy path names
  - `HierarchyPathIds` string, nullable: The hierarchy path IDs
  - `IsDirectReferral` boolean: Whether this is a direct referral
  - `IsEnrolledInLoyaltyRewardsProgram` boolean: Whether the referring entity is enrolled in the loyalty rewards program
  - `IsActive` boolean: Whether the account is active

---

[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)
