{"items":[{"type":"link","label":"Ledger/Sales service","link":"/tenancy/accelerate/ledger-open-api/bundled","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled","content":{"contentType":"overview","meta":{"name":"Ledger/Sales service"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"bundled.json","url":"/_bundle/tenancy/accelerate/ledger-open-api/bundled.json?download"},{"kind":"download","label":"bundled.yaml","url":"/_bundle/tenancy/accelerate/ledger-open-api/bundled.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Ledger/Sales service (1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Using Swagger documentation in Postman"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nYou can find instructions on how to convert swagger documentation to Postman collection\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://medium.com/c-sharp-progarmming/convert-swagger-documentation-to-postman-collection-d67fc95c7b14"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nThere is a known problem in Postman with env variables being imported as parameters ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":":schemaName"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\ninstead of "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{{schemaName}}"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":". More info on the issue can be found\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://github.com/postmanlabs/postman-app-support/issues/4598"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nPossible workaround is to find and replace all parameters with env variables inside Postman. For example search for\n:schemaName and replace with {{schemaName}}. Instructions how to do it in Postman are\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://blog.postman.com/find-and-replace-text-code-and-variables-in-postman/"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":".\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"hr","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Authorization"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nTo obtain a token, start by visiting the\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"/apis/identifier/swagger/authentication/login"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"identifier service documentation"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nand make a request with your username and password."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nOnce you receive the response, copy the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"access_token"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" and use it for making requests to ledger services."},"children":[]}]}],"sectionId":"/tenancy/accelerate/ledger-open-api/bundled"}],"sectionId":"/tenancy/accelerate/ledger-open-api/bundled"}]}]}},{"type":"group","label":"Quote Create","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-create","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-create","items":[{"label":"Create a new quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-create/quote-create","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-create/quote-create","metadata":{"seo":{"title":"Create a new quote","description":"Create a new quote by schema, you can get schema in Schemes section"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-create","name":"Create a new quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create a new quote by schema, you can get schema in Schemes section"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_985","description":"Chosen language","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/create","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"responseCodes":["200","422","500"],"pointer":"/api/v1/ledger/sales/policies/create","href":"quote-create/quote-create","openApiOperationId":"quote-create","summary":"Create a new quote"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity"]},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"},{"code":"500","description":"Unexpected server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}},"schemaId":"components/schemas/ServerError"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-create/quote-create"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/create"},{"label":"Change policy","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-create/policy-mta","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-create/policy-mta","metadata":{"seo":{"title":"Change policy","description":"Change policy"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"policy-mta","name":"Change policy","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change policy","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_985","description":"Chosen language","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/mta","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"responseCodes":["200","422","500"],"pointer":"/api/v1/ledger/sales/policies/mta","href":"quote-create/policy-mta","openApiOperationId":"policy-mta","summary":"Change policy"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Creates policy mta","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover"]}},"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover"]},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"},{"code":"500","description":"Unexpected server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}},"schemaId":"components/schemas/ServerError"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-create/policy-mta"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/mta"}],"content":{"contentType":"group","meta":{"name":"Quote Create"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Create","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/create","summary":"Create a new quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-create/quote-create","deprecated":false},{"title":"/api/v1/ledger/sales/policies/mta","summary":"Change policy","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-create/policy-mta","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Data","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-data","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-data","items":[{"label":"Get quote data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/get-quote-data","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/get-quote-data","metadata":{"seo":{"title":"Get quote data","description":"Get quote data"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-data","name":"Get quote data","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"withNotifications","in":"query","schemaId":"schema_987","description":"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.","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_985","description":"Chosen language","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/{policyId}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_987"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","400"],"pointer":"/api/v1/ledger/sales/policies/{policyId}","href":"quote-data/get-quote-data","openApiOperationId":"get-quote-data","summary":"Get quote data"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Data block response structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_988","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_988","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity"]},{"code":"400","description":"Incorrect request.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_988","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_988","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity"]}}},{"code":"400","schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/get-quote-data"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}"},{"label":"Get available actions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/get-quote-actions","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/get-quote-actions","metadata":{"seo":{"title":"Get available actions","description":"Get available actions. This route has to be called after each change quote data to get to know that action is done"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-actions","name":"Get available actions","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get available actions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get available actions. This route has to be called after each change quote data to get to know that action is done"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_985","description":"id of quote","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"longPolling","in":"query","schemaId":"schema_989"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/actions/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_985"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_989"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","204","423"],"pointer":"/api/v1/ledger/sales/policies/actions/{id}","href":"quote-data/get-quote-actions","openApiOperationId":"get-quote-actions","summary":"Get available actions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Resource unlocked. No background logic running. List of allowed actions for the quote.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_990","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_990","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]},{"code":"204","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Resource is locked. Not allowed to do any write operations."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Background logic is running, need to repeat the call until "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"200"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" status returned."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"By default, in case unexpected error happened, after 60s it will be unlocked - "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"200"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" status returned."},"children":[]}]}]}]}]},{"code":"423","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Resource is locked (with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"longPolling=true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]}]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_990","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_990","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]}}},{"code":"204"},{"code":"423"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/get-quote-actions"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/actions/{id}"},{"label":"Get quote installments schedule","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/quote-get-installments-schedule","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-data/quote-get-installments-schedule","metadata":{"seo":{"title":"Get quote installments schedule","description":"Get quote installments schedule"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-get-installments-schedule","name":"Get quote installments schedule","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote installments schedule","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_991","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_991"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","422"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule","href":"quote-data/quote-get-installments-schedule","openApiOperationId":"quote-get-installments-schedule","summary":"Get quote installments schedule"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_992"}},"schemaId":"schema_992"},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_992","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_992"}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/quote-get-installments-schedule"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule"}],"content":{"contentType":"group","meta":{"name":"Quote Data"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Data","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}","summary":"Get quote data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/get-quote-data","deprecated":false},{"title":"/api/v1/ledger/sales/policies/actions/{id}","summary":"Get available actions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/get-quote-actions","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule","summary":"Get quote installments schedule","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/quote-get-installments-schedule","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Edit","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit","items":[{"label":"Update quote","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit/update-quote-data","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit/update-quote-data","metadata":{"seo":{"title":"Update quote","description":"Update quote"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"update-quote-data","name":"Update quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/v1/ledger/sales/policies/{policyId}/","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"]}},"responseCodes":["200","422","500"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/","href":"quote-edit/update-quote-data","openApiOperationId":"update-quote-data","summary":"Update quote"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"]}},"examples":[{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity"]},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"},{"code":"500","description":"Unexpected server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}},"schemaId":"components/schemas/ServerError"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-edit/update-quote-data"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/"},{"label":"Decline policy draft","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit/quote-decline","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-edit/quote-decline","metadata":{"seo":{"title":"Decline policy draft","description":"Decline policy draft"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-decline","name":"Decline policy draft","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Decline policy draft","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_993"}},"schemaId":"schema_993","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody","description":"Binder data"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/decline","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_993"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/decline","href":"quote-edit/quote-decline","openApiOperationId":"quote-decline","summary":"Decline policy draft"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_993","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_993"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote declined"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-edit/quote-decline"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/decline"}],"content":{"contentType":"group","meta":{"name":"Quote Edit"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Edit","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/","summary":"Update quote","prefix":{"name":"put","color":"put"},"badges":[],"link":"/quote-edit/update-quote-data","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/decline","summary":"Decline policy draft","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-edit/quote-decline","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Calculation","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation","items":[{"label":"Calculate quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation/quote-update-and-calculate","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation/quote-update-and-calculate","metadata":{"seo":{"title":"Calculate quote","description":"Calculate quote"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-update-and-calculate","name":"Calculate quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Calculate quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Calculate quote"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_994","description":"Quote id","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"withNotifications","in":"query","schemaId":"schema_987","description":"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.","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{id}/calculate","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_994"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_987"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"responseCodes":["200"],"pointer":"/api/v1/ledger/sales/policies/{id}/calculate","href":"quote-calculation/quote-update-and-calculate","openApiOperationId":"quote-update-and-calculate","summary":"Calculate quote"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_995","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_995","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_995","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_995","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-calculation/quote-update-and-calculate"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/calculate"},{"label":"Get quote financials","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation/get-quote-financials","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-calculation/get-quote-financials","metadata":{"seo":{"title":"Get quote financials","description":"Get quote financials by quote id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-financials","name":"Get quote financials","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote financials","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get quote financials by quote id"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_985","description":"id of quote","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/{id}/calculation","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/sales/policies/{id}/calculation","href":"quote-calculation/get-quote-financials","openApiOperationId":"get-quote-financials","summary":"Get quote financials"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Quote financials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_996","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_996","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_996","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_996","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example","paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-calculation/get-quote-financials"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/calculation"}],"content":{"contentType":"group","meta":{"name":"Quote Calculation"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Calculation","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/calculate","summary":"Calculate quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-calculation/quote-update-and-calculate","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{id}/calculation","summary":"Get quote financials","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-calculation/get-quote-financials","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Documents","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents","items":[{"label":"Generate quote documents","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents/generate-quote-documents","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents/generate-quote-documents","metadata":{"seo":{"title":"Generate quote documents","description":"Generate quote documents"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"generate-quote-documents","name":"Generate quote documents","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate quote documents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_997","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{id}/generated-documents","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"1","schemaId":"schema_997"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/sales/policies/{id}/generated-documents","href":"quote-documents/generate-quote-documents","openApiOperationId":"generate-quote-documents","summary":"Generate quote documents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Generated main document in binary format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_998"}},"schemaId":"schema_998"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_998","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_998"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-documents/generate-quote-documents"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/generated-documents"},{"label":"Download document content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents/get-document","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-documents/get-document","metadata":{"seo":{"title":"Download document content","description":"Download document content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-document","name":"Download document content","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download document content","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_994","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/documents/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_994"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/v1/ledger/documents/{id}","href":"quote-documents/get-document","openApiOperationId":"get-document","summary":"Download document content"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Document content"}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-documents/get-document"}],"panels":[]}]},"httpPath":"/api/v1/ledger/documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Quote Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Documents","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/generated-documents","summary":"Generate quote documents","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-documents/generate-quote-documents","deprecated":false},{"title":"/api/v1/ledger/documents/{id}","summary":"Download document content","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-documents/get-document","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Referrals","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals","items":[{"label":"Send quote to referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/send-quote-to-referral","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/send-quote-to-referral","metadata":{"seo":{"title":"Send quote to referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"send-quote-to-referral","name":"Send quote to referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send quote to referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_999"}},"schemaId":"schema_999","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/requestBody","description":"Send quote to referral comment"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/referrals","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_999"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/referrals","href":"quote-referrals/send-quote-to-referral","openApiOperationId":"send-quote-to-referral","summary":"Send quote to referral"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_999","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_999"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote has been sent to referral"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/send-quote-to-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals"},{"label":"Accept referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/accept-quote-referral","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/accept-quote-referral","metadata":{"seo":{"title":"Accept referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"accept-quote-referral","name":"Accept referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1000"}},"schemaId":"schema_1000","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/requestBody","description":"Accept referral comment"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1000"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","href":"quote-referrals/accept-quote-referral","openApiOperationId":"accept-quote-referral","summary":"Accept referral"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1000","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1000"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Referral accepted"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/accept-quote-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept"},{"label":"Decline referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/decline-quote-referral","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-referrals/decline-quote-referral","metadata":{"seo":{"title":"Decline referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"decline-quote-referral","name":"Decline referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Decline referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1001"}},"schemaId":"schema_1001","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/requestBody","description":"Decline referral comment"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1001"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","href":"quote-referrals/decline-quote-referral","openApiOperationId":"decline-quote-referral","summary":"Decline referral"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1001","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1001"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Referral declined"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/decline-quote-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline"}],"content":{"contentType":"group","meta":{"name":"Quote Referrals"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Referrals","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals","summary":"Send quote to referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/send-quote-to-referral","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","summary":"Accept referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/accept-quote-referral","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","summary":"Decline referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/decline-quote-referral","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Binding","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-binding","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-binding","items":[{"label":"Bind policy draft","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-binding/quote-bind","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-binding/quote-bind","metadata":{"seo":{"title":"Bind policy draft","description":"Bind policy draft"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-bind","name":"Bind policy draft","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Bind policy draft","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_994","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/bind","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_994"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/bind","href":"quote-binding/quote-bind","openApiOperationId":"quote-bind","summary":"Bind policy draft"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote bound / locked"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-binding/quote-bind"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/bind"}],"content":{"contentType":"group","meta":{"name":"Quote Binding"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Binding","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/bind","summary":"Bind policy draft","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-binding/quote-bind","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Issue","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-issue","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-issue","items":[{"label":"Issue quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/quote-issue/issue-quote","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/quote-issue/issue-quote","metadata":{"seo":{"title":"Issue quote","description":"Issue quote, after got success please check process status by /api/v1/ledger/requests/{requestId} you can find it in this doc"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"issue-quote","name":"Issue quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Issue quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Issue quote, after got success please check process status by /api/v1/ledger/requests/{requestId} you can find it in this doc"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_985","description":"id of quote","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional. Otherwise full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{id}/issue","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"responseCodes":["202","422","500"],"pointer":"/api/v1/ledger/sales/policies/{id}/issue","href":"quote-issue/issue-quote","openApiOperationId":"issue-quote","summary":"Issue quote"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_986","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Issue request id","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1002"}},"schemaId":"schema_1002"},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"},{"code":"500","description":"Unexpected server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}},"schemaId":"components/schemas/ServerError"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"schema_1002","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1002"}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-issue/issue-quote"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/issue"}],"content":{"contentType":"group","meta":{"name":"Quote Issue"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Issue","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/issue","summary":"Issue quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-issue/issue-quote","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Data","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-data","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-data","items":[{"label":"Get policy data with links","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-with-links","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-with-links","metadata":{"seo":{"title":"Get policy data with links","description":"Get policy data with links"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-with-links","name":"Get policy data with links","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get policy data with links","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_991","description":"Policy id","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"forceCoverageDateFormat","in":"query","schemaId":"schema_1003"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_985","description":"Chosen language","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{policyId}/links","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_991"}],"query":[{"name":"forceCoverageDateFormat","in":"query","required":false,"example":"false","schemaId":"schema_1003"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{policyId}/links","href":"policy-data/get-policy-with-links","openApiOperationId":"get-policy-with-links","summary":"Get policy data with links"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Policy data","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1004","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_1004","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity"]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1004","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1004","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-with-links"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/links"},{"label":"Return policy invoices data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-invoices","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-invoices","metadata":{"seo":{"title":"Return policy invoices data","description":"Return policy invoices data"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-invoices","name":"Return policy invoices data","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return policy invoices data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_991","description":"Policy id","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{policyId}/invoices","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_991"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{policyId}/invoices","href":"policy-data/get-policy-invoices","openApiOperationId":"get-policy-invoices","summary":"Return policy invoices data"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return policy invoices data","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1005"}},"schemaId":"schema_1005"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1005","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1005"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-invoices"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/invoices"},{"label":"Return policy total financials.","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-period-totals","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-data/get-policy-period-totals","metadata":{"seo":{"title":"Return policy total financials.","description":"Return policy total financials."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-period-totals","name":"Return policy total financials.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return policy total financials.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_991","description":"Policy id","required":true},{"name":"version","in":"path","schemaId":"schema_997","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Version of policy. Version 1 = original policy installments, version 2 - first MTA installments."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"By default, return the latest installments totals."},"children":[]}]}]}]}]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{id}/period-totals","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_991"},{"name":"version","in":"path","required":false,"example":"1","schemaId":"schema_997"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{id}/period-totals","href":"policy-data/get-policy-period-totals","openApiOperationId":"get-policy-period-totals","summary":"Return policy total financials."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful response with policy total financials."}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-period-totals"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{id}/period-totals"}],"content":{"contentType":"group","meta":{"name":"Policy Data"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Data","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{policyId}/links","summary":"Get policy data with links","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-with-links","deprecated":false},{"title":"/api/v1/ledger/policies/{policyId}/invoices","summary":"Return policy invoices data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-invoices","deprecated":false},{"title":"/api/v1/ledger/policies/{id}/period-totals","summary":"Return policy total financials.","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-period-totals","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Documents","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-documents","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-documents","items":[{"label":"Download document content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-documents/get-document","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-documents/get-document","metadata":{"seo":{"title":"Download document content","description":"Download document content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-document","name":"Download document content","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download document content","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_994","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/documents/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_994"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/v1/ledger/documents/{id}","href":"policy-documents/get-document","openApiOperationId":"get-document","summary":"Download document content"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Document content"}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-documents/get-document"}],"panels":[]}]},"httpPath":"/api/v1/ledger/documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Policy Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Documents","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/documents/{id}","summary":"Download document content","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-documents/get-document","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Termination","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination","items":[{"label":"Get termination return premium","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination/get-policy-termination-premiums","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination/get-policy-termination-premiums","metadata":{"seo":{"title":"Get termination return premium","description":"Get termination return premium"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-termination-premiums","name":"Get termination return premium","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get termination return premium","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_994","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1006","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"schemaId":"schema_1006","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/policies/{policyId}/terminate/premiums","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_994"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1006","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{policyId}/terminate/premiums","href":"policy-termination/get-policy-termination-premiums","openApiOperationId":"get-policy-termination-premiums","summary":"Get termination return premium"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1006","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1006","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A list of policy changes","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1007"}},"schemaId":"schema_1007"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1007","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1007"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-termination/get-policy-termination-premiums"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/terminate/premiums"},{"label":"Terminate policy with manual premium","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination/terminate-policy","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-termination/terminate-policy","metadata":{"seo":{"title":"Terminate policy with manual premium","description":"Terminate policy with manual premium"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"terminate-policy","name":"Terminate policy with manual premium","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Terminate policy with manual premium","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_994","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"]}},"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/policies/{policyId}/terminate","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_994"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"]}},"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{policyId}/terminate","href":"policy-termination/terminate-policy","openApiOperationId":"terminate-policy","summary":"Terminate policy with manual premium"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"]}},"examples":[{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Event id","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1008"}},"schemaId":"schema_1008"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1008","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1008"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-termination/terminate-policy"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/terminate"}],"content":{"contentType":"group","meta":{"name":"Policy Termination"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Termination","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{policyId}/terminate/premiums","summary":"Get termination return premium","prefix":{"name":"post","color":"post"},"badges":[],"link":"/policy-termination/get-policy-termination-premiums","deprecated":false},{"title":"/api/v1/ledger/policies/{policyId}/terminate","summary":"Terminate policy with manual premium","prefix":{"name":"post","color":"post"},"badges":[],"link":"/policy-termination/terminate-policy","deprecated":false}]}]}]}]}},{"type":"group","label":"Schemes","link":"/tenancy/accelerate/ledger-open-api/bundled/schemes","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/schemes","items":[{"label":"Get schema","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/schemes/get-schema-regular","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/schemes/get-schema-regular","metadata":{"seo":{"title":"Get schema","description":"Json schema specification."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-schema-regular","name":"Get schema","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get schema","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"https://json-schema.org/learn/getting-started-step-by-step.html"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Json schema specification."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Get schema according to your rights, you can use "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"https://rjsf-team.github.io/react-jsonschema-form/"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"React jsonschema form builder"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to create payload for quote create"},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"type","in":"path","schemaId":"schema_985","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Type of schema"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - the main scheme for any product"},"children":[]}]}]}]}],"required":true},{"name":"name","in":"path","schemaId":"schema_985","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Name of schema"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - the product name in case of type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]}]}]}]}],"required":true}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/schemes/{type}/regular/{name}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"type","in":"path","required":true,"schemaId":"schema_985"},{"name":"name","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/schemes/{type}/regular/{name}","href":"schemes/get-schema-regular","openApiOperationId":"get-schema-regular","summary":"Get schema"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Schema of product or other object, https://json-schema.org/","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1009"}},"schemaId":"schema_1009"}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1009","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1009"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/schemes/get-schema-regular"}],"panels":[]}]},"httpPath":"/api/v1/ledger/schemes/{type}/regular/{name}"}],"content":{"contentType":"group","meta":{"name":"Schemes"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Schemes","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/schemes/{type}/regular/{name}","summary":"Get schema","prefix":{"name":"get","color":"get"},"badges":[],"link":"/schemes/get-schema-regular","deprecated":false}]}]}]}]}},{"type":"group","label":"Customers by identity","link":"/tenancy/accelerate/ledger-open-api/bundled/customers-by-identity","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/customers-by-identity","items":[{"label":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/customers-by-identity/get-customer-policies-installments-by-identity","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/customers-by-identity/get-customer-policies-installments-by-identity","metadata":{"seo":{"title":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","description":"Get customer policy custom view installments. Query params must match tenant feature customer_identity"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-customer-policies-installments-by-identity","name":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1010","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_985","required":true},{"name":"documentCountry","in":"query","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true}],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_985"},{"name":"documentCountry","in":"query","required":true,"schemaId":"schema_985"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments","href":"customers-by-identity/get-customer-policies-installments-by-identity","openApiOperationId":"get-customer-policies-installments-by-identity","summary":"Get customer policy custom view installments. Query params must match tenant feature customer_identity"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Custom view installments","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1011","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"schema_1011","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity"]}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1011","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1011","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations","paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/customers-by-identity/get-customer-policies-installments-by-identity"}],"panels":[]}]},"httpPath":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments"}],"content":{"contentType":"group","meta":{"name":"Customers by identity"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Customers by identity","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments","summary":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","prefix":{"name":"get","color":"get"},"badges":[],"link":"/customers-by-identity/get-customer-policies-installments-by-identity","deprecated":false}]}]}]}]}},{"type":"group","label":"Payments","link":"/tenancy/accelerate/ledger-open-api/bundled/payments","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/payments","items":[{"label":"Insert payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/payments/insert-payment","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/payments/insert-payment","metadata":{"seo":{"title":"Insert payment","description":"Insert payment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"insert-payment","name":"Insert payment","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Insert payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1012"}},"schemaId":"schema_1012","pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/brokerpayments","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1012"}},"responseCodes":["200"],"pointer":"/api/v1/ledger/brokerpayments","href":"payments/insert-payment","openApiOperationId":"insert-payment","summary":"Insert payment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1012","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1012"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Stored request data.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1013"}},"schemaId":"schema_1013"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1013","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1013"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/insert-payment"}],"panels":[]}]},"httpPath":"/api/v1/ledger/brokerpayments"},{"label":"Allocate payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/payments/allocate-payment","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/payments/allocate-payment","metadata":{"seo":{"title":"Allocate payment","description":"Allocate payment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"allocate-payment","name":"Allocate payment","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Allocate payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/brokerpayments/allocate","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["202"],"pointer":"/api/v1/ledger/brokerpayments/allocate","href":"payments/allocate-payment","openApiOperationId":"allocate-payment","summary":"Allocate payment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Request hash for async pooling.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1014"}},"schemaId":"schema_1014"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"schema_1014","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1014"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/allocate-payment"}],"panels":[]}]},"httpPath":"/api/v1/ledger/brokerpayments/allocate"}],"content":{"contentType":"group","meta":{"name":"Payments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/brokerpayments","summary":"Insert payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payments/insert-payment","deprecated":false},{"title":"/api/v1/ledger/brokerpayments/allocate","summary":"Allocate payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payments/allocate-payment","deprecated":false}]}]}]}]}},{"type":"group","label":"Invoice","link":"/tenancy/accelerate/ledger-open-api/bundled/invoice","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/invoice","items":[{"label":"Credit invoice by allocation eventId.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/invoice/credit-invoice","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/invoice/credit-invoice","metadata":{"seo":{"title":"Credit invoice by allocation eventId.","description":"Tool for removing (edit) incorrect added invoice into payment bdx."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"credit-invoice","name":"Credit invoice by allocation eventId.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Credit invoice by allocation eventId.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Tool for removing (edit) incorrect added invoice into payment bdx."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/broker-payments/{eventId}/credit","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/broker-payments/{eventId}/credit","href":"invoice/credit-invoice","openApiOperationId":"credit-invoice","summary":"Credit invoice by allocation eventId."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation status."}],"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/invoice/credit-invoice"}],"panels":[]}]},"httpPath":"/api/v1/ledger/broker-payments/{eventId}/credit"}],"content":{"contentType":"group","meta":{"name":"Invoice"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Invoice","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/broker-payments/{eventId}/credit","summary":"Credit invoice by allocation eventId.","prefix":{"name":"post","color":"post"},"badges":[],"link":"/invoice/credit-invoice","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Technical MTA","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-technical-mta","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-technical-mta","items":[{"label":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/policy-technical-mta/policy-technical-mta-data-change","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/policy-technical-mta/policy-technical-mta-data-change","metadata":{"seo":{"title":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","description":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"policy-technical-mta-data-change","name":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_985","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/v1/ledger/policies/{id}/data-change","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_985"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{id}/data-change","href":"policy-technical-mta/policy-technical-mta-data-change","openApiOperationId":"policy-technical-mta-data-change","summary":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Policy technical MTA","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity"]}},"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity"]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover","paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-technical-mta/policy-technical-mta-data-change"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{id}/data-change"}],"content":{"contentType":"group","meta":{"name":"Policy Technical MTA"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Technical MTA","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{id}/data-change","summary":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","prefix":{"name":"put","color":"put"},"badges":[],"link":"/policy-technical-mta/policy-technical-mta-data-change","deprecated":false}]}]}]}]}},{"type":"group","label":"Async Request","link":"/tenancy/accelerate/ledger-open-api/bundled/async-request","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/async-request","items":[{"label":"Async request status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/accelerate/ledger-open-api/bundled/async-request/get-quote-issue-status","routeSlug":"/tenancy/accelerate/ledger-open-api/bundled/async-request/get-quote-issue-status","metadata":{"seo":{"title":"Async request status","description":"Async request status"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-issue-status","name":"Async request status","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Async request status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"requestId","in":"path","schemaId":"schema_1015","description":"request id","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"longPolling","in":"query","schemaId":"schema_989"}],"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_985","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/requests/{requestId}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"requestId","in":"path","required":true,"schemaId":"schema_1015"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_989"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_985"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","423"],"pointer":"/api/v1/ledger/requests/{requestId}","href":"async-request/get-quote-issue-status","openApiOperationId":"get-quote-issue-status","summary":"Async request status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Request status","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1016"}},"schemaId":"schema_1016"},{"code":"423","description":"Request still pending"}],"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1016","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1016"}}},{"code":"423"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/async-request/get-quote-issue-status"}],"panels":[]}]},"httpPath":"/api/v1/ledger/requests/{requestId}"}],"content":{"contentType":"group","meta":{"name":"Async Request"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Async Request","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/requests/{requestId}","summary":"Async request status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/async-request/get-quote-issue-status","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/metaMessage":{"id":"components/schemas/metaMessage","kind":"json-schema","title":"metaMessage","data":{"required":["code","title"],"properties":{"code":{"type":"string"},"title":{"type":"string"},"status":{"type":"number"}},"type":"object"}},"components/schemas/metaError":{"id":"components/schemas/metaError","kind":"json-schema","title":"metaError","data":{"properties":{"errors":{"description":"Error that can't be overcomed/retried in most of the cases. Connection time-out to integration, connection fail.","type":"array","items":{"$ref":"#/components/schemas/metaMessage"}}},"type":"object"}},"components/schemas/metaWarning":{"id":"components/schemas/metaWarning","kind":"json-schema","title":"metaWarning","data":{"properties":{"warnings":{"description":"Error that can be handled manually by inserting data manually, edit the data, retry. Not blocking the flow. Vehicle make and model not found, insert it manually.","type":"array","items":{"$ref":"#/components/schemas/metaMessage"}}},"type":"object"}},"components/schemas/quoteLinks":{"id":"components/schemas/quoteLinks","kind":"json-schema","title":"quoteLinks","data":{"properties":{"quote:changes":{"type":"string","example":"https://app.beta.insly.training/api/v1/ledger/sales/policies/1/changes"}},"type":"object"}},"components/schemas/PaymentOfCustomer":{"id":"components/schemas/PaymentOfCustomer","kind":"json-schema","title":"PaymentOfCustomer","data":{"properties":{"data":{"properties":{"customerId":{"type":"integer"},"paymentSum":{"type":"integer","format":"decimal"},"description":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"paymentType":{"type":"string"},"paymentCurrency":{"type":"string"}},"type":"object"}},"type":"object"}},"components/schemas/PaymentOfBroker":{"id":"components/schemas/PaymentOfBroker","kind":"json-schema","title":"PaymentOfBroker","data":{"properties":{"data":{"properties":{"broker":{"properties":{"shortName":{"type":"string"}},"type":"object"},"paymentSum":{"type":"integer","format":"decimal"},"description":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"paymentType":{"type":"string"},"paymentCurrency":{"type":"string"}},"type":"object"}},"type":"object"}},"components/schemas/policy-termination-premium-response":{"id":"components/schemas/policy-termination-premium-response","kind":"json-schema","title":"policy-termination-premium-response","data":{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["pro-rata"]}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"},{"$ref":"#/components/schemas/policy-objects-termination"}]}},"components/schemas/policy-termination":{"id":"components/schemas/policy-termination","kind":"json-schema","title":"policy-termination","data":{"properties":{"policy":{"properties":{"terminationType":{"type":"string"},"financials":{"$ref":"#/components/schemas/financials-policy"}},"type":"object"}},"type":"object"}},"components/schemas/policy-objects-termination":{"id":"components/schemas/policy-objects-termination","kind":"json-schema","title":"policy-objects-termination","data":{"properties":{"objects":{"type":"array","items":{"properties":{"id":{"type":"number"},"products":{"properties":{"{productTag}":{"properties":{"financials":{"$ref":"#/components/schemas/object-termination-financials"}},"type":"object"}},"type":"object"}},"type":"object"}}},"type":"object"}},"components/schemas/policy-terminate-request":{"id":"components/schemas/policy-terminate-request","kind":"json-schema","title":"policy-terminate-request","data":{"oneOf":[{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["manual"]},"terminationDate":{"type":"string","format":"date"}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"},{"$ref":"#/components/schemas/policy-objects-termination"}]},{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["pro-rata"]},"terminationDate":{"type":"string","format":"date"}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"}]},{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["full-rollback"]}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"}]}]}},"components/schemas/ValidationError422":{"id":"components/schemas/ValidationError422","kind":"json-schema","title":"ValidationError422","data":{"properties":{"message":{"type":"string","example":"The given data was invalid."},"errors":{"type":"object"}},"type":"object","example":{"message":"The given data was invalid.","errors":{"schema.type":["The schema.type field is required."],"schema.name":["The schema.name field is required."],"policy.dateInception":["The policy.date inception is not a valid date."]}}}},"components/schemas/ServerError":{"id":"components/schemas/ServerError","kind":"json-schema","title":"ServerError","data":{"properties":{"message":{"type":"string","example":"Server Error"}},"type":"object"}},"components/schemas/payments":{"id":"components/schemas/payments","kind":"json-schema","title":"payments","data":{"properties":{"entry_date":{"type":"string","format":"date"},"paymentReceivedDate":{"type":"string","format":"date"},"paymentSum":{"type":"number"},"paymentCurrency":{"type":"string"},"payer":{"description":"customer id or broker name","type":"string"},"broker":{"description":"broker name","type":"string","deprecated":true},"description":{"description":"payment description","type":"string"}},"type":"object"}},"components/schemas/customer":{"id":"components/schemas/customer","kind":"json-schema","title":"customer","data":{"properties":{"name":{"type":"string"},"code":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/agent":{"id":"components/schemas/agent","kind":"json-schema","title":"agent","data":{"properties":{"broker":{"type":"string"},"code":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/object":{"id":"components/schemas/object","kind":"json-schema","title":"object","data":{"properties":{"objectId":{"$ref":"#/components/schemas/objectData"}},"type":"object"}},"components/schemas/objectData":{"id":"components/schemas/objectData","kind":"json-schema","title":"objectData","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/object-data"}},"products":{"type":"array","items":{"$ref":"#/components/schemas/object-products"}}},"type":"object"}},"components/schemas/object-products":{"id":"components/schemas/object-products","kind":"json-schema","title":"object-products","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/object-products-data"}},"financials":{"$ref":"#/components/schemas/object-financials"}},"type":"object"}},"components/schemas/object-data":{"id":"components/schemas/object-data","kind":"json-schema","title":"object-data","data":{"properties":{"name":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/policy-root":{"id":"components/schemas/policy-root","kind":"json-schema","title":"policy-root","data":{"properties":{"policy":{"$ref":"#/components/schemas/policy"},"customer":{"$ref":"#/components/schemas/customer"},"agent":{"$ref":"#/components/schemas/agent"},"objects":{"$ref":"#/components/schemas/object"}},"type":"object"}},"components/schemas/object-financials":{"id":"components/schemas/object-financials","kind":"json-schema","title":"object-financials","data":{"properties":{"premium":{"type":"number"},"premiumIptPcs":{"type":"number"},"insurers":{"$ref":"#/components/schemas/object-financials-carriers"},"reinsurance":{"$ref":"#/components/schemas/object-financials-reinsurance"}},"type":"object"}},"components/schemas/object-termination-financials":{"id":"components/schemas/object-termination-financials","kind":"json-schema","title":"object-termination-financials","data":{"properties":{"premium":{"type":"number"}},"type":"object"}},"components/schemas/object-financials-carriers":{"id":"components/schemas/object-financials-carriers","kind":"json-schema","title":"object-financials-carriers","data":{"properties":{"carrierTagX":{"$ref":"#/components/schemas/object-financials-carrier"}},"type":"object"}},"components/schemas/object-financials-carrier":{"id":"components/schemas/object-financials-carrier","kind":"json-schema","title":"object-financials-carrier","data":{"properties":{"commPct":{"type":"string"},"claimShare":{"type":"string"},"grossCommPct":{"type":"string"},"share":{"type":"string"}},"type":"object"}},"components/schemas/object-products-data":{"id":"components/schemas/object-products-data","kind":"json-schema","title":"object-products-data","data":{"properties":{"group":{"type":"string"},"name":{"type":"string"},"nameLong":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/policy":{"id":"components/schemas/policy","kind":"json-schema","title":"policy","data":{"properties":{"id":{"type":"integer","example":"1234"},"policyNo":{"type":"string"},"dateIssue":{"type":"string","format":"date"},"dateInception":{"type":"string","format":"date"},"dateExpiry":{"type":"string","format":"date"},"financials":{"$ref":"#/components/schemas/financials-policy"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/financials-policy":{"id":"components/schemas/financials-policy","kind":"json-schema","title":"financials-policy","data":{"properties":{"installments":{"type":"number"},"adminFeeSum":{"type":"number"},"feeVatPct":{"type":"number"}},"type":"object"}},"components/schemas/params":{"id":"components/schemas/params","kind":"json-schema","title":"params","data":{"properties":{"attribute1":{"type":"string"},"attribute2":{"type":"string"},"attribute...":{"type":"string"},"attribute45":{"type":"string"}},"type":"object"}},"components/schemas/object-financials-reinsurance":{"id":"components/schemas/object-financials-reinsurance","kind":"json-schema","title":"object-financials-reinsurance","data":{"properties":{"quotaSharePct":{"type":"number"},"insurers":{"$ref":"#/components/schemas/object-financials-reinsurance-carriers"}},"type":"object"}},"components/schemas/object-financials-reinsurance-carriers":{"id":"components/schemas/object-financials-reinsurance-carriers","kind":"json-schema","title":"object-financials-reinsurance-carriers","data":{"properties":{"carrierTagX":{"$ref":"#/components/schemas/object-financials-reinsurance-carrier"}},"type":"object"}},"components/schemas/object-financials-reinsurance-carrier":{"id":"components/schemas/object-financials-reinsurance-carrier","kind":"json-schema","title":"object-financials-reinsurance-carrier","data":{"properties":{"premiumSharePct":{"type":"number"},"commPct":{"type":"number"},"claimSharePct":{"type":"number"}},"type":"object"}},"schema_985":{"kind":"json-schema","data":{"type":"string"},"id":"schema_985"},"schema_986":{"kind":"json-schema","data":[],"id":"schema_986"},"schema_987":{"kind":"json-schema","data":{"type":"boolean","default":"true"},"id":"schema_987"},"schema_988":{"kind":"json-schema","data":{"properties":{"data":{"type":"object"},"meta":{"allOf":[{"required":["schemaPath"],"properties":{"schemaPath":{"description":"Path to json scheme used for validation. Sometimes required fields are removed based on business logic.","type":"string"}},"type":"object"},{"$ref":"#/components/schemas/metaError"},{"$ref":"#/components/schemas/metaWarning"}]}},"type":"object"},"id":"schema_988"},"schema_989":{"kind":"json-schema","data":{"type":"bool","default":"false","example":"true"},"id":"schema_989"},"schema_990":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":[]},"links":{"$ref":"#/components/schemas/quoteLinks"}},"type":"object"},"id":"schema_990"},"schema_991":{"kind":"json-schema","data":{"type":"integer","example":"123"},"id":"schema_991"},"schema_992":{"kind":"json-schema","data":{"properties":{"instalments":{"type":"array","items":{"properties":{"dueDate":{"type":"date","example":"2024-01-01"},"premium":{"type":"number","example":"1234.56"}},"type":"object"}}},"type":"object"},"id":"schema_992"},"schema_993":{"kind":"json-schema","data":{"properties":{"reason":{"type":"string","example":"Reason for declining"}},"type":"object"},"id":"schema_993"},"schema_994":{"kind":"json-schema","data":{"type":"integer"},"id":"schema_994"},"schema_995":{"kind":"json-schema","data":{"properties":{"data":{"example":["See response description for more details."]}},"type":"object"},"id":"schema_995"},"schema_996":{"kind":"json-schema","data":{"properties":{"data":{"properties":{"periodPremium":{"type":"number","example":500}},"type":"object"},"fields":{"description":"Array of fields to show in UI","type":"array","items":{"properties":{"name":{"type":"string","example":"periodPremium"},"title":{"type":"string","example":"Premium"}},"type":"object"}},"installments":{"description":"Optional array of installments entries to be created when quote is issued","type":"array","items":{"description":"Installment entry","type":"object"}}},"type":"object"},"id":"schema_996"},"schema_997":{"kind":"json-schema","data":{"type":"integer","example":"1"},"id":"schema_997"},"schema_998":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_998"},"schema_999":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Reason of sending quote to referral"}},"type":"object"},"id":"schema_999"},"schema_1000":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Referral is accepted after quote data check"}},"type":"object"},"id":"schema_1000"},"schema_1001":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Referral is declined after quote data check"}},"type":"object"},"id":"schema_1001"},"schema_1002":{"kind":"json-schema","data":{"properties":{"requestId":{"type":"string","example":"64ff614a-551f-4b38-a7ba-37b7285c9562"}},"type":"object"},"id":"schema_1002"},"schema_1003":{"kind":"json-schema","data":{"type":"bool","default":"true","example":"false"},"id":"schema_1003"},"schema_1004":{"kind":"json-schema","data":{"properties":{"data":{"$ref":"#/components/schemas/policy-root"},"meta":{"properties":{"status":{"type":"string"},"version":{"type":"integer","example":"10"},"schemaPath":{"type":"string"}},"type":"object"},"links":{"type":"object"}},"type":"object"},"id":"schema_1004"},"schema_1005":{"kind":"json-schema","data":{"properties":{"":{"type":"array","items":{"properties":{"invoicenumber":{"type":"string","example":"100011517"},"duedate":{"type":"string","format":"date","example":"2022-02-01"},"premium":{"type":"number","example":"65.89"},"adminfee":{"type":"number","example":"55.23"},"mgacomm":{"type":"number","example":"18.00"},"brokercomm":{"type":"number","example":"1.01"},"payable":{"type":"null","example":"null"}},"type":"object"}}},"type":"object"},"id":"schema_1005"},"schema_1006":{"kind":"json-schema","data":{"description":"terminationSum needed in case of 'manual' type, shortRatePct is needed in case of 'short-rate' type"},"id":"schema_1006"},"schema_1007":{"kind":"json-schema","data":{"properties":{"":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/policy-termination-premium-response"}}}},"type":"object"},"id":"schema_1007"},"schema_1008":{"kind":"json-schema","data":{"properties":{"event_id":{"type":"integer","example":"123"}},"type":"object"},"id":"schema_1008"},"schema_1009":{"kind":"json-schema","data":{"type":"object"},"id":"schema_1009"},"schema_1010":{"kind":"json-schema","data":{},"id":"schema_1010"},"schema_1011":{"kind":"json-schema","data":{"properties":{"data":{"type":"object"}},"type":"object"},"id":"schema_1011"},"schema_1012":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/PaymentOfBroker"},{"$ref":"#/components/schemas/PaymentOfCustomer"}]},"id":"schema_1012"},"schema_1013":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payments"}}},"type":"object"},"id":"schema_1013"},"schema_1014":{"kind":"json-schema","data":{"properties":{"requestId":{"description":"Request ID","type":"string","format":"uuid","example":"8bb0e40f-6841-47fc-a283-b6a43c6e299e"}},"type":"object"},"id":"schema_1014"},"schema_1015":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_1015"},"schema_1016":{"kind":"json-schema","data":{"properties":{"requestId":{"description":"Request ID","type":"string","format":"uuid","example":"8bb0e40f-6841-47fc-a283-b6a43c6e299e"},"status":{"description":"Status of running request","type":"string","example":"pending"},"data":{"description":"Request data if complete","type":"object"}},"type":"object"},"id":"schema_1016"}},"exampleStore":{"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"id":10},"broker":{"shortName":"Example Brokers"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"endorsements":[],"internalNotes":[{"name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"insurer":"Example Insurer","isLead":false}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"currency":"GBP","dateExpiry":"2027-02-21T16:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"params":{"productTag":"Stress Free Cover"},"usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"London","county":"Greater London","zip":"AB1 2CD","country":"England"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients"},"documents":{"documents":[]},"endorsements":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{},"products":{"professionalIndemnity":{"data":{"income":200000,"offshoreTax":"No","banking":"No","entertainment":"No"}}}}]},"packages":{"package":"£100,000"},"policy":{"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","package":100000,"piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Quote payload","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload, used to create, update, calculate and bind a quote. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"packages.package"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" switches the chosen limit of indemnity on calculate."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example":{"value":["See response description for more details."],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/example"},"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"contractDetails":{"endDate":"2099-12-31","product":"stress-free-cover","startDate":"2025-12-21","status":"active"},"id":10,"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"id00000000000001","insurers":[{"allowCommSacrifice":false,"grossCommPct":37.5,"insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"stressFreeCover"}],"summary":{"name":"Stress Free Cover","umr":"EXAMPLE-UMR-0001"}},"broker":{"authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-04-21","commPctDefault":{"commissionSacrificeNegative":15,"commissionSacrificePositive":15,"commissionType":"%","effectivePeriodStartDate":"2026-04-01","newSalesCommission":15,"product":"stress-free-cover","renewalCommission":15}},"email":"broker@example.com","name":"Example Insurance Brokers Ltd","salesChannel":"Online","shortName":"Example Brokers","userEmail":"broker.user@example.com"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"internalNotes":[{"id":"id00000000000002","name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"id":"a1b2c3d4e5f60","include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":15,"grossCommPct":37.5,"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"authorUser":{"email":"broker.user@example.com","name":"Broker User","sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"createdBy":"Broker User","currency":"GBP","dateExpiry":"2027-02-21T16:00:00+00:00","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"id":1001,"params":{"productTag":"Stress Free Cover"},"policyNo":"SFR100000001","usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"name":"Example Insurance Brokers Ltd","shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-10-08","commPctDefault":{"product":"professionalindemnity","commissionType":"%","newSalesCommission":22.5,"renewalCommission":22.5,"commissionSacrificePositive":22.5,"commissionSacrificeNegative":22.5,"effectivePeriodStartDate":"2025-11-24"}}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"Douglas","county":"Isle of Man","zip":"IM1 1AA","country":"Isle of Man","streetZip":"1 Example Street, IM1 1AA, Douglas, Isle of Man, Isle of Man"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","riskCode":"E5","coverSummary":" ","wording":" "},"endorsements":[{"id":"SUWPI004","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","type":"automatic","lang":"en","group":null,"document":null,"editable":false,"removable":true,"infoForUW":"Please select an endorsement from the picklist or begin typing a free format endorsement in the same input cell","text":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> <p>It is hereby understood and agreed:</p><p>1) This endorsement takes priority over any other provision in this policy.</p> …","translatable":[{"lang":"en","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","description":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> …"}]}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"id":"a1b2c3d4e5f60","data":{"name":"Professional Indemnity","originalCalculationDate":"2026-10-08"},"include":true,"onCover":false,"products":{"professionalIndemnity":{"include":true,"onCover":false,"data":{"name":"professionalIndemnity","class":"Casualty","hiddenTrade":"Accountant","income":200000,"offshoreTax":"No","banking":"No","entertainment":"No","rateCategory":"Medium","feeBand":"£175,001 to £250,000","indemnityBasis":"Any one claim (defence costs in addition)","limit":100000,"PiExcess":1000,"achievedPremium":625}}}}]},"packages":{"package":"£100,000","packages":[{"id":"package00000001","name":"£100,000","title":"£100,000"},{"id":"package00000002","name":"£250,000","title":"£250,000"},{"id":"package00000003","name":"£500,000","title":"£500,000"},{"id":"package00000004","name":"£1,000,000","title":"£1,000,000"},{"id":"package00000005","name":"£1,500,000","title":"£1,500,000"},{"id":"package00000006","name":"£2,000,000","title":"£2,000,000"}],"risks":[{"id":"risk000000000001","package":"£100,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000002","package":"£250,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000003","package":"£500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000004","package":"£1,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000005","package":"£1,500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000006","package":"£2,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]}]},"policy":{"id":1001,"policyNo":"PI/00000001","createdBy":"Broker User","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5","name":"Broker User","email":"broker.user@example.com"},"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","firstCalculationDate":"2026-10-08","originalCalculationDate":"2026-10-08","package":100000,"limitStatic":"Limit of Indemnity","piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes","financials":{"adminFeeSum":80},"params":{"productTag":"Professional Indemnity"}},"referrals":{"status":"referral-required","acceptanceRoles":["Underwriter"],"declineRoles":["Underwriter"],"editRoles":["Underwriter"],"roles":{"accept":[{"role":"Underwriter","title":null}],"decline":[{"role":"Underwriter","title":null}],"edit":[{"role":"Underwriter","title":null}]},"rules":[{"id":"REF001","type":"referral","external":false,"message":"Referred as 'other work activity' selected. Please select the 'Send referral' button to refer this quote to our underwriters.","fields":["customer.otherWork"],"fieldValues":{"customer.otherWork":"Yes"},"varValues":{"otherWork":"Yes"}},{"id":"REF003","type":"referral","external":false,"message":"Refer - inception date is before today's date.","fields":["policy.dateInception"],"fieldValues":{"policy.dateInception":"2026-10-07"},"varValues":{"dateInception":"2026-10-07","mta":null}},{"id":"REF002","type":"referral","external":false,"message":"Referred - tax exempt","fields":["customer.corAddress.country"],"fieldValues":{"customer.corAddress.country":"Isle of Man"},"varValues":{"country":"Isle of Man"}}]},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Create quote (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Quote returned by POST /sales/policies/create (not wrapped in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"data"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). It already contains the values filled by Ledger (broker commission, policy number, rater results for the default package, automatic endorsements) and the evaluated referral rules. Use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy.id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as the quote ID for the following calls. In this example "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referrals.status"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referral-required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", so the quote must be sent to referral before it can be bound or issued."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover":{"value":{"policy":{"id":"10669"},"schema":{"name":"stress-free-cover","type":"policy"}},"key":"stress-free-cover","summary":"Stress Free Cover - MTA","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity":{"value":{"policy":{"id":2001},"schema":{"name":"professionalindemnity","type":"policy"}},"key":"professional-indemnity","summary":"Professional Indemnity - Create MTA quote (request)","description":"An MTA quote can be created with minimal data. After creation, follow the same calculate/issue flow as a new quote using the returned MTA quote ID.","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"contractDetails":{"endDate":"2099-12-31","product":"stress-free-cover","startDate":"2025-12-21","status":"active"},"id":10,"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"id00000000000001","insurers":[{"allowCommSacrifice":false,"grossCommPct":37.5,"insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"stressFreeCover"}],"summary":{"name":"Stress Free Cover","umr":"EXAMPLE-UMR-0001"}},"broker":{"authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-04-21","commPctDefault":{"commissionSacrificeNegative":15,"commissionSacrificePositive":15,"commissionType":"%","effectivePeriodStartDate":"2026-04-01","newSalesCommission":15,"product":"stress-free-cover","renewalCommission":15}},"email":"broker@example.com","name":"Example Insurance Brokers Ltd","salesChannel":"Online","shortName":"Example Brokers","userEmail":"broker.user@example.com"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"relatedSearchLink":"https://www.sanctionssearch.com/members/search/details/10000001","sanctionsCheckStatus":"noMatch","searchRequestUUID":"b7d4e2a9-1c3f-4a6e-8b05-9e2f7c1d3a48"}},"internalNotes":[],"mta":{"policyId":10669},"objects":{"insuredItem":[{"data":{"country":"England","name":"Stress Free Cover","originalCalculationDate":"2026-04-21"},"id":"a1b2c3d4e5f60","include":true,"onCover":true,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":15,"grossCommPct":37.5,"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":true}}}]},"policy":{"authorUser":{"email":"broker.user@example.com","name":"Broker User","sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"createdBy":"Broker User","currency":"GBP","dateExpiry":"2026-06-21T20:59:00+01:00","dateInception":"2026-04-22T00:00:00+01:00","dateIssue":"2026-04-21","financials":{"adminFeeSum":0},"id":1002,"mtaDate":"2026-04-22","originalCalculationDate":"2026-04-21","params":{"productTag":"Stress Free Cover"},"policyNo":"SFR100000001/1","usingUnderwritingFee":"No"},"quote":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover - MTA response","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example":{"value":{"data":[],"meta":{"schemaPath":"policy/regular/casco/1","warnings":[{"code":"excel-calculator","status":422,"title":"Could not get prices for the object, please fill in all the required fields"},{"code":"make-model","title":"Not able to match make and model"}],"errors":[{"code":"excel-calculator","title":"Could not connect to excel calculator service"}]}},"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/example"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"data":{"binder":{"contractDetails":{"endDate":"2099-12-31","product":"stress-free-cover","startDate":"2025-12-21","status":"active"},"id":10,"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"id00000000000001","insurers":[{"allowCommSacrifice":false,"grossCommPct":37.5,"insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"stressFreeCover"}],"summary":{"name":"Stress Free Cover","umr":"EXAMPLE-UMR-0001"}},"broker":{"commission":{"commDate":"2026-04-21","commPctDefault":{"commissionSacrificeNegative":100,"commissionSacrificePositive":100,"commissionType":"%","effectivePeriodStartDate":"2025-12-21","newSalesCommission":25,"product":"stress-free-cover","renewalCommission":25}},"email":"broker@example.com","name":"Example Insurance Brokers Ltd","shortName":"Example Brokers"},"claims":{"insuredItem":[]},"customer":{"country":"Northern Ireland","customerType":"Individual","name":"Example Customer","sanctionsSearch":{"relatedSearchLink":"https://www.sanctionssearch.com/members/search/details/10000001","sanctionsCheckStatus":"noMatch","searchRequestUUID":"b7d4e2a9-1c3f-4a6e-8b05-9e2f7c1d3a48"}},"documents":{"documents":[]},"internalNotes":[],"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover","originalCalculationDate":"2026-04-21"},"id":"a1b2c3d4e5f60","include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":25,"grossCommPct":37.5,"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"premium":189,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"authorUser":{"email":"broker.user@example.com","name":"Broker User","sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"createdBy":"Broker User","currency":"GBP","dateExpiry":"2026-05-07T17:59:00+01:00","dateInception":"2026-04-08T00:00:00+01:00","dateIssue":"2026-04-07","financials":{"adminFeeSum":0},"id":1001,"originalCalculationDate":"2026-04-21","params":{"productTag":"Stress Free Cover"},"policyNo":"SFR100000001","usingUnderwritingFee":"No"},"referralComments":[],"referrals":{"acceptanceRoles":[],"rules":[],"status":"referral-not-needed"},"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":10}},"meta":{"schemaPath":"policy/regular/stress-free-cover/10"}},"key":"stress-free-cover","summary":"Stress Free Cover quote creation response","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"data":{"binder":{"id":10,"contractDetails":{"product":"professionalindemnity","startDate":"2025-12-01","endDate":"2026-11-30","status":"active"},"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"share0000000001","objectType":"insuredItem","risk":"professionalIndemnity","insurers":[{"insurer":"Example Insurer","isLead":true,"grossCommPct":35,"premiumSharePct":100,"allowCommSacrifice":false}]}],"summary":{"name":"Example PI Binder","umr":"EXAMPLE-UMR-0001"}},"broker":{"name":"Example Insurance Brokers Ltd","shortName":"Example Brokers","userEmail":"broker.user@example.com","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-10-07","commPctDefault":{"product":"professionalindemnity","commissionType":"%","newSalesCommission":22.5,"renewalCommission":22.5,"commissionSacrificePositive":22.5,"commissionSacrificeNegative":22.5,"effectivePeriodStartDate":"2025-11-24"}}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"London","county":"Greater London","zip":"AB1 2CD","country":"England","streetZip":"1 Example Street, AB1 2CD, London, Greater London, England"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients","riskCode":"E5","coverSummary":"","wording":"","sanctionsSearch":{"sanctionsCheckStatus":"underThreshold","relatedSearchLink":"https://www.sanctionssearch.com/members/search/details/10000001","searchRequestUUID":"b7d4e2a9-1c3f-4a6e-8b05-9e2f7c1d3a48"}},"documents":{"documents":[]},"endorsements":[{"id":"SUWPI004","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","type":"automatic","lang":"en","group":null,"document":null,"editable":false,"removable":true,"text":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> <p>It is hereby understood and agreed:</p><p>1) This endorsement takes priority over any other provision in this policy.</p> …","translatable":[{"lang":"en","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","description":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> …"}]}],"internalNotes":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"id":"a1b2c3d4e5f60","data":{"name":"Professional Indemnity","originalCalculationDate":"2026-10-07"},"include":true,"onCover":false,"products":{"professionalIndemnity":{"include":true,"onCover":false,"data":{"name":"professionalIndemnity","class":"Casualty","hiddenTrade":"Accountant","income":200000,"offshoreTax":"No","banking":"No","entertainment":"No","rateCategory":"Medium","feeBand":"£175,001 to £250,000","indemnityBasis":"Any one claim (defence costs in addition)","limit":100000,"PiExcess":1000,"achievedPremium":625},"financials":{"premium":625,"premiumIptPcs":0,"insurers":[{"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"commPct":22.5,"grossCommPct":35,"premiumSharePct":100,"allowCommSacrifice":false}]}}}}]},"packages":{"package":"£100,000","optionalRisks":[],"packages":[{"id":"package00000001","name":"£100,000","title":"£100,000"},{"id":"package00000002","name":"£250,000","title":"£250,000"},{"id":"package00000003","name":"£500,000","title":"£500,000"},{"id":"package00000004","name":"£1,000,000","title":"£1,000,000"},{"id":"package00000005","name":"£1,500,000","title":"£1,500,000"},{"id":"package00000006","name":"£2,000,000","title":"£2,000,000"}],"premiums":[{"package":"£100,000","premium":625,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"package":"£250,000","premium":775,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"package":"£500,000","premium":900,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"package":"£1,000,000","premium":1075,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"package":"£1,500,000","premium":1300,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"package":"£2,000,000","premium":1525,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"}],"risks":[{"id":"risk000000000001","package":"£100,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000002","package":"£250,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000003","package":"£500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000004","package":"£1,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000005","package":"£1,500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000006","package":"£2,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]}]},"policy":{"id":1001,"policyNo":"PI/00000001","createdBy":"Broker User","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5","name":"Broker User","email":"broker.user@example.com"},"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","firstCalculationDate":"2026-10-07","originalCalculationDate":"2026-10-07","package":100000,"limitStatic":"Limit of Indemnity","piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes","financials":{"adminFeeSum":80},"params":{"productTag":"Professional Indemnity"}},"referralComments":[],"referrals":{"status":"referral-not-needed","acceptanceRoles":[],"declineRoles":["Underwriter"],"editRoles":["Underwriter"],"roles":{"accept":[{"id":"role000000accept","role":"Underwriter"}],"decline":[{"id":"role00000decline","role":"Underwriter"}],"edit":[{"id":"role0000000edit","role":"Underwriter"}]},"rules":[{"id":"REF001","type":"referral","accepted":true,"external":false,"message":"Referred as 'other work activity' selected. Please select the 'Send referral' button to refer this quote to our underwriters.","fields":["customer.otherWork"],"fieldValues":{"customer.otherWork":"Yes"},"varValues":{"otherWork":"Yes"}}]},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"meta":{"schemaPath":"policy/regular/professionalindemnity/31","status":"quote:underwritten"}},"key":"professional-indemnity","summary":"Professional Indemnity - Get quote data (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload returned once Data Enrichment and Calculation are complete. Includes values filled by Ledger (broker, binder, policy number, rater results such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"feeBand"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PiExcess"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and premiums per package) and the referral rules evaluated for the quote."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example":{"value":{"message":"Tenant id is not found in header"},"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"},"paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example":{"value":{"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"}},"id":"paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update":{"value":{"policy":{"dateInception":"2022-05-25","dateExpiry":"2022-05-24"}},"key":"partial-policy-update","summary":"Partial data update is supported.","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-policy-update"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update":{"value":{"objects":{"{objectType}":[{"data":{"name":"New object name"},"id":"628b76552a696"}]}},"key":"partial-existing-object-block-update","summary":"In case of `objects` block to update object, need to provide `id`.","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/partial-existing-object-block-update"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing":{"value":{"policy":{"dateExpiry":null}},"key":"property-removing","summary":"Regular field removing (not objects block)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/property-removing"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing":{"value":{"objects":{"{objectType}":[{"id":"62f8bf71b98d8","data":null}]}},"key":"object-removing","summary":"Remove object","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/requestBody/content/application~1json/examples/object-removing"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example":{"value":["See response description for more details."],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/example"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"id":10},"broker":{"shortName":"Example Brokers"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"endorsements":[],"internalNotes":[{"name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"insurer":"Example Insurer","isLead":false}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"currency":"GBP","dateExpiry":"2027-02-21T16:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"params":{"productTag":"Stress Free Cover"},"usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"name":"Example Insurance Brokers Ltd","shortName":"Example Brokers","salesChannel":null,"authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-10-08","commPctDefault":{"product":"professionalindemnity","commissionType":"%","newSalesCommission":22.5,"renewalCommission":22.5,"commissionSacrificePositive":22.5,"commissionSacrificeNegative":22.5,"effectivePeriodStartDate":"2025-11-24"}}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"Douglas","county":"Isle of Man","zip":"IM1 1AA","country":"Isle of Man","streetZip":"1 Example Street, IM1 1AA, Douglas, Isle of Man, Isle of Man"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients","riskCode":"E5","coverSummary":"","wording":""},"documents":{"documents":[]},"endorsements":[{"id":"SUWPI004","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","type":"automatic","lang":"en","group":null,"document":null,"editable":false,"removable":true,"infoForUW":"Please select an endorsement from the picklist or begin typing a free format endorsement in the same input cell","text":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> <p>It is hereby understood and agreed:</p><p>1) This endorsement takes priority over any other provision in this policy.</p> …","translatable":[{"lang":"en","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","description":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> …"}]}],"internalNotes":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"id":"a1b2c3d4e5f60","data":{"name":"Professional Indemnity","originalCalculationDate":"2026-10-08"},"include":true,"onCover":false,"products":{"professionalIndemnity":{"include":true,"onCover":false,"data":{"name":"professionalIndemnity","class":"Casualty","hiddenTrade":"Accountant","income":200000,"offshoreTax":"No","banking":"No","entertainment":"No","rateCategory":"Medium","feeBand":"£175,001 to £250,000","indemnityBasis":"Any one claim (defence costs in addition)","limit":100000,"PiExcess":1000,"achievedPremium":775}}}}]},"packages":{"package":"£250,000","optionalRisks":[],"packages":[{"id":"package00000001","name":"£100,000","title":"£100,000"},{"id":"package00000002","name":"£250,000","title":"£250,000"},{"id":"package00000003","name":"£500,000","title":"£500,000"},{"id":"package00000004","name":"£1,000,000","title":"£1,000,000"},{"id":"package00000005","name":"£1,500,000","title":"£1,500,000"},{"id":"package00000006","name":"£2,000,000","title":"£2,000,000"}],"risks":[{"package":"£100,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"package":"£250,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"package":"£500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"package":"£1,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"package":"£1,500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"package":"£2,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]}]},"policy":{"id":1001,"policyNo":"PI/00000001","createdBy":"Broker User","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5","name":"Broker User","email":"broker.user@example.com"},"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","firstCalculationDate":"2026-10-08","originalCalculationDate":"2026-10-08","package":250000,"limitStatic":"Limit of Indemnity","piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes","financials":{"adminFeeSum":80},"params":{"productTag":"Professional Indemnity"}},"referralComments":[],"referrals":{"status":"referral-not-needed","acceptanceRoles":[],"declineRoles":["Underwriter"],"editRoles":["Underwriter"],"roles":{"accept":[{"id":"role000000accept","role":"Underwriter"}],"decline":[{"id":"role00000decline","role":"Underwriter"}],"edit":[{"id":"role0000000edit","role":"Underwriter"}]},"rules":[{"id":"REF001","type":"referral","accepted":true,"external":false,"message":"Referred as 'other work activity' selected. Please select the 'Send referral' button to refer this quote to our underwriters.","fields":["customer.otherWork"],"fieldValues":{"customer.otherWork":"Yes"},"varValues":{"otherWork":"Yes"}},{"id":"REF003","type":"referral","accepted":true,"external":false,"message":"Refer - inception date is before today's date.","fields":["policy.dateInception"],"fieldValues":{"policy.dateInception":"2026-10-07"},"varValues":{"dateInception":"2026-10-07"}},{"id":"REF002","type":"referral","accepted":true,"external":false,"message":"Referred - tax exempt","fields":["customer.corAddress.country"],"fieldValues":{"customer.corAddress.country":"Isle of Man"},"varValues":{"country":"Isle of Man"}}]},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Update quote (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Saved quote payload returned by PUT /sales/policies/{policyId}/. Unlike the calculate response, the payload is not wrapped in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"data"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". It echoes the stored quote, including values previously filled by Ledger (broker commission, policy number, rater results, automatic endorsements) and the referral rules evaluated for the quote."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"id":10},"broker":{"shortName":"Example Brokers"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"endorsements":[],"internalNotes":[{"name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"insurer":"Example Insurer","isLead":false}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"currency":"GBP","dateExpiry":"2027-02-21T16:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"params":{"productTag":"Stress Free Cover"},"usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"London","county":"Greater London","zip":"AB1 2CD","country":"England"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients"},"documents":{"documents":[]},"endorsements":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{},"products":{"professionalIndemnity":{"data":{"income":200000,"offshoreTax":"No","banking":"No","entertainment":"No"}}}}]},"packages":{"package":"£100,000"},"policy":{"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","package":100000,"piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Quote payload","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload, used to create, update, calculate and bind a quote. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"packages.package"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" switches the chosen limit of indemnity on calculate."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"contractDetails":{"endDate":"2099-12-31","product":"stress-free-cover","startDate":"2025-12-21","status":"active"},"id":10,"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"id00000000000001","insurers":[{"allowCommSacrifice":false,"grossCommPct":37.5,"insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"stressFreeCover"}],"summary":{"name":"Stress Free Cover","umr":"EXAMPLE-UMR-0001"}},"broker":{"authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-04-21","commPctDefault":{"commissionSacrificeNegative":15,"commissionSacrificePositive":15,"commissionType":"%","effectivePeriodStartDate":"2026-04-01","newSalesCommission":15,"product":"stress-free-cover","renewalCommission":15}},"email":"broker@example.com","name":"Example Insurance Brokers Ltd","salesChannel":"Online","shortName":"Example Brokers","userEmail":"broker.user@example.com"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"internalNotes":[{"id":"id00000000000002","name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"id":"a1b2c3d4e5f60","include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":15,"grossCommPct":37.5,"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"authorUser":{"email":"broker.user@example.com","name":"Broker User","sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"createdBy":"Broker User","currency":"GBP","dateExpiry":"2027-02-21T16:00:00+00:00","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"id":1001,"params":{"productTag":"Stress Free Cover"},"policyNo":"SFR100000001","usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"data":{"broker":{"name":"Example Insurance Brokers Ltd","shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-10-08","commPctDefault":{"product":"professionalindemnity","commissionType":"%","newSalesCommission":22.5,"renewalCommission":22.5,"commissionSacrificePositive":22.5,"commissionSacrificeNegative":22.5,"effectivePeriodStartDate":"2025-11-24"}}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"Douglas","county":"Isle of Man","zip":"IM1 1AA","country":"Isle of Man","streetZip":"1 Example Street, IM1 1AA, Douglas, Isle of Man, Isle of Man"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients","riskCode":"E5","coverSummary":"","wording":""},"documents":{"documents":[]},"endorsements":[{"id":"SUWPI004","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","type":"automatic","lang":"en","group":null,"document":null,"editable":false,"removable":true,"infoForUW":"Please select an endorsement from the picklist or begin typing a free format endorsement in the same input cell","text":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> <p>It is hereby understood and agreed:</p><p>1) This endorsement takes priority over any other provision in this policy.</p> …","translatable":[{"lang":"en","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","description":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> …"}]}],"internalNotes":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"id":"a1b2c3d4e5f60","data":{"name":"Professional Indemnity","originalCalculationDate":"2026-10-08"},"include":true,"onCover":false,"products":{"professionalIndemnity":{"include":true,"onCover":false,"data":{"name":"professionalIndemnity","class":"Casualty","hiddenTrade":"Accountant","income":200000,"offshoreTax":"No","banking":"No","entertainment":"No","rateCategory":"Medium","feeBand":"£175,001 to £250,000","indemnityBasis":"Any one claim (defence costs in addition)","limit":100000,"PiExcess":1000,"achievedPremium":775}}}}]},"packages":{"package":"£250,000","optionalRisks":[],"packages":[{"id":"package00000001","name":"£100,000","title":"£100,000"},{"id":"package00000002","name":"£250,000","title":"£250,000"},{"id":"package00000003","name":"£500,000","title":"£500,000"},{"id":"package00000004","name":"£1,000,000","title":"£1,000,000"},{"id":"package00000005","name":"£1,500,000","title":"£1,500,000"},{"id":"package00000006","name":"£2,000,000","title":"£2,000,000"}],"risks":[{"id":"risk000000000001","package":"£100,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000002","package":"£250,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000003","package":"£500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000004","package":"£1,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000005","package":"£1,500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000006","package":"£2,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]}]},"policy":{"id":1001,"policyNo":"PI/00000001","createdBy":"Broker User","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5","name":"Broker User","email":"broker.user@example.com"},"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","firstCalculationDate":"2026-10-08","originalCalculationDate":"2026-10-08","package":250000,"limitStatic":"Limit of Indemnity","piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes","financials":{"adminFeeSum":80},"params":{"productTag":"Professional Indemnity"}},"referralComments":[],"referrals":{"status":"referral-not-needed","acceptanceRoles":[],"declineRoles":["Underwriter"],"editRoles":["Underwriter"],"roles":{"accept":[{"id":"role000000accept","role":"Underwriter"}],"decline":[{"id":"role00000decline","role":"Underwriter"}],"edit":[{"id":"role0000000edit","role":"Underwriter"}]},"rules":[{"id":"REF001","type":"referral","accepted":true,"external":false,"message":"Referred as 'other work activity' selected. Please select the 'Send referral' button to refer this quote to our underwriters.","fields":["customer.otherWork"],"fieldValues":{"customer.otherWork":"Yes"},"varValues":{"otherWork":"Yes"}},{"id":"REF003","type":"referral","accepted":true,"external":false,"message":"Refer - inception date is before today's date.","fields":["policy.dateInception"],"fieldValues":{"policy.dateInception":"2026-10-07"},"varValues":{"dateInception":"2026-10-07"}},{"id":"REF002","type":"referral","accepted":true,"external":false,"message":"Referred - tax exempt","fields":["customer.corAddress.country"],"fieldValues":{"customer.corAddress.country":"Isle of Man"},"varValues":{"country":"Isle of Man"}}]},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}}},"key":"professional-indemnity","summary":"Professional Indemnity - Update and calculate (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload returned after the quote is updated and recalculated. Includes values filled by Ledger (broker commission, policy number, rater results such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"feeBand"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PiExcess"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"achievedPremium"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for the chosen package, automatic endorsements) and the referral rules evaluated for the quote."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example":{"value":{"data":{"mtaPremiumAfterIssue":null,"periodAdminFee":0,"periodBrokerCommission":57.65,"periodCustomerTotal":430.42,"periodIpt":46.12,"periodPremium":384.3},"fields":[{"name":"periodPremium","title":"Premium"},{"name":"periodIpt","title":"IPT"},{"name":"periodAdminFee","title":"UW Fee"},{"name":"periodBrokerCommission","title":"Broker commission"},{"name":"periodCustomerTotal","title":"Total"}],"installments":[{"accessoriesFee":0,"adminFee":0,"binderBrokerComm":0,"brokerComm":57.65,"carrier":"Example Insurer","carrierNet":240.19,"compFund":0,"compFundM":0,"customerTotal":430.42,"dueDate":"2026-05-31","fee1":0,"fireTax":0,"installmentFee":0,"insurerFee":0,"ipt":46.12,"mgaComm":144.11,"mgaNetComm":86.46,"object":"Stress Free Cover","objectType":"insuredItem","object_id":"a1b2c3d4e5f60","payer":"partner","policy_id":1001,"premium":384.3,"product":"stressFreeCover","stampFee":0,"surplus":0,"vat":0}]},"key":"calculation-response-example","summary":"Stress Free Cover - Get policy financials (GET response)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/calculation-response-example"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"data":{"mtaPremiumAfterIssue":null,"periodAdminFee":80,"periodBrokerCommission":174.38,"periodCustomerTotal":855,"periodIpt":0,"periodPremium":775},"fields":[{"name":"periodPremium","title":"Premium"},{"name":"periodIpt","title":"IPT"},{"name":"periodAdminFee","title":"UW Fee"},{"name":"periodBrokerCommission","title":"Broker commission"},{"name":"periodCustomerTotal","title":"Total"}],"installments":[{"policy_id":1001,"object":"Professional Indemnity","objectType":"insuredItem","object_id":"a1b2c3d4e5f60","product":"professionalIndemnity","carrier":"Example Insurer","payer":"partner","dueDate":"2026-11-30","premium":775,"customerTotal":775,"brokerComm":174.38,"binderBrokerComm":0,"mgaComm":271.25,"mgaNetComm":96.87,"carrierNet":503.75,"ipt":0,"vat":0,"adminFee":0,"accessoriesFee":0,"installmentFee":0,"insurerFee":0,"stampFee":0,"fee1":0,"fireTax":0,"levy":0,"natCat":0,"compFund":0,"compFundM":0,"surplus":0},{"policy_id":1001,"object":null,"objectType":null,"object_id":null,"product":null,"carrier":null,"payer":"partner","dueDate":"2026-11-30","premium":0,"customerTotal":80,"adminFee":80,"brokerComm":0,"brokerFee":0,"binderBrokerComm":0,"mgaComm":0,"mgaNetComm":0,"carrierNet":0,"ipt":0,"vat":0,"installmentFee":0,"insurerFee":0,"stampFee":0,"fee1":0,"fireTax":0,"levy":0,"natCat":0,"compFund":0,"compFundM":0,"surplus":0}]},"key":"professional-indemnity","summary":"Professional Indemnity - Get policy financials (GET response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Total period premium for the currently chosen or defaulted package, plus the installment breakdown. The UW fee ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"periodAdminFee"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") is returned as a separate installment line with no object or product."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"id":10},"broker":{"shortName":"Example Brokers"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"endorsements":[],"internalNotes":[{"name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"insurer":"Example Insurer","isLead":false}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"currency":"GBP","dateExpiry":"2027-02-21T16:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"params":{"productTag":"Stress Free Cover"},"usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"London","county":"Greater London","zip":"AB1 2CD","country":"England"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients"},"documents":{"documents":[]},"endorsements":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{},"products":{"professionalIndemnity":{"data":{"income":200000,"offshoreTax":"No","banking":"No","entertainment":"No"}}}}]},"packages":{"package":"£100,000"},"policy":{"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","package":100000,"piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Quote payload","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload, used to create, update, calculate and bind a quote. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"packages.package"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" switches the chosen limit of indemnity on calculate."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample":{"value":[],"key":"PostBindQuoteExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"data":{"binder":{"contractDetails":{"endDate":"2099-12-31","product":"stress-free-cover","startDate":"2025-12-21","status":"active"},"id":10,"limitations":[],"schema":{"name":"binder","type":"binder","version":3},"shares":[{"id":"id00000000000001","insurers":[{"allowCommSacrifice":false,"grossCommPct":37.5,"insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"stressFreeCover"}],"summary":{"name":"Stress Free Cover","umr":"EXAMPLE-UMR-0001"}},"broker":{"authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-04-21","commPctDefault":{"commissionSacrificeNegative":15,"commissionSacrificePositive":15,"commissionType":"%","effectivePeriodStartDate":"2026-04-01","newSalesCommission":15,"product":"stress-free-cover","renewalCommission":15}},"email":"broker@example.com","name":"Example Insurance Brokers Ltd","salesChannel":"Online","shortName":"Example Brokers","userEmail":"broker.user@example.com"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","id":5001,"name":"Example Customer","sanctionsSearch":{"relatedSearchLink":"https://www.sanctionssearch.com/members/search/details/10000001","sanctionsCheckStatus":"noMatch","searchRequestUUID":"b7d4e2a9-1c3f-4a6e-8b05-9e2f7c1d3a48"}},"documents":{"documents":[]},"internalNotes":[],"isPaid":true,"objects":{"insuredItem":[{"data":{"country":"England","name":"Stress Free Cover","originalCalculationDate":"2026-04-21"},"id":"a1b2c3d4e5f60","include":true,"onCover":true,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":15,"grossCommPct":37.5,"id":"a1b2c3d4e5f61","insurer":"Example Insurer","isLead":true,"premiumSharePct":100}],"premium":384.3,"premiumIptPcs":12},"include":true,"onCover":true}}}]},"policy":{"authorUser":{"email":"broker.user@example.com","name":"Broker User","sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"createdBy":"Broker User","currency":"GBP","dateExpiry":"2026-06-21T20:59:00+01:00","dateInception":"2026-04-22T00:00:00+01:00","dateIssue":"2026-04-21","financials":{"adminFeeSum":0},"id":2001,"originalCalculationDate":"2026-04-21","params":{"productTag":"Stress Free Cover"},"policyNo":"SFR100000001","usingUnderwritingFee":"No"},"quote":{"id":1001},"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"meta":{"schemaPath":"policy/policy-view/stress-free-cover/12","status":"policy_issued","version":1}},"key":"stress-free-cover","summary":"Stress Free Cover - Get policy (GET response)","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"data":{"bound":true,"isPaid":true,"broker":{"name":"Example Insurance Brokers Ltd","shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"},"commission":{"commDate":"2026-10-08","commPctDefault":{"product":"professionalindemnity","commissionType":"%","newSalesCommission":22.5,"renewalCommission":22.5,"commissionSacrificePositive":22.5,"commissionSacrificeNegative":22.5,"effectivePeriodStartDate":"2025-11-24"}}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"id":5001,"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"Douglas","county":"Isle of Man","zip":"IM1 1AA","country":"Isle of Man","streetZip":"1 Example Street, IM1 1AA, Douglas, Isle of Man, Isle of Man"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients","riskCode":"E5","coverSummary":"","wording":""},"documents":{"documents":[{"documentCategory":"quote","documentType":"quote","fileUpload":false,"file":{"documentId":9001,"filename":"Quote Schedule_PI_00000001.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"quote","documentType":"quoteSOF","fileUpload":false,"file":{"documentId":9002,"filename":"Quote Statement of Fact_PI_00000001.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"policyIssue","documentType":"wording","fileUpload":false,"file":{"documentId":9003,"filename":"PI Policy Wording.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"policyIssue","documentType":"summary","fileUpload":false,"file":{"documentId":9004,"filename":"PI Policy Summary.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"policyIssue","documentType":"importantInformation","fileUpload":false,"file":{"documentId":9005,"filename":"PI Important Information.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"policyIssue","documentType":"policySOF","fileUpload":false,"file":{"documentId":9006,"filename":"Policy Statement of Fact_PI_00000001.pdf","mime":"application/pdf","createdAt":"2026-10-08"}},{"documentCategory":"policyIssue","documentType":"policy","fileUpload":false,"file":{"documentId":9007,"filename":"Policy Schedule_PI_00000001.pdf","mime":"application/pdf","createdAt":"2026-10-08"}}]},"endorsements":[{"id":"SUWPI004","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","type":"automatic","lang":"en","group":null,"document":null,"deleted":false,"editable":false,"removable":true,"infoForUW":"Please select an endorsement from the picklist or begin typing a free format endorsement in the same input cell","text":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> <p>It is hereby understood and agreed:</p><p>1) This endorsement takes priority over any other provision in this policy.</p> …","translatable":[{"lang":"en","name":"SUWPI004 - Cyber & Data Protection Endorsement IUA","description":"<p><strong>Cyber &amp; Data Protection Endorsement IUA</strong></p> …"}]}],"internalNotes":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"id":"a1b2c3d4e5f60","data":{"name":"Professional Indemnity","originalCalculationDate":"2026-10-08"},"include":true,"onCover":true,"products":{"professionalIndemnity":{"include":true,"onCover":true,"data":{"name":"professionalIndemnity","class":"Casualty","hiddenTrade":"Accountant","income":200000,"offshoreTax":"No","banking":"No","entertainment":"No","rateCategory":"Medium","feeBand":"£175,001 to £250,000","indemnityBasis":"Any one claim (defence costs in addition)","limit":250000,"PiExcess":1000,"achievedPremium":775}}}}]},"packages":{"package":"£250,000","optionalRisks":[],"packages":[{"id":"package00000001","name":"£100,000","title":"£100,000"},{"id":"package00000002","name":"£250,000","title":"£250,000"},{"id":"package00000003","name":"£500,000","title":"£500,000"},{"id":"package00000004","name":"£1,000,000","title":"£1,000,000"},{"id":"package00000005","name":"£1,500,000","title":"£1,500,000"},{"id":"package00000006","name":"£2,000,000","title":"£2,000,000"}],"premiums":[{"id":"premium00000001","package":"£100,000","premium":625,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"id":"premium00000002","package":"£250,000","premium":775,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"id":"premium00000003","package":"£500,000","premium":900,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"id":"premium00000004","package":"£1,000,000","premium":1075,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"id":"premium00000005","package":"£1,500,000","premium":1300,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"},{"id":"premium00000006","package":"£2,000,000","premium":1525,"product":"professionalIndemnity","objectId":"a1b2c3d4e5f60","objectType":"insuredItem"}],"risks":[{"id":"risk000000000001","package":"£100,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000002","package":"£250,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000003","package":"£500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000004","package":"£1,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000005","package":"£1,500,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]},{"id":"risk000000000006","package":"£2,000,000","risks":[{"objectType":"insuredItem","products":{"optional":[],"required":["professionalIndemnity"]}}]}]},"policy":{"id":2001,"policyNo":"PI/00000001","createdBy":"Broker User","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5","name":"Broker User","email":"broker.user@example.com"},"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","dateIssue":"2026-10-08","dateQuoteValidUntil":"2026-11-07","firstCalculationDate":"2026-10-08","originalCalculationDate":"2026-10-08","quoteBoundDate":"2026-10-08","quoteBoundByUserId":101,"package":250000,"limitStatic":"Limit of Indemnity","piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes","financials":{"adminFeeSum":80},"params":{"productTag":"Professional Indemnity"}},"quote":{"id":1001},"referralComments":[{"id":"refcomment000001","status":"in-manual-referral","text":"Other work activity declared - please review.","time":"2026-10-08T08:06:41.312312Z","user":"Broker User","userSub":"724574f4-20a1-7074-135a-b7213ef692b5"},{"id":"refcomment000002","status":"manual-accepted","text":"Reviewed and accepted.","time":"2026-10-08T08:07:15.202551Z","user":"Underwriter User","userSub":"8c5e1f3a-2b7d-4c9e-a1f0-6d4b3e2a9c87"}],"referrals":{"status":"referral-not-needed","comment":"Reviewed and accepted.","acceptanceRoles":[],"declineRoles":["Underwriter"],"editRoles":["Underwriter"],"roles":{"accept":[{"id":"role000000accept","role":"Underwriter"}],"decline":[{"id":"role00000decline","role":"Underwriter"}],"edit":[{"id":"role0000000edit","role":"Underwriter"}]},"rules":[{"id":"REF001","type":"referral","accepted":true,"external":false,"message":"Referred as 'other work activity' selected. Please select the 'Send referral' button to refer this quote to our underwriters.","fields":["customer.otherWork"],"fieldValues":{"customer.otherWork":"Yes"},"varValues":{"otherWork":"Yes"}},{"id":"REF003","type":"referral","accepted":true,"external":false,"message":"Refer - inception date is before today's date.","fields":["policy.dateInception"],"fieldValues":{"policy.dateInception":"2026-10-07"},"varValues":{"dateInception":"2026-10-07"}},{"id":"REF002","type":"referral","accepted":true,"external":false,"message":"Referred - tax exempt","fields":["customer.corAddress.country"],"fieldValues":{"customer.corAddress.country":"Isle of Man"},"varValues":{"country":"Isle of Man"}}]},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"links":{"policy:mta":"https://example.app.insly.com/api/v1/ledger/policies/2001","policy:data-change":"https://example.app.insly.com/api/v1/ledger/policies/2001/data-change","policy:terminate":"https://example.app.insly.com/api/v1/ledger/policies/2001/terminate"},"meta":{"schemaPath":"policy/policy-view/professionalindemnity/31","status":"policy_issued","version":1}},"key":"professional-indemnity","summary":"Professional Indemnity - Get policy data (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Issued policy returned by GET /policies/{policyId}/links. Contains the full policy payload (including generated documents, per-package premiums and the referral history in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referralComments"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"), the original quote ID in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"quote.id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"links"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to the follow-up policy actions (MTA, technical data change, termination)."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example":{"value":{"policy":{"terminationType":"pro-rata","terminationDate":"2023-05-05","terminationSum":15,"shortRatePct":1}},"id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination":{"value":{"policy":{"terminationType":"full-rollback","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"full-rollback-termination","summary":"Termination with type full-rollback","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination":{"value":{"policy":{"terminationType":"manual","terminationDate":"2022-02-15","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"manual-termination","summary":"Termination with type manual","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination":{"value":{"policy":{"terminationType":"pro-rata","terminationDate":"2022-02-15","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"pro-rata-termination","summary":"Termination with type pro-rata","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"},"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies":{"value":{"data":{"header":"Installments","type":"installments","columns":[{"id":"version","title":"#"},{"id":"dueDate","title":"Due date"},{"id":"invoiceNo","title":"Invoice No"},{"id":"product","title":"Product"},{"id":"carrier","title":"Carrier"},{"id":"premium","title":"Premium"},{"id":"adminFee","title":"Administration fee"},{"id":"customerTotal","title":"Customer Total"},{"id":"ipt","title":"IPT"},{"id":"carrierNet","title":"Carrier Net"},{"id":"mgaComm","title":"MGA Commission"},{"id":"brokerComm","title":"Broker Commission"},{"id":"binderBrokerComm","title":"Binder broker Commission"},{"id":"status","title":"Status"}],"groupBy":[],"rows":[{"policy_id":2001,"dueDate":"2025-09-03","invoiceNo":"100000001","payer":"partner","customerTotal":90.09,"premium":80.44,"adminFee":0,"fee1":0,"vat":0,"carrierNet":64.35,"mgaComm":16.09,"brokerComm":16.09,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f60","product":"cllIncreasedFraudCover","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":9.65,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2001,"dueDate":"2025-09-03","invoiceNo":"100000001","payer":"partner","customerTotal":182.1,"premium":162.59,"adminFee":0,"fee1":0,"vat":0,"carrierNet":130.07,"mgaComm":32.52,"brokerComm":32.52,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f60","product":"companyLegalLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":19.51,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2001,"dueDate":"2025-09-03","invoiceNo":"100000001","payer":"partner","customerTotal":104.06,"premium":92.91,"adminFee":0,"fee1":0,"vat":0,"carrierNet":74.33,"mgaComm":18.58,"brokerComm":18.58,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f60","product":"directorsOfficersTrusteeLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":11.15,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2001,"dueDate":"2025-09-03","invoiceNo":"100000001","payer":"partner","customerTotal":182.1,"premium":162.59,"adminFee":0,"fee1":0,"vat":0,"carrierNet":130.07,"mgaComm":32.52,"brokerComm":32.52,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f60","product":"employmentPracticesLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":19.51,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"}],"totals":[{"premium":498.53,"adminFee":0,"fee1":0,"vat":0,"customerTotal":558.35,"carrierNet":398.82,"mgaComm":99.71,"brokerComm":99.71,"binderBrokerComm":0,"overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":59.82,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0}]}},"key":"management-liability-companies","summary":"Management Liability - Companies quote creation request","id":"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-companies"},"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs":{"value":{"data":{"header":"Installments","type":"installments","columns":[{"id":"version","title":"#"},{"id":"dueDate","title":"Due date"},{"id":"invoiceNo","title":"Invoice No"},{"id":"product","title":"Product"},{"id":"carrier","title":"Carrier"},{"id":"premium","title":"Premium"},{"id":"adminFee","title":"Administration fee"},{"id":"customerTotal","title":"Customer Total"},{"id":"ipt","title":"IPT"},{"id":"carrierNet","title":"Carrier Net"},{"id":"mgaComm","title":"MGA Commission"},{"id":"brokerComm","title":"Broker Commission"},{"id":"binderBrokerComm","title":"Binder broker Commission"},{"id":"status","title":"Status"}],"groupBy":[],"rows":[{"policy_id":2002,"dueDate":"2025-09-04","invoiceNo":"100000002","payer":"partner","customerTotal":59.51,"premium":53.13,"adminFee":0,"fee1":0,"vat":0,"carrierNet":32,"mgaComm":21.13,"brokerComm":19.8,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f61","product":"cllIncreasedFraudCover","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.33,"ipt":6.38,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2002,"dueDate":"2025-09-04","invoiceNo":"100000002","payer":"partner","customerTotal":198.84,"premium":177.54,"adminFee":0,"fee1":0,"vat":0,"carrierNet":106.92,"mgaComm":70.62,"brokerComm":66.16,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f61","product":"companyLegalLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":4.46,"ipt":21.3,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2002,"dueDate":"2025-09-04","invoiceNo":"100000002","payer":"partner","customerTotal":88.37,"premium":78.9,"adminFee":0,"fee1":0,"vat":0,"carrierNet":47.52,"mgaComm":31.38,"brokerComm":29.4,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f61","product":"directorsOfficersTrusteeLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.98,"ipt":9.47,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2002,"dueDate":"2025-09-04","invoiceNo":"100000002","payer":"partner","customerTotal":154.65,"premium":138.08,"adminFee":0,"fee1":0,"vat":0,"carrierNet":83.16,"mgaComm":54.92,"brokerComm":51.46,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f61","product":"employmentPracticesLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":3.46,"ipt":16.57,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"}],"totals":[{"premium":447.65,"adminFee":0,"fee1":0,"vat":0,"customerTotal":501.37,"carrierNet":269.6,"mgaComm":178.05,"brokerComm":166.82,"binderBrokerComm":0,"overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":11.23,"ipt":53.72,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0}]}},"key":"management-liability-charities-and-clubs","summary":"Management Liability - Charities and Clubs","id":"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-charities-and-clubs"},"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations":{"value":{"data":{"header":"Installments","type":"installments","columns":[{"id":"version","title":"#"},{"id":"dueDate","title":"Due date"},{"id":"invoiceNo","title":"Invoice No"},{"id":"product","title":"Product"},{"id":"carrier","title":"Carrier"},{"id":"premium","title":"Premium"},{"id":"adminFee","title":"Administration fee"},{"id":"customerTotal","title":"Customer Total"},{"id":"ipt","title":"IPT"},{"id":"carrierNet","title":"Carrier Net"},{"id":"mgaComm","title":"MGA Commission"},{"id":"brokerComm","title":"Broker Commission"},{"id":"binderBrokerComm","title":"Binder broker Commission"},{"id":"status","title":"Status"}],"groupBy":[],"rows":[{"policy_id":2003,"dueDate":"2025-09-07","invoiceNo":"100000003","payer":"partner","customerTotal":66.45,"premium":59.33,"adminFee":0,"fee1":0,"vat":0,"carrierNet":36,"mgaComm":23.33,"brokerComm":21.83,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f62","product":"cllIncreasedFraudCover","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.5,"ipt":7.12,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2003,"dueDate":"2025-09-07","invoiceNo":"100000003","payer":"partner","customerTotal":71.64,"premium":63.97,"adminFee":0,"fee1":0,"vat":0,"carrierNet":38.83,"mgaComm":25.14,"brokerComm":23.53,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f62","product":"companyLegalLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.61,"ipt":7.67,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2003,"dueDate":"2025-09-07","invoiceNo":"100000003","payer":"partner","customerTotal":71.64,"premium":63.96,"adminFee":0,"fee1":0,"vat":0,"carrierNet":38.81,"mgaComm":25.15,"brokerComm":23.53,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f62","product":"directorsOfficersTrusteeLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.62,"ipt":7.68,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"},{"policy_id":2003,"dueDate":"2025-09-07","invoiceNo":"100000003","payer":"partner","customerTotal":66.45,"premium":59.33,"adminFee":0,"fee1":0,"vat":0,"carrierNet":36,"mgaComm":23.33,"brokerComm":21.83,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f62","product":"employmentPracticesLiability","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":1.5,"ipt":7.12,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Insurance coverages","status":"not paid"}],"totals":[{"premium":246.59,"adminFee":0,"fee1":0,"vat":0,"customerTotal":276.18,"carrierNet":149.64,"mgaComm":96.95,"brokerComm":90.72,"binderBrokerComm":0,"overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"accessoriesFee":0,"mgaNetComm":6.23,"ipt":29.59,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0}]}},"key":"management-liability-resident-associations","summary":"Management Liability - Resident Associations","id":"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/management-liability-resident-associations"},"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"data":{"header":"Installments","type":"installments","columns":[{"id":"version","title":"#"},{"id":"dueDate","title":"Due date"},{"id":"invoiceNo","title":"Invoice No"},{"id":"product","title":"Product"},{"id":"carrier","title":"Carrier"},{"id":"premium","title":"Premium"},{"id":"adminFee","title":"Administration fee"},{"id":"customerTotal","title":"Customer Total"},{"id":"ipt","title":"IPT"},{"id":"carrierNet","title":"Carrier Net"},{"id":"mgaComm","title":"MGA Commission"},{"id":"brokerComm","title":"Broker Commission"},{"id":"binderBrokerComm","title":"Binder broker Commission"},{"id":"status","title":"Status"}],"groupBy":[],"rows":[{"policy_id":2001,"dueDate":"2026-11-30","invoiceNo":"100000001","payer":"partner","customerTotal":775,"premium":775,"adminFee":0,"accessoriesFee":0,"fee1":0,"vat":0,"carrierNet":503.75,"mgaComm":271.25,"brokerComm":174.38,"binderBrokerComm":0,"object_id":"a1b2c3d4e5f60","product":"professionalIndemnity","carrier":"Example Insurer","overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":96.87,"ipt":0,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":"insuredItem","object":"Professional Indemnity","status":"not paid"},{"policy_id":2001,"dueDate":"2026-11-30","invoiceNo":"100000001","payer":"partner","customerTotal":80,"premium":0,"adminFee":80,"accessoriesFee":0,"fee1":0,"vat":0,"carrierNet":0,"mgaComm":0,"brokerComm":0,"binderBrokerComm":0,"object_id":null,"product":null,"carrier":null,"overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":0,"ipt":0,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0,"invoiceDocumentId":null,"objectType":null,"object":null,"status":"not paid"}],"totals":[{"premium":775,"adminFee":80,"accessoriesFee":0,"fee1":0,"vat":0,"customerTotal":855,"carrierNet":503.75,"mgaComm":271.25,"brokerComm":174.38,"binderBrokerComm":0,"overdueTotal":0,"totalPayments":0,"insurerFee":0,"installmentFee":0,"mgaNetComm":96.87,"ipt":0,"surplus":0,"stampFee":0,"fireTax":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"compFund":0,"compFundM":0,"levy":0,"nonResident":0,"withholding":0}]}},"key":"professional-indemnity","summary":"Professional Indemnity - Get policy installments (response)","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Customer policy installments returned by GET /customers/policies/{policyId}/custom-view/installments. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"columns"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" lists the fields shown in the installments table; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"rows"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" holds one line per product and due date, with the UW fee ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"adminFee"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") as a separate line without an object or product; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"totals"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" sums all rows. Annual payment ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payMonthFrequency: 12"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"), so a single due date."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/professional-indemnity"},"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover":{"value":{"binder":{"id":10},"broker":{"shortName":"Example Brokers"},"customer":{"corAddress":{"zip":"AB1 2CD"},"country":"Estonia","customerType":"Individual","email":"customer@example.com","name":"Example Customer","sanctionsSearch":{"sanctionsCheckStatus":"notChecked"}},"documents":{"documents":[]},"endorsements":[],"internalNotes":[{"name":"Underwriting note","text":"Customer confirmed details by phone."}],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{"country":"Estonia","name":"Stress Free Cover"},"include":true,"onCover":false,"products":{"stressFreeCover":{"data":{"name":"stressFreeCover"},"financials":{"insurers":[{"insurer":"Example Insurer","isLead":false}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"policy":{"currency":"GBP","dateExpiry":"2027-02-21T16:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","financials":{"adminFeeSum":0},"params":{"productTag":"Stress Free Cover"},"usingUnderwritingFee":"No"},"referralComments":[],"schedules":{"firstPayment":{"dueDate":"2026-05-31"},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"stress-free-cover","type":"policy","version":12}},"key":"stress-free-cover","summary":"Stress Free Cover","id":"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/stress-free-cover"},"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity":{"value":{"broker":{"shortName":"Example Brokers","authorUser":{"sub":"724574f4-20a1-7074-135a-b7213ef692b5"}},"claims":{"claims":"No"},"conditions":{"cyberBreach":"Agree","diarySystem":"Agree","engagementLetters":"Agree","handleMoney":"Agree","icaew":"Agree","policyDeclined":"Agree","receivedClaim":"Agree","sanctionedIndividual":"Agree","singleFee":"Agree","workUK":"Agree"},"customer":{"name":"Example Accountants Ltd","customerType":"Company","dateEstablished":"2000-01-01","corAddress":{"street":"1 Example Street","city":"London","county":"Greater London","zip":"AB1 2CD","country":"England"},"trade":"Accountant","audit":"Disagree","directorship":"Agree","bookkeeping":"Agree","acca":"No","soleTrader":"No","otherWork":"Yes","otherWorkDetails":"Occasional payroll bureau services for existing clients"},"documents":{"documents":[]},"endorsements":[],"notes":{"brokerAndUnderwriter":"Please contact the broker before binding."},"objects":{"insuredItem":[{"data":{},"products":{"professionalIndemnity":{"data":{"income":200000,"offshoreTax":"No","banking":"No","entertainment":"No"}}}}]},"packages":{"package":"£100,000"},"policy":{"currency":"GBP","dateInception":"2026-10-07","dateExpiry":"2027-10-06","package":100000,"piInsurance":"No","usingUnderwritingFee":"No","automaticRenewal":"yes","forceReferral":"yes"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14,"firstPayment":{"dueDate":"2026-11-30"}},"schema":{"name":"professionalindemnity","type":"policy","version":31}},"key":"professional-indemnity","summary":"Professional Indemnity - Quote payload","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full quote payload, used to create, update, calculate and bind a quote. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"packages.package"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" switches the chosen limit of indemnity on calculate."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/professional-indemnity"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Login with email and password to get the authentication token","in":"header","paramName":"Token based Auth"}},"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"specType":"openapi"},"options":{"schemasExpansionLevel":2,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/tenancy/accelerate/ledger-open-api/bundled.json?download"},{"url":"/_bundle/tenancy/accelerate/ledger-open-api/bundled.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Ledger/Sales service","description":"<h3>Using Swagger documentation in Postman</h3><br>\nYou can find instructions on how to convert swagger documentation to Postman collection\n<a href='https://medium.com/c-sharp-progarmming/convert-swagger-documentation-to-postman-collection-d67fc95c7b14'>here</a>.<br>\nThere is a known problem in Postman with env variables being imported as parameters (<b>:schemaName</b>\ninstead of <b>{{schemaName}}</b>. More info on the issue can be found\n<a href='https://github.com/postmanlabs/postman-app-support/issues/4598'>here</a>.<br>\nPossible workaround is to find and replace all parameters with env variables inside Postman. For example search for\n:schemaName and replace with {{schemaName}}. Instructions how to do it in Postman are\n<a href='https://blog.postman.com/find-and-replace-text-code-and-variables-in-postman/'>here</a>.\n<hr/><h3>Authorization</h3>\nTo obtain a token, start by visiting the\n<a href='/apis/identifier/swagger/authentication/login'>identifier service documentation</a>\nand make a request with your username and password.<br>\nOnce you receive the response, copy the <code>access_token</code> and use it for making requests to ledger services."}},"baseSlug":"/tenancy/accelerate/ledger-open-api/bundled","routesMapping":{}}