Skip to content

Issue quote

Request

Issue quote, after got success please check process status by /api/v1/ledger/requests/{requestId} you can find it in this doc

Security
bearerAuth
Path
idstringrequired

id of quote

Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Bodyapplication/json

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

Responses

Issue request id

Bodyapplication/json
requestIdstring
Example:"64ff614a-551f-4b38-a7ba-37b7285c9562"
Response
{ "requestId": "64ff614a-551f-4b38-a7ba-37b7285c9562" }