Skip to content

Get quote data

Request

Security
bearerAuth
Path
policyIdstringrequired
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}
Accept-Languagestringrequired

Chosen language

curl -i -X GET \
  'https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/{policyId}?withNotifications=true' \
  -H 'Accept-Language: string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'X-TENANT-ID: {$inputs.tenant}'

Responses

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

Bodyapplication/json
dataobject
metaobject(metaWarning)
Response
{ "data": [], "meta": { "schemaPath": "policy/regular/casco/1", "warnings": [ … ], "errors": [ … ] } }