Security
bearerAuth
Full request structure per product can be taken from json scheme Product json scheme. with type: policy and name: {name of the insurance product}.
any
- Betahttps://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/mta
- Demohttps://ledger.app.demo.insly.com/api/v1/ledger/sales/policies/mta
curl -i -X POST \
https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/mta \
-H 'Accept-Language: string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-TENANT-ID: {$inputs.tenant}' \
-d '{
"policy": {
"id": "{policyId}"
},
"schema": {
"name": "{name of the insurance product}",
"type": "policy"
}
}'Response
{ "policy": { "id": "1234", "policyNo": "string", "dateIssue": "2019-08-24", "dateInception": "2019-08-24", "dateExpiry": "2019-08-24", "financials": { … }, "params": { … } }, "customer": { "name": "string", "code": "string", "params": { … } }, "agent": { "broker": "string", "code": "string", "params": { … } }, "objects": { "objectId": { … } } }