Policy Management
Administrative endpoints for correcting policy records. Each request includes explicit acknowledgments of the change's consequences. Existing policy documents are not regenerated by these operations.
Change Policy Effective Date#
POST https://api.{ENV}.dais.com/ioi/v3/danger/change/policy/effective/date
Request#
curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/danger/change/policy/effective/date' \
--header 'Authorization: Basic <Base64-encoded API key and secret>' \
--header 'Content-Type: application/json' \
--data-raw '{
"policyId": "<UUID of the policy ID>",
"effectiveDate": "2026-02-01",
"riskOfChangingPolicyEffectiveDateAccepted": true,
"riskOfPolicyholderConfusionAccepted": true,
"existingDocsRemainUnchangedAccepted": true
}'
| Property | Required | Description |
|---|---|---|
policyId | Yes | Policy UUID. |
effectiveDate | Yes | New effective date, YYYY-MM-DD. |
riskOfChangingPolicyEffectiveDateAccepted | Yes, true | Acknowledge the risk of changing the effective date. |
riskOfPolicyholderConfusionAccepted | Yes, true | Acknowledge that the correction may confuse the policyholder. |
existingDocsRemainUnchangedAccepted | Yes, true | Acknowledge that existing documents will remain unchanged. |
Omitted acknowledgment flags default to false. Send true only after accepting each consequence. The date field is effectiveDate.
Response#
Returns a Full Policy Object, with the policy record under policy.
Change Policy Number#
POST https://api.{ENV}.dais.com/ioi/v3/danger/change/policy/number
Request#
curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/danger/change/policy/number' \
--header 'Authorization: Basic <Base64-encoded API key and secret>' \
--header 'Content-Type: application/json' \
--data-raw '{
"policyId": "<UUID of the policy ID>",
"newPolicyNumber": "<New policy number>",
"riskOfChangingPolicyNumberAccepted": true,
"riskOfPolicyholderConfusionAccepted": true,
"existingDocsRemainUnchangedAccepted": true
}'
| Property | Required | Description |
|---|---|---|
policyId | Yes | Policy UUID. |
newPolicyNumber | Yes | New policy number. |
riskOfChangingPolicyNumberAccepted | Yes, true | Acknowledge the risk of changing the policy number. |
riskOfPolicyholderConfusionAccepted | Yes, true | Acknowledge that the correction may confuse the policyholder. |
existingDocsRemainUnchangedAccepted | Yes, true | Acknowledge that existing documents will remain unchanged. |
Omitted acknowledgment flags default to false, and the operation rejects requests without all three acknowledgments set to true.
Response#
Returns a Full Policy Object, with the corrected policy record under policy.