Preparing data before renewal quote create
API Registry
/- Preparing data before renewal quote create
Get policy data with links
Return policy invoices data
Return policy total financials.
Preparing data before ren...
Ledger/Sales service (1.0)
Using Swagger documentation in Postman
You can find instructions on how to convert swagger documentation to Postman collection here.
There is a known problem in Postman with env variables being imported as parameters (:schemaName instead of {{schemaName}}. More info on the issue can be found here.
Possible workaround is to find and replace all parameters with env variables inside Postman. For example search for :schemaName and replace with {{schemaName}}. Instructions how to do it in Postman are here.
Authorization
To obtain a token, start by visiting the identifier service documentation and make a request with your username and password.Once you receive the response, copy the
access_token and use it for making requests to ledger services.Download OpenAPI description
Languages
Servers
Mock server
https://ledger.docs.insly.com/_mock/apis/ledger/bundled
Beta
https://ledger.app.beta.insly.training
Demo
https://ledger.app.demo.insly.com
- Mock serverhttps://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/renewal
- Betahttps://ledger.app.beta.insly.training/api/v1/ledger/policies/{policyId}/renewal
- Demohttps://ledger.app.demo.insly.com/api/v1/ledger/policies/{policyId}/renewal
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/1/renewal \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-TENANT-ID: {$inputs.tenant}'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
Response
application/json
[]
- Mock serverhttps://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/links
- Betahttps://ledger.app.beta.insly.training/api/v1/ledger/policies/{policyId}/links
- Demohttps://ledger.app.demo.insly.com/api/v1/ledger/policies/{policyId}/links
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/123/links?forceCoverageDateFormat=false' \
-H 'Accept-Language: string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-TENANT-ID: {$inputs.tenant}'Response
application/json
{ "data": { "policy": { … }, "customer": { … }, "agent": { … }, "objects": { … } }, "meta": { "status": "string", "version": "10", "schemaPath": "string" }, "links": {} }
- Mock serverhttps://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/invoices
- Betahttps://ledger.app.beta.insly.training/api/v1/ledger/policies/{policyId}/invoices
- Demohttps://ledger.app.demo.insly.com/api/v1/ledger/policies/{policyId}/invoices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/123/invoices \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-TENANT-ID: {$inputs.tenant}'- Mock serverhttps://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{id}/period-totals
- Betahttps://ledger.app.beta.insly.training/api/v1/ledger/policies/{id}/period-totals
- Demohttps://ledger.app.demo.insly.com/api/v1/ledger/policies/{id}/period-totals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{id}/period-totals' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-TENANT-ID: {$inputs.tenant}'