PolicyDocDistributionCall¶
Preset-based policy document distribution client that posts PolicyDocumentConfig payloads to /v1/documents/distribute/presets.
Purpose¶
- Provide the newer preset-driven distribution path alongside the older fully specified
DistributionRequestmodel. - Forward policy-document payloads that let the downstream service resolve channel presets server-side.
Context¶
- Namespace:
SAIF.Business.Policy.Audit.ApiCalls - Assembly/package:
SAIF.Business.Policy.Audit.ApiCalls
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| PolicyDocDistributionCall | public PolicyDocDistributionCall() |
Constructs the client and resolves the preset-distribution API base URL plus caller identity. |
| DistributeApiCall | public bool DistributeApiCall(PolicyDocumentConfig documentConfig) |
Posts a preset-driven PolicyDocumentConfig payload to /v1/documents/distribute/presets and always returns true after the request completes. |
Behavioral notes¶
- The method deserializes a
RequestResultresponse but does not inspect it before returningtrue.
Constraints and usage notes¶
- The client depends on environment setting
policydocumentdistributionapi.urlduring construction.
Sources¶
Business\SAIF.Business.Policy.Audit.ApiCalls\PolicyDocDistributionCall.cs