Skip to content

Create a new quote

Request

Create a new quote by schema, you can get schema in Schemes section

Security
bearerAuth
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Accept-Languagestringrequired

Chosen language

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/create \
  -H 'Accept-Language: string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-TENANT-ID: {$inputs.tenant}' \
  -d '[]'

Responses

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

Bodyapplication/json
any
Response
[ "See response description for more details." ]