Skip to content

Calculate quote

Request

Calculate quote

Security
bearerAuth
Path
idintegerrequired

Quote id

Query
withNotificationsbooleanrequired

Forced Required to use in documentation, to get additional data about quote status: meta block from example with warnings, errors. Plan to make it as default behaviour.

Default:"true"
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Bodyapplication/json

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
curl -i -X POST \
  'https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/{id}/calculate?withNotifications=true' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-TENANT-ID: {$inputs.tenant}' \
  -d '[]'

Responses

Full structure per product can be taken from json scheme Product json scheme. with type: policy and name: {name of the insurance product}.

Bodyapplication/json
dataany
Example:
[ "See response description for more details." ]
Response
[]