{"items":[{"type":"link","label":"Ledger/Sales service","link":"/apis/ledger/bundled","routeSlug":"/apis/ledger/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/apis/ledger/bundled.json?download"},{"kind":"download","label":"bundled.yaml","url":"/_bundle/apis/ledger/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":"/apis/ledger/bundled"}],"sectionId":"/apis/ledger/bundled"}]}]}},{"type":"group","label":"Quote Create","link":"/apis/ledger/bundled/quote-create","routeSlug":"/apis/ledger/bundled/quote-create","items":[{"label":"Create a new quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-create/quote-create","routeSlug":"/apis/ledger/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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"},{"name":"Accept-Language","in":"header","schemaId":"schema_776","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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"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,"example":"{$inputs.tenant}","schemaId":"schema_776"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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_777","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/PostQuoteCreateExample"]}},"schemaId":"schema_777","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/PostQuoteCreateExample"]},{"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_777","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/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_777","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/PostQuoteCreateExample"]}}},{"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":"/apis/ledger/bundled/quote-create/policy-mta","routeSlug":"/apis/ledger/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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"},{"name":"Accept-Language","in":"header","schemaId":"schema_776","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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"]}},"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"],"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,"example":"{$inputs.tenant}","schemaId":"schema_776"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"]}},"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"]}},"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"}},"schemaId":"components/schemas/policy-root"},{"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","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root"}}},{"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":"/apis/ledger/bundled/quote-data","routeSlug":"/apis/ledger/bundled/quote-data","items":[{"label":"Get quote data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-data/get-quote-data","routeSlug":"/apis/ledger/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_776","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_778","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"},{"name":"Accept-Language","in":"header","schemaId":"schema_776","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_776"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_778"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_776"}],"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_779","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/PostQuoteCreateExample"]}},"schemaId":"schema_779","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/PostQuoteCreateExample"]},{"code":"400","description":"Incorrect request.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}},"schemaId":"schema_777","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_779","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/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_779","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/PostQuoteCreateExample"]}}},{"code":"400","schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_777","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":"/apis/ledger/bundled/quote-data/get-quote-actions","routeSlug":"/apis/ledger/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_776","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_780"}],"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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_776"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_780"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_781","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_781","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_781","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_781","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":"/apis/ledger/bundled/quote-data/quote-get-installments-schedule","routeSlug":"/apis/ledger/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_782","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_782"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_783"}},"schemaId":"schema_783"},{"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_783","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_783"}}},{"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":"/apis/ledger/bundled/quote-edit","routeSlug":"/apis/ledger/bundled/quote-edit","items":[{"label":"Update quote","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-edit/update-quote-data","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_777","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_777","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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","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_777","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_777","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_777","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/PostQuoteCreateExample"]}},"schemaId":"schema_777","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/PostQuoteCreateExample"]},{"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_777","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/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_777","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/PostQuoteCreateExample"]}}},{"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":"/apis/ledger/bundled/quote-edit/quote-decline","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_784","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"schemaId":"schema_784","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample"],"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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_784","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"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_784","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_784","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/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":"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":"/apis/ledger/bundled/quote-calculation","routeSlug":"/apis/ledger/bundled/quote-calculation","items":[{"label":"Calculate quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-calculation/quote-update-and-calculate","routeSlug":"/apis/ledger/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_785","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_778","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"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_785"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_778"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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_786","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"]}},"schemaId":"schema_786","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_786","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_786","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"]}}}],"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":"/apis/ledger/bundled/quote-calculation/get-quote-financials","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_787"}},"schemaId":"schema_787"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_787","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_787"}}}],"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":"/apis/ledger/bundled/quote-documents","routeSlug":"/apis/ledger/bundled/quote-documents","items":[{"label":"Generate quote documents","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-documents/generate-quote-documents","routeSlug":"/apis/ledger/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_788","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_788"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_789"}},"schemaId":"schema_789"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_789","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_789"}}}],"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":"/apis/ledger/bundled/quote-documents/get-document","routeSlug":"/apis/ledger/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_785","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_785"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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":"/apis/ledger/bundled/quote-referrals","routeSlug":"/apis/ledger/bundled/quote-referrals","items":[{"label":"Send quote to referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-referrals/send-quote-to-referral","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_790"}},"schemaId":"schema_790","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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_790"}},"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_790","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_790"}},"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","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}},"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/send-quote-to-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals"}],"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}]}]}]}]}},{"type":"group","label":"Quote Binding","link":"/apis/ledger/bundled/quote-binding","routeSlug":"/apis/ledger/bundled/quote-binding","items":[{"label":"Bind policy draft","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-binding/quote-bind","routeSlug":"/apis/ledger/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_785","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"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_785"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"]}},"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","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}},"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"]}}}],"examples":[]}]}]},{"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":"/apis/ledger/bundled/quote-issue","routeSlug":"/apis/ledger/bundled/quote-issue","items":[{"label":"Issue quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/quote-issue/issue-quote","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_777","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"schemaId":"schema_777","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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_777","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_777","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_777","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_791"}},"schemaId":"schema_791"},{"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_791","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_791"}}},{"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":"/apis/ledger/bundled/policy-data","routeSlug":"/apis/ledger/bundled/policy-data","items":[{"label":"Preparing data before renewal quote create","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/policy-data/get-policy-renewal-data","routeSlug":"/apis/ledger/bundled/policy-data/get-policy-renewal-data","metadata":{"seo":{"title":"Preparing data before renewal quote create","description":"Preparing data before renewal quote create"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-renewal-data","name":"Preparing data before renewal quote create","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Preparing data before renewal quote create","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Preparing data before renewal quote create"},{"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_788","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{policyId}/renewal","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":"1","schemaId":"schema_788"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","500"],"pointer":"/api/v1/ledger/policies/{policyId}/renewal","href":"policy-data/get-policy-renewal-data","openApiOperationId":"get-policy-renewal-data","summary":"Preparing data before renewal quote create"},"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":"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_777","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"]}},"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"]},{"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~1policies~1{policyId}~1renewal/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_777","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"]}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-renewal-data"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/renewal"},{"label":"Get policy data with links","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/policy-data/get-policy-with-links","routeSlug":"/apis/ledger/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_782","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_792"}],"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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"},{"name":"Accept-Language","in":"header","schemaId":"schema_776","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_782"}],"query":[{"name":"forceCoverageDateFormat","in":"query","required":false,"example":"false","schemaId":"schema_792"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_776"}],"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_793"}},"schemaId":"schema_793"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_793","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_793"}}}],"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":"/apis/ledger/bundled/policy-data/get-policy-invoices","routeSlug":"/apis/ledger/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_782","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_782"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_794"}},"schemaId":"schema_794"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_794","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_794"}}}],"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":"/apis/ledger/bundled/policy-data/get-policy-period-totals","routeSlug":"/apis/ledger/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_782","description":"Policy id","required":true},{"name":"version","in":"path","schemaId":"schema_788","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_782"},{"name":"version","in":"path","required":false,"example":"1","schemaId":"schema_788"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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}/renewal","summary":"Preparing data before renewal quote create","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-renewal-data","deprecated":false},{"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":"/apis/ledger/bundled/policy-documents","routeSlug":"/apis/ledger/bundled/policy-documents","items":[{"label":"Download document content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/policy-documents/get-document","routeSlug":"/apis/ledger/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_785","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_785"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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":"/apis/ledger/bundled/policy-termination","routeSlug":"/apis/ledger/bundled/policy-termination","items":[{"label":"Get termination return premium","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/policy-termination/get-policy-termination-premiums","routeSlug":"/apis/ledger/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_785","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_795","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"]}},"schemaId":"schema_795","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"],"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_785"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_795","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"]}},"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_795","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_795","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"]}},"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_796","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback"]}},"schemaId":"schema_796","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback"]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_796","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_796","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback"]}}}],"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":"/apis/ledger/bundled/policy-termination/terminate-policy","routeSlug":"/apis/ledger/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_785","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_785"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_797"}},"schemaId":"schema_797"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_797","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_797"}}}],"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":"/apis/ledger/bundled/schemes","routeSlug":"/apis/ledger/bundled/schemes","items":[{"label":"Get schema","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/schemes/get-schema-regular","routeSlug":"/apis/ledger/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_776","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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_776"},{"name":"name","in":"path","required":true,"schemaId":"schema_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_798"}},"schemaId":"schema_798"}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_798","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_798"}}}],"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":"/apis/ledger/bundled/customers-by-identity","routeSlug":"/apis/ledger/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":"/apis/ledger/bundled/customers-by-identity/get-customer-policies-installments-by-identity","routeSlug":"/apis/ledger/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_799","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_776","required":true},{"name":"documentCountry","in":"query","schemaId":"schema_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_776"},{"name":"documentCountry","in":"query","required":true,"schemaId":"schema_776"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_800"}},"schemaId":"schema_800"}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_800","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_800"}}}],"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":"/apis/ledger/bundled/payments","routeSlug":"/apis/ledger/bundled/payments","items":[{"label":"Insert payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/payments/insert-payment","routeSlug":"/apis/ledger/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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_801"}},"schemaId":"schema_801","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,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_801"}},"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_801","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_801"}},"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_802"}},"schemaId":"schema_802"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_802","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_802"}}}],"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":"/apis/ledger/bundled/payments/allocate-payment","routeSlug":"/apis/ledger/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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_803"}},"schemaId":"schema_803"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"schema_803","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_803"}}}],"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":"/apis/ledger/bundled/invoice","routeSlug":"/apis/ledger/bundled/invoice","items":[{"label":"Credit invoice by allocation eventId.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/invoice/credit-invoice","routeSlug":"/apis/ledger/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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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":"/apis/ledger/bundled/policy-technical-mta","routeSlug":"/apis/ledger/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":"/apis/ledger/bundled/policy-technical-mta/policy-technical-mta-data-change","routeSlug":"/apis/ledger/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_776","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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_776"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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"}},"schemaId":"components/schemas/policy-root"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/policy-root","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root"}}}],"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":"/apis/ledger/bundled/async-request","routeSlug":"/apis/ledger/bundled/async-request","items":[{"label":"Async request status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/ledger/bundled/async-request/get-quote-issue-status","routeSlug":"/apis/ledger/bundled/async-request/get-quote-issue-status","metadata":{"seo":{"title":"Async request status","description":"Policy issuing happens asynchronously."}},"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":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Policy issuing happens asynchronously."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Call current endpoint to validate, if policy has been issued before requesting policy data."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The endpoint needs to be called until the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failure"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" status is returned."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In case of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" status, please repeat the call again with some delay."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means its still processing."},"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":"requestId","in":"path","schemaId":"schema_804","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_780"}],"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_776","description":"Tenant tag","required":true,"example":"{$inputs.tenant}"}],"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_804"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_780"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"example":"{$inputs.tenant}","schemaId":"schema_776"}],"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_805","exampleIds":["paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success","paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending"]}},"schemaId":"schema_805","exampleIds":["paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success","paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending"]},{"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_805","exampleIds":["paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success","paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_805","exampleIds":["paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success","paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending"]}}},{"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/endorsement-list-object":{"id":"components/schemas/endorsement-list-object","kind":"json-schema","title":"endorsement-list-object","data":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"documents":{"$ref":"#/components/schemas/documentsList"},"description":{"type":"string"},"lang":{"type":"string"},"translatable":{"type":"array","items":{"properties":{"name":{"type":"string","example":"Survey Clause"},"description":{"type":"string","example":"Cover hereon."},"documents":{"$ref":"#/components/schemas/documentsList"},"lang":{"type":"string","example":"en"}},"type":"object"}},"referral":{"type":"bool"},"removable":{"type":"bool"},"editable":{"type":"bool"},"active":{"type":"bool"},"user":{"type":"string"},"custom_fields":{"type":"object"}},"type":"object"}},"components/schemas/endorsement-view-object":{"id":"components/schemas/endorsement-view-object","kind":"json-schema","title":"endorsement-view-object","data":{"properties":{"id":{"type":"string"},"translatable":{"type":"array","items":{"properties":{"name":{"type":"string","example":"Survey Clause"},"description":{"type":"string","example":"Cover hereon."},"documents":{"$ref":"#/components/schemas/documentsList"},"lang":{"type":"string","example":"en"}},"type":"object"}},"referral":{"type":"bool"},"products":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}},"removable":{"type":"bool"},"editable":{"type":"bool"},"is_default":{"type":"bool"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"}},"type":"object"}},"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/binderResponseItemObject":{"id":"components/schemas/binderResponseItemObject","kind":"json-schema","title":"binderResponseItemObject","data":{"properties":{"id":{"type":"integer","example":"1"},"payload":{"$ref":"#/components/schemas/binderObject"}},"type":"object"}},"components/schemas/binderResponseListObject":{"id":"components/schemas/binderResponseListObject","kind":"json-schema","title":"binderResponseListObject","data":{"properties":{"id":{"type":"integer","example":"1"},"name":{"type":"string","example":"Test EU Binder"},"umr":{"type":"string","example":"Test EU Binder UMR"},"underwriter":{"type":"string","example":"Test EU Binder underwriter"},"startDate":{"type":"string","example":"2022-01-01"},"endDate":{"type":"string","example":"2022-21-31"},"product":{"type":"string","example":"taxproduct"},"status":{"type":"string","example":"active"}},"type":"object"}},"components/schemas/binderResponse":{"id":"components/schemas/binderResponse","kind":"json-schema","title":"binderResponse","data":{"properties":{"id":{"type":"integer","example":"1"},"payload":{"$ref":"#/components/schemas/binderObject"}},"type":"object"}},"components/schemas/reports-broker-quote-sales":{"id":"components/schemas/reports-broker-quote-sales","kind":"json-schema","title":"reports-broker-quote-sales","data":{"properties":{"createdCount":{"type":"number","format":"integer"},"issuedCount":{"type":"number","format":"integer"},"issueRatio":{"type":"number","format":"decimal"}},"type":"object"}},"components/schemas/reports-broker-quote-sales-by-month":{"id":"components/schemas/reports-broker-quote-sales-by-month","kind":"json-schema","title":"reports-broker-quote-sales-by-month","data":{"properties":{"createdCount":{"type":"number","format":"integer"},"issuedCount":{"type":"number","format":"integer"},"issueRatio":{"type":"number","format":"decimal"},"year":{"type":"int"},"month":{"type":"int"}},"type":"object"}},"components/schemas/autocompletedIrelandAddress":{"id":"components/schemas/autocompletedIrelandAddress","kind":"json-schema","title":"autocompletedIrelandAddress","data":{"properties":{"addressId":{"description":"Unique Ireland address ID","type":"number","example":"1200002028"},"addressString":{"description":"Full address","type":"string","example":"Wyattville Road, Ballybrack, Co. Dublin"}},"type":"object"}},"components/schemas/fullIrelandAddress":{"id":"components/schemas/fullIrelandAddress","kind":"json-schema","title":"fullIrelandAddress","data":{"properties":{"county":{"type":"string","example":"Kildare"},"dublin_postal_area":{"type":"string","example":"Dublin 11"},"post_town":{"type":"string","example":"Dublin"},"town":{"type":"string","example":"Dublin"},"city":{"type":"string","example":"Maynooth"},"locality":{"type":"string","example":"Glenageary"},"village":{"type":"string","example":"Corofin"},"thoroughfare":{"type":"string","example":"Woodlands Road"},"building_group":{"type":"string","example":"Ireland Building Group"},"building_number":{"type":"string","example":"6"},"eircode":{"type":"string","example":"D11 KC81"},"urban_area":{"type":"string","example":"Waterford"},"rural_locality":{"type":"string","example":"Corofin"},"longitude":{"type":"string","example":"-6.588577"},"latitude":{"type":"string","example":"53.36569"}},"type":"object"}},"components/schemas/binderObject":{"id":"components/schemas/binderObject","kind":"json-schema","title":"binderObject","data":{"properties":{"summary":{"properties":{"name":{"type":"string","example":"Test Binder"},"description":{"type":"string","example":"Test EU Binder description"},"umr":{"type":"string","example":"Test EU Binder UMR"},"group":{"type":"string","example":"Some Binders group"},"underwriter":{"type":"string","example":"Test EU Binder underwriter"}},"type":"object"},"contractDetails":{"properties":{"startDate":{"type":"string","example":"2022-01-01"},"endDate":{"type":"string","example":"2022-02-01"},"product":{"type":"string","example":"insurer-warranty"},"status":{"type":"string","example":"active"}},"type":"object"},"shares":{"type":"array","items":{"properties":{"objectType":{"type":"string","example":"vehicle"},"risk":{"type":"string","example":"theft"},"insurers":{"type":"array","items":{"properties":{"insurer":{"type":"string","example":"lloyds"},"isLead":{"type":"boolean","example":"true"},"grossCommPct":{"type":"number","example":"20.25"},"premiumSharePct":{"type":"number","example":"100"},"allowCommSacrifice":{"type":"boolean","example":"false"}},"type":"object"}}},"type":"object"}},"limitations":{"type":"array","items":{"type":"array","items":{"properties":{"path":{"type":"string","example":"$.policy.country"},"values":{"type":"array","items":{"example":"Germany"}}},"type":"object"}}},"documents":{"type":"array","items":{"properties":{"documents":{"type":"array","items":{"properties":{"documentType":{"type":"string","example":"other"},"fileUpload":{"type":"boolean","example":"false"},"file":{"type":"array","items":{"properties":{"mime":{"type":"string","example":"image/jpeg"},"filename":{"type":"string","example":"cat picture.jpg"},"createdAt":{"type":"string","example":"2022-04-12"},"documentId":{"type":"integer","example":"1162"}},"type":"object"}}},"type":"object"}}},"type":"object"}},"party":{"properties":{"binderBroker":{"properties":{"name":{"type":"string","example":"Binder Comm Ltd"},"pct":{"type":"number","example":"1.5"},"insurerForward":{"type":"boolean","example":"true"}},"type":"object"},"frontingBroker":{"properties":{"name":{"type":"string","example":"Fronting Broker Ltd"},"pct":{"type":"number","example":"2"}},"type":"object"},"frontingCompany":{"properties":{"name":{"type":"string","example":"Fronting Insurer"},"pct":{"type":"number","example":"5"}},"type":"object"}},"type":"object"},"binderAutoselect":{"properties":{"priority":{"type":"float","example":"1.2"}},"type":"object"},"schema":{"type":"array","items":{"properties":{"name":{"type":"string","example":"binder"},"type":{"type":"boolean","example":"binder"},"version":{"type":"number","example":"11"}},"type":"object"}}},"type":"object"}},"components/schemas/quoteChangesList":{"id":"components/schemas/quoteChangesList","kind":"json-schema","title":"quoteChangesList","data":{"properties":{"target":{"description":"Dot notated path to specific quote attribute","type":"string","example":"objects.insuredItem.1.data.dateOfBirth"},"status":{"description":"Was the property changed, added or deleted","type":"string","enum":["replace","add","remove"]},"previous":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Used for status "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"replace"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only, shows previous attribute value"},"children":[]}]}]}],"type":"string"}},"type":"object"}},"components/schemas/quote-event":{"id":"components/schemas/quote-event","kind":"json-schema","title":"quote-event","data":{"properties":{"eventId":{"type":"integer"},"eventTag":{"type":"string"},"event":{"type":"string"},"entryDate":{"type":"string"},"eventUser":{"type":"string"},"isFullPayload":{"type":"boolean"},"payload":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/history-event-value"},{"$ref":"#/components/schemas/history-event-patch"}]}}},"type":"object"}},"components/schemas/binderLinks":{"id":"components/schemas/binderLinks","kind":"json-schema","title":"binderLinks","data":{"properties":{"binder:renew":{"type":"string","example":"http://ledger.test/api/v1/ledger/sales/binders/1/renew"}},"type":"object"}},"components/schemas/featureListItem":{"id":"components/schemas/featureListItem","kind":"json-schema","title":"featureListItem","data":{"properties":{"id":{"type":"string","example":"feature_id"},"type":{"type":"string","example":"Feature Title"},"description":{"type":"string","example":"Feature description"},"enabled":{"type":"boolean","example":true},"editable":{"description":"Whether feature can be edited from UI","type":"boolean","example":false},"withSchema":{"description":"Whether feature has json schema","type":"boolean","example":false}},"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/insurer-payments-report":{"id":"components/schemas/insurer-payments-report","kind":"json-schema","title":"insurer-payments-report","data":{"properties":{"policy_id":{"type":"number"},"policyHolder":{"type":"string"},"policyNo":{"type":"string"},"broker":{"type":"string"},"premium":{"type":"number"},"BrokerCommPct":{"type":"number"},"BrokerComm":{"type":"number"},"carrierNet":{"type":"number"},"mgaCommPct":{"type":"number"},"mgaComm":{"type":"number"},"Effectivedate":{"type":"string","format":"date"}},"type":"object"}},"components/schemas/history-event-patch":{"id":"components/schemas/history-event-patch","kind":"json-schema","title":"Patch attribute","data":{"title":"Patch attribute","description":"A list of changes between two events payloads, provided in format close to Json Patch standard","properties":{"title":{"type":"string"},"patch":{"type":"array","items":{"properties":{"op":{"type":"string","enum":["add","replace","remove"]},"path":{"type":"string","example":"objects.building.1"},"value":{"description":"New value - in case of add or replace; old value - in case of remove. Arrays and objects are encoded to json string","type":"string"},"previous":{"description":"Old value in case of replace. Arrays and objects are encoded to json string","type":"string"}},"type":"object"},"nullable":true}},"type":"object"}},"components/schemas/history-event-value":{"id":"components/schemas/history-event-value","kind":"json-schema","title":"Value attribute","data":{"title":"Value attribute","description":"Represents an information unit related to history event","properties":{"title":{"type":"string"},"type":{"description":"Type hint for UI to format value","type":"string","enum":["string","number","date","datetime","currency"]},"value":[],"path":{"description":"Path to value inside event payload","type":"string"}},"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/broker":{"id":"components/schemas/broker","kind":"json-schema","title":"broker","data":{"properties":{"shortName":{"type":"string"}},"type":"object"}},"components/schemas/suggested-invoice-paymentUpdate":{"id":"components/schemas/suggested-invoice-paymentUpdate","kind":"json-schema","title":"suggested-invoice-paymentUpdate","data":{"properties":{"payerType":{"type":"string"},"customerId":{"type":"number"},"broker":{"$ref":"#/components/schemas/broker"}},"type":"object"}},"components/schemas/suggested-invoice-invoiceData":{"id":"components/schemas/suggested-invoice-invoiceData","kind":"json-schema","title":"suggested-invoice-invoiceData","data":{"properties":{"invoiceNo":{"type":"string"},"payerType":{"type":"string"},"customerId":{"type":"number"},"policyNo":{"type":"string"},"entryDate":{"type":"date"},"dueDate":{"type":"date"},"customerName":{"type":"string"},"invoiceSum":{"type":"number"},"currency":{"type":"string"},"brokerShortName":{"type":"string"},"policyId":{"type":"number"}},"type":"object"}},"components/schemas/suggested-invoice":{"id":"components/schemas/suggested-invoice","kind":"json-schema","title":"suggested-invoice","data":{"properties":{"paymentUpdate":{"$ref":"#/components/schemas/suggested-invoice-paymentUpdate"},"invoiceData":{"$ref":"#/components/schemas/suggested-invoice-invoiceData"}},"type":"object"}},"components/schemas/debt-policy-list-data":{"id":"components/schemas/debt-policy-list-data","kind":"json-schema","title":"debt-policy-list-data","data":{"properties":{"policyId":{"type":"number"},"issuer":{"type":"string"},"brokerName":{"type":"string"},"brokerShortName":{"type":"string"},"policyNo":{"type":"string"},"dateIssued":{"type":"date"},"dateExpiry":{"type":"date"},"dateInception":{"type":"date"},"currency":{"type":"string"},"customerName":{"type":"string"},"status":{"type":"string"},"objects":{"type":"array","items":{"type":"string"}},"customerCode":{"type":"string"},"product":{"type":"string"},"overdueSum":{"type":"number"},"overdueDays":{"type":"number"}},"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/consolidatedInvoiceInvoiceResponseListObject":{"id":"components/schemas/consolidatedInvoiceInvoiceResponseListObject","kind":"json-schema","title":"consolidatedInvoiceInvoiceResponseListObject","data":{"properties":{"data":{"$ref":"#/components/schemas/invoiceResponseListObject"},"links":{"properties":{"consolidated-invoices:invoices:add":{"type":"string"},"consolidated-invoices:invoices:remove":{"type":"string"}},"type":"object"},"meta":{"properties":{"canCredit":{"type":"boolean","example":false}},"type":"object"},"invoiceNo":{"type":"string","example":"10000258"}},"type":"object"}},"components/schemas/consolidatedInvoiceListResource":{"id":"components/schemas/consolidatedInvoiceListResource","kind":"json-schema","title":"consolidatedInvoiceListResource","data":{"properties":{"id":{"type":"integer","example":"1"},"invoiceNo":{"type":"string","example":"10001"},"invoicesCount":{"type":"int","example":"1"},"createdAt":{"type":"date","example":"2022-01-01"},"dueDate":{"type":"date","example":"2022-01-20"},"isOverdue":{"type":"boolean","example":false},"brokerShortName":{"type":"string","example":"broker1"},"premium":{"type":"float","example":"110.10"},"commission":{"type":"float","example":"10"},"totalReceivable":{"type":"float","example":"100.10"},"currency":{"type":"string","example":"EUR"},"status":{"type":"string","example":"draft"}},"type":"object"}},"components/schemas/consolidatedInvoiceResource":{"id":"components/schemas/consolidatedInvoiceResource","kind":"json-schema","title":"consolidatedInvoiceResource","data":{"required":["brokerShortName","currency","periodEndDate"],"properties":{"id":{"type":"integer","readOnly":true,"example":"1"},"invoiceNo":{"type":"string","readOnly":true,"example":"10001"},"brokerShortName":{"type":"string","example":"broker1"},"currency":{"type":"string","example":"EUR"},"periodStartDate":{"type":"date","readOnly":true,"example":"2022-01-01"},"periodEndDate":{"type":"date","example":"2022-01-16"},"dueDate":{"type":"date","readOnly":true,"example":"2022-01-20"},"status":{"type":"string","readOnly":true,"example":"draft"},"totalReceivable":{"type":"float","readOnly":true,"example":"100.10"},"invoicesCount":{"type":"int","readOnly":true,"example":"1"}},"type":"object"}},"components/schemas/consolidatedInvoiceResourceLinks":{"id":"components/schemas/consolidatedInvoiceResourceLinks","kind":"json-schema","title":"consolidatedInvoiceResourceLinks","data":{"properties":{"consolidated-invoices:added-invoices:list":{"type":"string"},"consolidated-invoices:available-invoices:list":{"type":"string"},"consolidated-invoices:issue":{"type":"string"},"consolidated-invoices:delete":{"type":"string"},"consolidated-invoices:documents:list":{"type":"string"},"consolidated-invoices:credit":{"type":"string"}},"type":"object"}},"components/schemas/documentResource":{"id":"components/schemas/documentResource","kind":"json-schema","title":"documentResource","data":{"properties":{"fileUpload":{"type":"boolean","example":false},"documentType":{"type":"string","example":"other"},"file":{"properties":{"filename":{"type":"string","example":"Document.pdf"},"mime":{"type":"string","example":"application/pdf"},"documentId":{"type":"integer","example":1},"createdAt":{"type":"string","example":"2022-01-01"},"content":{"type":"string"}},"type":"object"}},"type":"object"}},"components/schemas/documentsList":{"id":"components/schemas/documentsList","kind":"json-schema","title":"documentsList","data":{"properties":{"documents":{"type":"array","items":{"$ref":"#/components/schemas/documentResource"}}},"type":"object"}},"components/schemas/invoiceResponseListObject":{"id":"components/schemas/invoiceResponseListObject","kind":"json-schema","title":"invoiceResponseListObject","data":{"properties":{"invoiceNo":{"type":"string","example":"10000258"},"payer":{"type":"string","example":"partner"},"policyNo":{"type":"number","example":"334"},"createdDate":{"type":"string","format":"date"},"dueDate":{"type":"string","format":"date"},"customerName":{"type":"string","example":"John Doe jr"},"customerId":{"type":"string","example":"534329"},"premium":{"type":"number","example":"65.89"},"commission":{"type":"number","example":"10"},"invoiceSum":{"type":"number","example":"55.89"},"currency":{"type":"string","example":"GBP"},"paidAmount":{"type":"number","example":"55.89"},"unpaidAmount":{"type":"number","example":"0"},"broker":{"type":"string","example":"some broker"},"policyId":{"type":"number","example":"56"},"allocationEventId":{"type":"number","example":"331"},"isPaid":{"type":"boolean","example":"true"},"documentId":{"type":"number","example":123},"paymentDate":{"type":"string","format":"date"},"canCredit":{"type":"boolean","example":"true"}},"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/reports-broker-sales":{"id":"components/schemas/reports-broker-sales","kind":"json-schema","title":"reports-broker-sales","data":{"properties":{"periodPremium":{"type":"number","format":"decimal"},"periodAveragePremium":{"type":"number","format":"decimal"},"periodBrokerCommission":{"type":"number","format":"decimal"},"currency":{"type":"string"}},"type":"object"}},"components/schemas/reports-broker-sales-by-month":{"id":"components/schemas/reports-broker-sales-by-month","kind":"json-schema","title":"reports-broker-sales-by-month","data":{"properties":{"periodPremium":{"type":"number","format":"decimal"},"periodAveragePremium":{"type":"number","format":"decimal"},"periodBrokerCommission":{"type":"number","format":"decimal"},"currency":{"type":"string"},"year":{"type":"int"},"month":{"type":"int"}},"type":"object"}},"components/schemas/reports-broker-sales-by-product":{"id":"components/schemas/reports-broker-sales-by-product","kind":"json-schema","title":"reports-broker-sales-by-product","data":{"properties":{"periodPremium":{"type":"number","format":"decimal"},"currency":{"type":"string"},"product":{"type":"string"},"year":{"type":"integer"},"month":{"type":"integer"}},"type":"object"}},"components/schemas/customerNote":{"id":"components/schemas/customerNote","kind":"json-schema","title":"customerNote","data":{"properties":{"id":{"type":"integer","example":"1"},"user":{"type":"string"},"created_at":{"type":"string","format":"date-time","example":"2022-12-20 17:32:01"},"text":{"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/installments":{"id":"components/schemas/installments","kind":"json-schema","title":"installments","data":{"properties":{"instId":{"type":"string"},"dueDate":{"type":"date"},"object":{"type":"string"},"carrier":{"type":"string"},"product":{"type":"string"},"premium":{"type":"number","format":"decimal"},"adminFee":{"type":"number","format":"decimal"},"ipt":{"type":"number","format":"decimal"},"carrierNet":{"type":"number","format":"decimal"},"mgaComm":{"type":"number","format":"decimal"},"brokerComm":{"type":"number","format":"decimal"}},"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"}},"components/schemas/policyHistoryList":{"id":"components/schemas/policyHistoryList","kind":"json-schema","title":"policyHistoryList","data":{"properties":{"entryDate":{"type":"string","format":"date"},"event":{"type":"string"},"param":{"type":"string"},"value":{"type":"string"},"oldValue":{"type":"string"}},"type":"object"}},"components/schemas/customer-event":{"id":"components/schemas/customer-event","kind":"json-schema","title":"customer-event","data":{"properties":{"eventId":{"type":"integer"},"eventTag":{"type":"string"},"event":{"type":"string"},"entryDate":{"type":"string","format":"date"},"eventUser":{"type":"string"},"payload":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/history-event-value"},{"$ref":"#/components/schemas/history-event-patch"}]}}},"type":"object"}},"components/schemas/policy-event":{"id":"components/schemas/policy-event","kind":"json-schema","title":"policy-event","data":{"properties":{"event":{"type":"string"},"entryDate":{"type":"string","format":"date"},"eventUser":{"type":"string"},"payload":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/history-event-value"},{"$ref":"#/components/schemas/history-event-patch"}]}}},"type":"object"}},"schema_776":{"kind":"json-schema","data":{"type":"string"},"id":"schema_776"},"schema_777":{"kind":"json-schema","data":[],"id":"schema_777"},"schema_778":{"kind":"json-schema","data":{"type":"boolean","default":"true"},"id":"schema_778"},"schema_779":{"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_779"},"schema_780":{"kind":"json-schema","data":{"type":"bool","default":"false","example":"true"},"id":"schema_780"},"schema_781":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":[]},"links":{"$ref":"#/components/schemas/quoteLinks"}},"type":"object"},"id":"schema_781"},"schema_782":{"kind":"json-schema","data":{"type":"integer","example":"123"},"id":"schema_782"},"schema_783":{"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_783"},"schema_784":{"kind":"json-schema","data":{"properties":{"reason":{"type":"string","example":"Reason for declining"}},"type":"object"},"id":"schema_784"},"schema_785":{"kind":"json-schema","data":{"type":"integer"},"id":"schema_785"},"schema_786":{"kind":"json-schema","data":{"properties":{"data":{"example":["See response description for more details."]}},"type":"object"},"id":"schema_786"},"schema_787":{"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_787"},"schema_788":{"kind":"json-schema","data":{"type":"integer","example":"1"},"id":"schema_788"},"schema_789":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_789"},"schema_790":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Reason of sending quote to referral"}},"type":"object"},"id":"schema_790"},"schema_791":{"kind":"json-schema","data":{"properties":{"requestId":{"type":"string","example":"64ff614a-551f-4b38-a7ba-37b7285c9562"}},"type":"object"},"id":"schema_791"},"schema_792":{"kind":"json-schema","data":{"type":"bool","default":"true","example":"false"},"id":"schema_792"},"schema_793":{"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_793"},"schema_794":{"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_794"},"schema_795":{"kind":"json-schema","data":{"description":"terminationSum needed in case of 'manual' type, shortRatePct is needed in case of 'short-rate' type"},"id":"schema_795"},"schema_796":{"kind":"json-schema","data":{"properties":{"":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/policy-termination-premium-response"}}}},"type":"object"},"id":"schema_796"},"schema_797":{"kind":"json-schema","data":{"properties":{"event_id":{"type":"integer","example":"123"}},"type":"object"},"id":"schema_797"},"schema_798":{"kind":"json-schema","data":{"type":"object"},"id":"schema_798"},"schema_799":{"kind":"json-schema","data":{},"id":"schema_799"},"schema_800":{"kind":"json-schema","data":{"properties":{"data":{"type":"object"}},"type":"object"},"id":"schema_800"},"schema_801":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/PaymentOfBroker"},{"$ref":"#/components/schemas/PaymentOfCustomer"}]},"id":"schema_801"},"schema_802":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payments"}}},"type":"object"},"id":"schema_802"},"schema_803":{"kind":"json-schema","data":{"properties":{"requestId":{"description":"Request ID","type":"string","format":"uuid","example":"8bb0e40f-6841-47fc-a283-b6a43c6e299e"}},"type":"object"},"id":"schema_803"},"schema_804":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_804"},"schema_805":{"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_805"}},"exampleStore":{"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"},"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/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample":{"value":{"policy":{"id":"{policyId}"},"schema":{"name":"{name of the insurance product}","type":"policy"}},"key":"PolicyMtaExample","summary":"Minimum required data for MTA quote creation. MTA quote id in the response.","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/PolicyMtaExample"},"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/PostQuoteCreateExample":{"value":[{"data":{}},{"meta":null,"schemaPath":"policy/regular/{product}","warnings":[{"code":"excel-calculator","status":422,"title":"Could not get prices for the object, please fill in all the required fields"},{"code":"third-party-service-tag","title":"Warning on connection issue etc., when the flow is not blocked."}],"errors":[{"code":"excel-calculator","title":"Could not connect to excel calculator service"}]}],"key":"PostQuoteCreateExample","summary":"PostQuoteCreateExample","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The full "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"data"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" block structure per product can be taken from"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/apis/ledger/bundled/schemes/get-schema-regular"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"product json scheme"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"},"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/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample":{"value":[{"reason":"predefined decline reasons"},{"declinedAt":"“YYYY-MM-DD\""}],"key":"PostBindQuoteExample","summary":"The Customer Decline is used when a customer decides not to move forward with a specific quote","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/requestBody/content/application~1json/examples/PostBindQuoteExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample":{"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","description":"No content","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/PostQuoteCreateExample"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample":{"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","description":"No content","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses/204/content/application~1json/examples/PostQuoteCreateExample"},"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}~1renewal/get/responses/200/content/application~1json/example":{"value":["See response description for more details."],"id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/example"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample":{"value":[],"key":"PostQuoteCreateExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1renewal/get/responses/200/content/application~1json/examples/PostQuoteCreateExample"},"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~1premiums/post/requestBody/content/application~1json/examples/pro-rata":{"value":{"policy":{"terminationDate":"2025-09-04","terminationType":"pro-rata"}},"key":"pro-rata","summary":"pro-rata","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/pro-rata"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual":{"value":{"policy":{"terminationDate":"2025-09-05","terminationType":"manual","terminationSum":-246.59}},"key":"manual","summary":"manual","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/manual"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck":{"value":{"policy":{"terminationDate":"2025-09-05","terminationType":"full-rollback"}},"key":"full-rollbck","summary":"full-rollback","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/examples/full-rollbck"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata":{"value":{"policy":{"terminationSum":-498.53,"returnAmount":-59.82}},"key":"pro-rata","summary":"pro-rata","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/pro-rata"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual":{"value":{"policy":{"terminationSum":0,"returnAmount":-276.18}},"key":"manual","summary":"manual","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/manual"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback":{"value":{"policy":{"terminationSum":0,"returnAmount":0}},"key":"full-rollback","summary":"full-rollback","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses/200/content/application~1json/examples/full-rollback"},"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~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success":{"value":{"requestId":"a202dc2a-9e32-4bb8-8c74-18c73c235129","status":"success","data":{"policyId":286532,"message":"Policy issued"}},"key":"success","summary":"Success","id":"paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/success"},"paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending":{"value":{"requestId":"a202dc2a-9e32-4bb8-8c74-18c73c235129","status":"pending"},"key":"pending","summary":"Pending","id":"paths/~1api~1v1~1ledger~1requests~1{requestId}/get/responses/200/content/application~1json/examples/pending"}},"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/apis/ledger/bundled.json?download"},{"url":"/_bundle/apis/ledger/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":"/apis/ledger/bundled","routesMapping":{}}