Skip to content

Get available actions

Request

Get available actions. This route has to be called after each change quote data to get to know that action is done

Security
bearerAuth
Path
idstringrequired

id of quote

Query
longPollingbool
Default:"false"
Example:longPolling=true
Headers
X-TENANT-IDstringrequired

Tenant tag

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

Responses

Resource unlocked. No background logic running. List of allowed actions for the quote.

Bodyapplication/json
dataArray of items
Response
{ "data": [ "quote:download", "quote:update", "quote:copy", "quote:calculate", "quote:issue" ], "meta": [], "links": { "quote:changes": "https://app.beta.insly.training/api/v1/ledger/sales/policies/1/changes" } }