---
title: IPolicyHeaderService
summary: API reference for IPolicyHeaderService.
status: draft
owner: SAIF IT Core Services
last_reviewed: 2026-10-12
library: BolMiddleware
reference_type: package
---

# IPolicyHeaderService

Contract for loading the policy header and the policy relationships from the Policy Header API. `PolicyHeaderService` implements it.

## Purpose
- Supply the header shown at the top of policy pages and the associated policies for the dropdown ([BR-BOLMIDDLEWARE-013](../../business-rules.md#br-bolmiddleware-013-external-association-filtering)).

## Context
- Namespace: `BolMiddleware.Services.Headers.Policy`
- Assembly/package: `BolMiddleware`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetHeader` | `PolicyHeader GetHeader(long policyNumber, long? customerId, string? userTypeCode)` | Returns the header for the policy, with associations filtered for the user type. |
| `GetRelationships` | `List<PolicyAssociation> GetRelationships(long policyNumber)` | Returns the policies related to the given policy. |

## Behavioral notes
- Registered as singleton.

## Constraints and usage notes
- Callers should treat failures as possible; see the implementation page.

## Sources
- src/BolMiddleware/Services/Headers/Policy/IPolicyHeaderService.cs
