{ "opencollection": "1.0.0", "info": { "name": "Majesco Insurance Policy Administration Billing Policies API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.majesco.example.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Policies", "type": "folder" }, "items": [ { "info": { "name": "List policies", "type": "http" }, "http": { "method": "GET", "url": "https://api.majesco.example.com/v1/policies", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter by policy status" }, { "name": "productType", "value": "", "type": "query", "description": "Filter by insurance product type" }, { "name": "policyholderName", "value": "", "type": "query" }, { "name": "effectiveDateFrom", "value": "", "type": "query" }, { "name": "effectiveDateTo", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "pageToken", "value": "", "type": "query" } ] }, "docs": "Retrieve a paginated list of insurance policies. Supports filtering by product type, effective date, status, and policyholder." }, { "info": { "name": "Create a new policy", "type": "http" }, "http": { "method": "POST", "url": "https://api.majesco.example.com/v1/policies", "body": { "type": "json", "data": "{}" } }, "docs": "Initiate a new insurance policy. The system validates underwriting rules and returns a policy number on success." }, { "info": { "name": "Get a policy by policy number", "type": "http" }, "http": { "method": "GET", "url": "https://api.majesco.example.com/v1/policies/:policyNumber", "params": [ { "name": "policyNumber", "value": "", "type": "path" } ] }, "docs": "Retrieve full details of a single policy including coverage, endorsements, and premium breakdown." }, { "info": { "name": "Update (endorse) a policy", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.majesco.example.com/v1/policies/:policyNumber", "params": [ { "name": "policyNumber", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Apply mid-term endorsements to an in-force policy such as coverage changes, vehicle additions, or address updates." }, { "info": { "name": "Cancel a policy", "type": "http" }, "http": { "method": "POST", "url": "https://api.majesco.example.com/v1/policies/:policyNumber/cancel", "params": [ { "name": "policyNumber", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Cancel an in-force policy with a cancellation reason and effective date." }, { "info": { "name": "Renew a policy", "type": "http" }, "http": { "method": "POST", "url": "https://api.majesco.example.com/v1/policies/:policyNumber/renew", "params": [ { "name": "policyNumber", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generate a renewal offer for a policy approaching its expiration date." } ] } ], "bundled": true }