Skip to content

Send quote to referral

Request

It's async request, UI sends "actions" endpoint and waits until lock is released

Security
bearerAuth
Path
policyIdstringrequired
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Bodyapplication/jsonrequired

Send quote to referral comment

commentstring
Example:"Reason of sending quote to referral"
curl -i -X POST \
  'https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/{policyId}/referrals' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-TENANT-ID: {$inputs.tenant}' \
  -d '{
    "comment": "Reason of sending quote to referral"
  }'

Responses

Quote has been sent to referral

Bodyapplication/json
Response

No content

// No response example