---
title: CCClaimApiService
summary: API reference for CCClaimApiService.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# CCClaimApiService

Query provider class in the `SAIF.Data.Queries.Claims` namespace supplying data-access operations; no cross-referenced SQL findings were located for this specific class.**

## Purpose
- Supplies one or more data-access query methods to calling application code.**

## Context
- Namespace: `SAIF.Data.Queries.Claims`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| ValidateClaim | `bool ValidateClaim(long claimId)` | Validates claim.* |
| GetLatestMco | `McoLocation GetLatestMco(long claimId)` | Retrieves latest mco.* |
| GetAllMcoLocations | `Task<IEnumerable<McoLocation>> GetAllMcoLocations(long claimId)` | Retrieves all mco locations.* |
| GetClaim | `Task<InjuryClaim> GetClaim(long claimId)` | Retrieves claim.* |
| GetClaim | `Task<InjuryClaim> GetClaim(string claimNumber, bool idOnly = false)` | Retrieves claim.* |
| GetClaimForOnBase | `Task<ResponseData<ClaimForOnBase>> GetClaimForOnBase(string claimNumber)` | Retrieves claim for on base.* |
| GetWorkerClaims | `Task<List<ClaimWorker>> GetWorkerClaims(long workerId)` | Retrieves worker claims.* |
| GetWorker | `Task<ClaimPerson> GetWorker(long workerId)` | Retrieves worker.* |
| GetWorkerAddress | `Task<WorkerAddress> GetWorkerAddress(long workerId, string addressType)` | Retrieves worker address.* |
| GetNextClaimBillFromQueue | `Task<ClaimBillQueueTask> GetNextClaimBillFromQueue(bool hasConflictAccess)` | Retrieves next claim bill from queue.* |
| RestoreClaimBillToQueue | `Task<int> RestoreClaimBillToQueue(long taskId)` | Performs the `RestoreClaimBillToQueue` operation.* |
| PolicySelectionAsync | `Task<bool> PolicySelectionAsync(string reloadFlag, DateTime processDate)` | Performs the `PolicySelectionAsync` operation.* |
| GetRecoverableOverpaymentAmount | `Task<decimal> GetRecoverableOverpaymentAmount(long claimId)` | Retrieves recoverable overpayment amount.* |
| CCClaimApiService(IEnvironmentService environmentService, HttpClient client, IClaimDataApiClient gwClaimDataApiClient, string baseUrlOverride = "") | `CCClaimApiService(IEnvironmentService environmentService, HttpClient client, IClaimDataApiClient gwClaimDataApiClient, string baseUrlOverride = "")` | Initializes a new instance of the type with the supplied dependencies.* |
| CCClaimApiService(IClaimDataApiClient gwClaimDataApiClient, IEnvironmentService environmentService, HttpClient client, IDataClientConfiguration configuration, IReadOnlyPolicyRegistry<string> policyRegistry) | `CCClaimApiService(IClaimDataApiClient gwClaimDataApiClient, IEnvironmentService environmentService, HttpClient client, IDataClientConfiguration configuration, IReadOnlyPolicyRegistry<string> policyRegistry)` | Initializes a new instance of the type with the supplied dependencies.* |

## Behavioral notes
- Query methods build LINQ expressions over `IQueryable<T>` obtained via `Factory.GetRepository<T>()` and execute them against the underlying NHibernate session.*

## Constraints and usage notes
- Instances are constructed with an `IRepositoryFactory` and are expected to be resolved through dependency injection rather than instantiated directly.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Queries/Claims/CCClaimApiService.cs`
