IActivityDataApiClient¶
Contract implemented by ActivityDataApiClient for creating claim activities in Guidewire ClaimCenter. Consumers depend on this interface (rather than the concrete client) so they can be constructed via dependency injection and unit-tested without a real HttpClient.
Purpose¶
- Declares the single operation for posting a new activity against a claim.
Context¶
- Namespace:
SAIF.Data.Guidewire.Interfaces - Assembly/package:
SAIF.Data.Guidewire(packaged inSAIF.SAIFCode.Core)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| CreateActivityRequest(long, Activity) | void CreateActivityRequest(long claimId, Activity activity) |
Creates a new activity on the claim identified by claimId; the sole implementation (ActivityDataApiClient) posts synchronously and throws on failure per SDG-BR-010 and SDG-BR-011 |
Behavioral notes¶
- This interface carries no behavior of its own; all behavior described above belongs to the implementing class,
ActivityDataApiClient.
Constraints and usage notes¶
- Callers depending on this interface should be aware that the current implementation's
CreateActivityRequestcall is synchronous (blocking) despite performing network I/O*.
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.
Sources¶
Data/SAIF.Data.Guidewire/Interfaces/IActivityDataApiClient.csData/SAIF.Data.Guidewire/Clients/ActivityDataApiClient.cs