{"id":"80deb45f-a54b-497e-aae1-c7b35cc694b8","task":"Build a commercial lines rating engine integration with Duck Creek Rating via the Anywhere REST API","domain":"duckcreek.com","steps":["Authenticate to the Duck Creek Anywhere REST API using the configured identity provider and retrieve a bearer token","Construct a rating request payload with the required commercial lines inputs: insured details, coverage selections, limits, deductibles, and risk characteristics","POST the rating request to the appropriate Duck Creek Rating endpoint for the line of business (e.g., BOP, commercial auto)","Parse the rating response to extract premium components, surcharges, discounts, and the total written premium","Handle multi-coverage package rating by iterating over the coverage breakdowns in the response and storing each component","Implement error handling for rate validation failures, missing required fields, and system unavailability with appropriate retry logic"],"gotchas":["Duck Creek Anywhere REST endpoints are generated from the Duck Creek product configuration; the exact request schema varies by carrier implementation and version deployed","Rate calls are stateful in some Duck Creek deployments; a session token from a quote creation step may be required before calling the rating endpoint","Premium rounding rules are configured in the Duck Creek product and may differ from what your UI calculates independently; always use the system-returned premium as the authoritative figure"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/80deb45f-a54b-497e-aae1-c7b35cc694b8"}