{"items":[{"type":"link","label":"Ledger/Sales service","link":"/tenancy/geounderwriting/ledger-open-api/bundled","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled","content":{"contentType":"overview","meta":{"name":"Ledger/Sales service"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"bundled.json","url":"/_bundle/tenancy/geounderwriting/ledger-open-api/bundled.json?download"},{"kind":"download","label":"bundled.yaml","url":"/_bundle/tenancy/geounderwriting/ledger-open-api/bundled.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Ledger/Sales service (1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Using Swagger documentation in Postman"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nYou can find instructions on how to convert swagger documentation to Postman collection\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://medium.com/c-sharp-progarmming/convert-swagger-documentation-to-postman-collection-d67fc95c7b14"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nThere is a known problem in Postman with env variables being imported as parameters ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":":schemaName"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\ninstead of "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{{schemaName}}"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":". More info on the issue can be found\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://github.com/postmanlabs/postman-app-support/issues/4598"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nPossible workaround is to find and replace all parameters with env variables inside Postman. For example search for\n:schemaName and replace with {{schemaName}}. Instructions how to do it in Postman are\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"https://blog.postman.com/find-and-replace-text-code-and-variables-in-postman/"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"here"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":".\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"hr","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Authorization"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nTo obtain a token, start by visiting the\n"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"a","attrs":{"href":"/apis/identifier/swagger/authentication/login"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"identifier service documentation"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nand make a request with your username and password."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","attributes":{"content":"\nOnce you receive the response, copy the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"access_token"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" and use it for making requests to ledger services."},"children":[]}]}],"sectionId":"/tenancy/geounderwriting/ledger-open-api/bundled"}],"sectionId":"/tenancy/geounderwriting/ledger-open-api/bundled"}]}]}},{"type":"group","label":"Quote Create","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create","items":[{"label":"Create a new quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create/quote-create","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create/quote-create","metadata":{"seo":{"title":"Create a new quote","description":"Create a new quote by schema, you can get schema in Schemes section"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-create","name":"Create a new quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create a new quote by schema, you can get schema in Schemes section"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_1102","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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/create","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1103","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/countryside-motor"]}},"schemaId":"schema_1103","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/countryside-motor"]},{"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_1103","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/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1103","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/countryside-motor"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-create/quote-create"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/create"},{"label":"Change policy","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create/policy-mta","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-create/policy-mta","metadata":{"seo":{"title":"Change policy","description":"Change policy"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"policy-mta","name":"Change policy","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change policy","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_1102","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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full request structure per product can be taken from json scheme "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"#/Schemes/get-schema-regular"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Product json scheme."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with type: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"policy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and name: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{name of the insurance product}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/mta","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Creates policy mta","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor"]},{"code":"422","description":"Validation errors.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}},"schemaId":"components/schemas/ValidationError422"},{"code":"500","description":"Unexpected server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}},"schemaId":"components/schemas/ServerError"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-create/policy-mta"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/mta"}],"content":{"contentType":"group","meta":{"name":"Quote Create"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Create","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/create","summary":"Create a new quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-create/quote-create","deprecated":false},{"title":"/api/v1/ledger/sales/policies/mta","summary":"Change policy","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-create/policy-mta","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Data","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data","items":[{"label":"Get quote data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/get-quote-data","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/get-quote-data","metadata":{"seo":{"title":"Get quote data","description":"Get quote data"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-data","name":"Get quote data","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","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_1104","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_1102","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_1102","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_1102"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_1104"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_1102"}],"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_1105","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/countryside-motor"]}},"schemaId":"schema_1105","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/countryside-motor"]},{"code":"400","description":"Incorrect request.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}},"schemaId":"schema_1103","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_1105","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/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1105","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/countryside-motor"]}}},{"code":"400","schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/400/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/get-quote-data"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}"},{"label":"Get available actions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/get-quote-actions","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/get-quote-actions","metadata":{"seo":{"title":"Get available actions","description":"Get available actions. This route has to be called after each change quote data to get to know that action is done"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-actions","name":"Get available actions","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get available actions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get available actions. This route has to be called after each change quote data to get to know that action is done"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1102","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_1106"}],"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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/actions/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_1102"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_1106"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1107","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_1107","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_1107","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_1107","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1actions~1{id}/get/responses/200/content/application~1json/example"]}}},{"code":"204"},{"code":"423"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/get-quote-actions"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/actions/{id}"},{"label":"Get quote installments schedule","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/quote-get-installments-schedule","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-data/quote-get-installments-schedule","metadata":{"seo":{"title":"Get quote installments schedule","description":"Get quote installments schedule"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-get-installments-schedule","name":"Get quote installments schedule","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote installments schedule","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1108","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1installments-schedule/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_1108"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1109"}},"schemaId":"schema_1109"},{"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_1109","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1109"}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-data/quote-get-installments-schedule"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule"}],"content":{"contentType":"group","meta":{"name":"Quote Data"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Data","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}","summary":"Get quote data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/get-quote-data","deprecated":false},{"title":"/api/v1/ledger/sales/policies/actions/{id}","summary":"Get available actions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/get-quote-actions","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/installments-schedule","summary":"Get quote installments schedule","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-data/quote-get-installments-schedule","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Edit","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit","items":[{"label":"Update quote","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit/update-quote-data","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit/update-quote-data","metadata":{"seo":{"title":"Update quote","description":"Update quote"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"update-quote-data","name":"Update quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","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_1103","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_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","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_1103","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_1103","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_1103","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/countryside-motor"]}},"schemaId":"schema_1103","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/countryside-motor"]},{"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_1103","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/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1103","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/countryside-motor"]}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-edit/update-quote-data"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/"},{"label":"Decline policy draft","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit/quote-decline","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-edit/quote-decline","metadata":{"seo":{"title":"Decline policy draft","description":"Decline policy draft"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-decline","name":"Decline policy draft","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Decline policy draft","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1110"}},"schemaId":"schema_1110","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_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1110"}},"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_1110","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1110"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote declined"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1decline/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-edit/quote-decline"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/decline"}],"content":{"contentType":"group","meta":{"name":"Quote Edit"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Edit","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/","summary":"Update quote","prefix":{"name":"put","color":"put"},"badges":[],"link":"/quote-edit/update-quote-data","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/decline","summary":"Decline policy draft","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-edit/quote-decline","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Calculation","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation","items":[{"label":"Calculate quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation/quote-update-and-calculate","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation/quote-update-and-calculate","metadata":{"seo":{"title":"Calculate quote","description":"Calculate quote"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-update-and-calculate","name":"Calculate quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Calculate quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Calculate quote"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1111","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_1104","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"],"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_1111"}],"query":[{"name":"withNotifications","in":"query","required":true,"schemaId":"schema_1104"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1112","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1112","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1112","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1112","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-calculation/quote-update-and-calculate"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/calculate"},{"label":"Get quote financials","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation/get-quote-financials","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-calculation/get-quote-financials","metadata":{"seo":{"title":"Get quote financials","description":"Get quote financials by quote id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-financials","name":"Get quote financials","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get quote financials","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get quote financials by quote id"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/sales/policies/{id}/calculation","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1113","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1113","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor"]}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1113","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1113","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-calculation/get-quote-financials"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/calculation"}],"content":{"contentType":"group","meta":{"name":"Quote Calculation"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Calculation","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/calculate","summary":"Calculate quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-calculation/quote-update-and-calculate","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{id}/calculation","summary":"Get quote financials","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-calculation/get-quote-financials","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Documents","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents","items":[{"label":"Generate quote documents","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents/generate-quote-documents","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents/generate-quote-documents","metadata":{"seo":{"title":"Generate quote documents","description":"Generate quote documents"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"generate-quote-documents","name":"Generate quote documents","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate quote documents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1114","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{id}/generated-documents","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"1","schemaId":"schema_1114"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1115"}},"schemaId":"schema_1115"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1generated-documents/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1115","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1115"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-documents/generate-quote-documents"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/generated-documents"},{"label":"Download document content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents/get-document","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-documents/get-document","metadata":{"seo":{"title":"Download document content","description":"Download document content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-document","name":"Download document content","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download document content","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1111","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/documents/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_1111"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/v1/ledger/documents/{id}","href":"quote-documents/get-document","openApiOperationId":"get-document","summary":"Download document content"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Document content"}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-documents/get-document"}],"panels":[]}]},"httpPath":"/api/v1/ledger/documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Quote Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Documents","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/generated-documents","summary":"Generate quote documents","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-documents/generate-quote-documents","deprecated":false},{"title":"/api/v1/ledger/documents/{id}","summary":"Download document content","prefix":{"name":"get","color":"get"},"badges":[],"link":"/quote-documents/get-document","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Referrals","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals","items":[{"label":"Send quote to referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/send-quote-to-referral","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/send-quote-to-referral","metadata":{"seo":{"title":"Send quote to referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"send-quote-to-referral","name":"Send quote to referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send quote to referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1116"}},"schemaId":"schema_1116","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_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1116"}},"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_1116","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1116"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote has been sent to referral"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/send-quote-to-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals"},{"label":"Accept referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/accept-quote-referral","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/accept-quote-referral","metadata":{"seo":{"title":"Accept referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"accept-quote-referral","name":"Accept referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1117"}},"schemaId":"schema_1117","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/requestBody","description":"Accept referral comment"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1117"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","href":"quote-referrals/accept-quote-referral","openApiOperationId":"accept-quote-referral","summary":"Accept referral"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1117","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1117"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Referral accepted"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1accept/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/accept-quote-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept"},{"label":"Decline referral","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/decline-quote-referral","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-referrals/decline-quote-referral","metadata":{"seo":{"title":"Decline referral","description":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"decline-quote-referral","name":"Decline referral","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Decline referral","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"It's async request, UI sends \"actions\" endpoint and waits until lock is released"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1118"}},"schemaId":"schema_1118","pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/requestBody","description":"Decline referral comment"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1118"}},"responseCodes":["204"],"pointer":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","href":"quote-referrals/decline-quote-referral","openApiOperationId":"decline-quote-referral","summary":"Decline referral"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1118","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1118"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Referral declined"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1referrals~1decline/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-referrals/decline-quote-referral"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline"}],"content":{"contentType":"group","meta":{"name":"Quote Referrals"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Referrals","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals","summary":"Send quote to referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/send-quote-to-referral","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals/accept","summary":"Accept referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/accept-quote-referral","deprecated":false},{"title":"/api/v1/ledger/sales/policies/{policyId}/referrals/decline","summary":"Decline referral","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-referrals/decline-quote-referral","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Binding","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-binding","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-binding","items":[{"label":"Bind policy draft","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-binding/quote-bind","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-binding/quote-bind","metadata":{"seo":{"title":"Bind policy draft","description":"Bind policy draft"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quote-bind","name":"Bind policy draft","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Bind policy draft","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1111","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"],"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_1111"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"]}},"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_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Quote bound / locked"}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-binding/quote-bind"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{policyId}/bind"}],"content":{"contentType":"group","meta":{"name":"Quote Binding"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Binding","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{policyId}/bind","summary":"Bind policy draft","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-binding/quote-bind","deprecated":false}]}]}]}]}},{"type":"group","label":"Quote Issue","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-issue","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-issue","items":[{"label":"Issue quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-issue/issue-quote","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/quote-issue/issue-quote","metadata":{"seo":{"title":"Issue quote","description":"Issue quote, after got success please check process status by /api/v1/ledger/requests/{requestId} you can find it in this doc"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"issue-quote","name":"Issue quote","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Issue quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Issue quote, after got success please check process status by /api/v1/ledger/requests/{requestId} you can find it in this doc"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1103","exampleIds":["paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"]}},"schemaId":"schema_1103","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_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1103","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_1103","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_1103","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_1119"}},"schemaId":"schema_1119"},{"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_1119","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1119"}}},{"code":"422","schemaId":"components/schemas/ValidationError422","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ValidationError422"}}},{"code":"500","schemaId":"components/schemas/ServerError","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ServerError"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/quote-issue/issue-quote"}],"panels":[]}]},"httpPath":"/api/v1/ledger/sales/policies/{id}/issue"}],"content":{"contentType":"group","meta":{"name":"Quote Issue"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote Issue","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/sales/policies/{id}/issue","summary":"Issue quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/quote-issue/issue-quote","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Data","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data","items":[{"label":"Get policy data with links","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-with-links","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-with-links","metadata":{"seo":{"title":"Get policy data with links","description":"Get policy data with links"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-with-links","name":"Get policy data with links","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get policy data with links","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1108","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_1120"}],"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_1102","description":"Tenant tag","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_1102","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_1108"}],"query":[{"name":"forceCoverageDateFormat","in":"query","required":false,"example":"false","schemaId":"schema_1120"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"},{"name":"Accept-Language","in":"header","required":true,"schemaId":"schema_1102"}],"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_1121","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1121","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor"]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1121","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1121","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-with-links"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/links"},{"label":"Return policy invoices data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-invoices","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-invoices","metadata":{"seo":{"title":"Return policy invoices data","description":"Return policy invoices data"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-invoices","name":"Return policy invoices data","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return policy invoices data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1108","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{policyId}/invoices","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_1108"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1122"}},"schemaId":"schema_1122"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1invoices/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1122","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1122"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-invoices"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/invoices"},{"label":"Return policy total financials.","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-period-totals","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-data/get-policy-period-totals","metadata":{"seo":{"title":"Return policy total financials.","description":"Return policy total financials."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-period-totals","name":"Return policy total financials.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return policy total financials.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1108","description":"Policy id","required":true},{"name":"version","in":"path","schemaId":"schema_1114","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/policies/{id}/period-totals","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"example":"123","schemaId":"schema_1108"},{"name":"version","in":"path","required":false,"example":"1","schemaId":"schema_1114"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{id}/period-totals","href":"policy-data/get-policy-period-totals","openApiOperationId":"get-policy-period-totals","summary":"Return policy total financials."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful response with policy total financials."}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1period-totals/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-data/get-policy-period-totals"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{id}/period-totals"}],"content":{"contentType":"group","meta":{"name":"Policy Data"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Data","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{policyId}/links","summary":"Get policy data with links","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-with-links","deprecated":false},{"title":"/api/v1/ledger/policies/{policyId}/invoices","summary":"Return policy invoices data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-invoices","deprecated":false},{"title":"/api/v1/ledger/policies/{id}/period-totals","summary":"Return policy total financials.","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-data/get-policy-period-totals","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Documents","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-documents","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-documents","items":[{"label":"Download document content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-documents/get-document","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-documents/get-document","metadata":{"seo":{"title":"Download document content","description":"Download document content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-document","name":"Download document content","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download document content","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_1111","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/documents/{id}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_1111"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/v1/ledger/documents/{id}","href":"policy-documents/get-document","openApiOperationId":"get-document","summary":"Download document content"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Document content"}],"pointer":"/paths/~1api~1v1~1ledger~1documents~1{id}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-documents/get-document"}],"panels":[]}]},"httpPath":"/api/v1/ledger/documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Policy Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Documents","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/documents/{id}","summary":"Download document content","prefix":{"name":"get","color":"get"},"badges":[],"link":"/policy-documents/get-document","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Termination","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination","items":[{"label":"Get termination return premium","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination/get-policy-termination-premiums","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination/get-policy-termination-premiums","metadata":{"seo":{"title":"Get termination return premium","description":"Get termination return premium"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-policy-termination-premiums","name":"Get termination return premium","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get termination return premium","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1111","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1123","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"schemaId":"schema_1123","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/policies/{policyId}/terminate/premiums","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_1111"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1123","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{policyId}/terminate/premiums","href":"policy-termination/get-policy-termination-premiums","openApiOperationId":"get-policy-termination-premiums","summary":"Get termination return premium"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"schemaId":"schema_1123","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1123","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A list of policy changes","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1124"}},"schemaId":"schema_1124"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1124","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1124"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-termination/get-policy-termination-premiums"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/terminate/premiums"},{"label":"Terminate policy with manual premium","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination/terminate-policy","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-termination/terminate-policy","metadata":{"seo":{"title":"Terminate policy with manual premium","description":"Terminate policy with manual premium"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"terminate-policy","name":"Terminate policy with manual premium","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Terminate policy with manual premium","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1111","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"]}},"schemaId":"components/schemas/policy-terminate-request","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination","paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/policies/{policyId}/terminate","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_1111"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1125"}},"schemaId":"schema_1125"}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1125","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1125"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-termination/terminate-policy"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{policyId}/terminate"}],"content":{"contentType":"group","meta":{"name":"Policy Termination"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Termination","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{policyId}/terminate/premiums","summary":"Get termination return premium","prefix":{"name":"post","color":"post"},"badges":[],"link":"/policy-termination/get-policy-termination-premiums","deprecated":false},{"title":"/api/v1/ledger/policies/{policyId}/terminate","summary":"Terminate policy with manual premium","prefix":{"name":"post","color":"post"},"badges":[],"link":"/policy-termination/terminate-policy","deprecated":false}]}]}]}]}},{"type":"group","label":"Schemes","link":"/tenancy/geounderwriting/ledger-open-api/bundled/schemes","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/schemes","items":[{"label":"Get schema","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/schemes/get-schema-regular","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/schemes/get-schema-regular","metadata":{"seo":{"title":"Get schema","description":"Json schema specification."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-schema-regular","name":"Get schema","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get schema","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"https://json-schema.org/learn/getting-started-step-by-step.html"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Json schema specification."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Get schema according to your rights, you can use "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"a","attrs":{"href":"https://rjsf-team.github.io/react-jsonschema-form/"}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"React jsonschema form builder"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to create payload for quote create"},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"type","in":"path","schemaId":"schema_1102","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_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/schemes/{type}/regular/{name}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"type","in":"path","required":true,"schemaId":"schema_1102"},{"name":"name","in":"path","required":true,"schemaId":"schema_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1126"}},"schemaId":"schema_1126"}],"pointer":"/paths/~1api~1v1~1ledger~1schemes~1{type}~1regular~1{name}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1126","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1126"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/schemes/get-schema-regular"}],"panels":[]}]},"httpPath":"/api/v1/ledger/schemes/{type}/regular/{name}"}],"content":{"contentType":"group","meta":{"name":"Schemes"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Schemes","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/schemes/{type}/regular/{name}","summary":"Get schema","prefix":{"name":"get","color":"get"},"badges":[],"link":"/schemes/get-schema-regular","deprecated":false}]}]}]}]}},{"type":"group","label":"Customers by identity","link":"/tenancy/geounderwriting/ledger-open-api/bundled/customers-by-identity","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/customers-by-identity","items":[{"label":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/customers-by-identity/get-customer-policies-installments-by-identity","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/customers-by-identity/get-customer-policies-installments-by-identity","metadata":{"seo":{"title":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","description":"Get customer policy custom view installments. Query params must match tenant feature customer_identity"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-customer-policies-installments-by-identity","name":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1127","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_1102","required":true},{"name":"documentCountry","in":"query","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true}],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_1102"},{"name":"documentCountry","in":"query","required":true,"schemaId":"schema_1102"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1128","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"schema_1128","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor"]}],"pointer":"/paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1128","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1128","exampleIds":["paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/customers-by-identity/get-customer-policies-installments-by-identity"}],"panels":[]}]},"httpPath":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments"}],"content":{"contentType":"group","meta":{"name":"Customers by identity"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Customers by identity","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/customers/policies/{policyId}/custom-view/installments","summary":"Get customer policy custom view installments. Query params must match tenant feature customer_identity","prefix":{"name":"get","color":"get"},"badges":[],"link":"/customers-by-identity/get-customer-policies-installments-by-identity","deprecated":false}]}]}]}]}},{"type":"group","label":"Payments","link":"/tenancy/geounderwriting/ledger-open-api/bundled/payments","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/payments","items":[{"label":"Insert payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/payments/insert-payment","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/payments/insert-payment","metadata":{"seo":{"title":"Insert payment","description":"Insert payment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"insert-payment","name":"Insert payment","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Insert payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1129"}},"schemaId":"schema_1129","pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/brokerpayments","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_1129"}},"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_1129","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1129"}},"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_1130"}},"schemaId":"schema_1130"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1130","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1130"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/insert-payment"}],"panels":[]}]},"httpPath":"/api/v1/ledger/brokerpayments"},{"label":"Allocate payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/payments/allocate-payment","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/payments/allocate-payment","metadata":{"seo":{"title":"Allocate payment","description":"Allocate payment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"allocate-payment","name":"Allocate payment","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Allocate payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/brokerpayments/allocate","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1131"}},"schemaId":"schema_1131"}],"pointer":"/paths/~1api~1v1~1ledger~1brokerpayments~1allocate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"schema_1131","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1131"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/allocate-payment"}],"panels":[]}]},"httpPath":"/api/v1/ledger/brokerpayments/allocate"}],"content":{"contentType":"group","meta":{"name":"Payments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/brokerpayments","summary":"Insert payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payments/insert-payment","deprecated":false},{"title":"/api/v1/ledger/brokerpayments/allocate","summary":"Allocate payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payments/allocate-payment","deprecated":false}]}]}]}]}},{"type":"group","label":"Invoice","link":"/tenancy/geounderwriting/ledger-open-api/bundled/invoice","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/invoice","items":[{"label":"Credit invoice by allocation eventId.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/invoice/credit-invoice","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/invoice/credit-invoice","metadata":{"seo":{"title":"Credit invoice by allocation eventId.","description":"Tool for removing (edit) incorrect added invoice into payment bdx."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"credit-invoice","name":"Credit invoice by allocation eventId.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Credit invoice by allocation eventId.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Tool for removing (edit) incorrect added invoice into payment bdx."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-TENANT-ID","in":"header","schemaId":"schema_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/ledger/broker-payments/{eventId}/credit","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/broker-payments/{eventId}/credit","href":"invoice/credit-invoice","openApiOperationId":"credit-invoice","summary":"Credit invoice by allocation eventId."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation status."}],"pointer":"/paths/~1api~1v1~1ledger~1broker-payments~1{eventId}~1credit/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/invoice/credit-invoice"}],"panels":[]}]},"httpPath":"/api/v1/ledger/broker-payments/{eventId}/credit"}],"content":{"contentType":"group","meta":{"name":"Invoice"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Invoice","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/broker-payments/{eventId}/credit","summary":"Credit invoice by allocation eventId.","prefix":{"name":"post","color":"post"},"badges":[],"link":"/invoice/credit-invoice","deprecated":false}]}]}]}]}},{"type":"group","label":"Policy Technical MTA","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-technical-mta","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-technical-mta","items":[{"label":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-technical-mta/policy-technical-mta-data-change","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/policy-technical-mta/policy-technical-mta-data-change","metadata":{"seo":{"title":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","description":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"policy-technical-mta-data-change","name":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"policyId","in":"path","schemaId":"schema_1102","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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/v1/ledger/policies/{id}/data-change","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"policyId","in":"path","required":true,"schemaId":"schema_1102"}],"query":[],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","name":"Token based Auth","in":"header","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/v1/ledger/policies/{id}/data-change","href":"policy-technical-mta/policy-technical-mta-data-change","openApiOperationId":"policy-technical-mta-data-change","summary":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Policy technical MTA","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor"]}},"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor"]}],"pointer":"/paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/policy-root","exampleIds":["paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/policy-technical-mta/policy-technical-mta-data-change"}],"panels":[]}]},"httpPath":"/api/v1/ledger/policies/{id}/data-change"}],"content":{"contentType":"group","meta":{"name":"Policy Technical MTA"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Policy Technical MTA","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/policies/{id}/data-change","summary":"Edit non-financial information for policy. Instead of MTA process, do not create a quote and documents.\n     *    Used to edit information, not affecting the insured coverage, financials and legal related into.\n     *     For some products its only about policy documents changing.","prefix":{"name":"put","color":"put"},"badges":[],"link":"/policy-technical-mta/policy-technical-mta-data-change","deprecated":false}]}]}]}]}},{"type":"group","label":"Async Request","link":"/tenancy/geounderwriting/ledger-open-api/bundled/async-request","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/async-request","items":[{"label":"Async request status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/tenancy/geounderwriting/ledger-open-api/bundled/async-request/get-quote-issue-status","routeSlug":"/tenancy/geounderwriting/ledger-open-api/bundled/async-request/get-quote-issue-status","metadata":{"seo":{"title":"Async request status","description":"Async request status"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"get-quote-issue-status","name":"Async request status","isWebhook":false,"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Async request status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","in":"header","paramName":"Token based Auth","description":"Login with email and password to get the authentication token"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"requestId","in":"path","schemaId":"schema_1132","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_1106"}],"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_1102","description":"Tenant tag","required":true}],"pointer":"/paths/~1api~1v1~1ledger~1requests~1{requestId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/ledger/requests/{requestId}","servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"parameters":{"path":[{"name":"requestId","in":"path","required":true,"schemaId":"schema_1132"}],"query":[{"name":"longPolling","in":"query","required":false,"example":"true","schemaId":"schema_1106"}],"querystring":[],"header":[{"name":"X-TENANT-ID","in":"header","required":true,"schemaId":"schema_1102"}],"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_1133"}},"schemaId":"schema_1133"},{"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_1133","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1133"}}},{"code":"423"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/async-request/get-quote-issue-status"}],"panels":[]}]},"httpPath":"/api/v1/ledger/requests/{requestId}"}],"content":{"contentType":"group","meta":{"name":"Async Request"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Async Request","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/ledger/requests/{requestId}","summary":"Async request status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/async-request/get-quote-issue-status","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/metaMessage":{"id":"components/schemas/metaMessage","kind":"json-schema","title":"metaMessage","data":{"required":["code","title"],"properties":{"code":{"type":"string"},"title":{"type":"string"},"status":{"type":"number"}},"type":"object"}},"components/schemas/metaError":{"id":"components/schemas/metaError","kind":"json-schema","title":"metaError","data":{"properties":{"errors":{"description":"Error that can't be overcomed/retried in most of the cases. Connection time-out to integration, connection fail.","type":"array","items":{"$ref":"#/components/schemas/metaMessage"}}},"type":"object"}},"components/schemas/metaWarning":{"id":"components/schemas/metaWarning","kind":"json-schema","title":"metaWarning","data":{"properties":{"warnings":{"description":"Error that can be handled manually by inserting data manually, edit the data, retry. Not blocking the flow. Vehicle make and model not found, insert it manually.","type":"array","items":{"$ref":"#/components/schemas/metaMessage"}}},"type":"object"}},"components/schemas/quoteLinks":{"id":"components/schemas/quoteLinks","kind":"json-schema","title":"quoteLinks","data":{"properties":{"quote:changes":{"type":"string","example":"https://app.beta.insly.training/api/v1/ledger/sales/policies/1/changes"}},"type":"object"}},"components/schemas/PaymentOfCustomer":{"id":"components/schemas/PaymentOfCustomer","kind":"json-schema","title":"PaymentOfCustomer","data":{"properties":{"data":{"properties":{"customerId":{"type":"integer"},"paymentSum":{"type":"integer","format":"decimal"},"description":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"paymentType":{"type":"string"},"paymentCurrency":{"type":"string"}},"type":"object"}},"type":"object"}},"components/schemas/PaymentOfBroker":{"id":"components/schemas/PaymentOfBroker","kind":"json-schema","title":"PaymentOfBroker","data":{"properties":{"data":{"properties":{"broker":{"properties":{"shortName":{"type":"string"}},"type":"object"},"paymentSum":{"type":"integer","format":"decimal"},"description":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"paymentType":{"type":"string"},"paymentCurrency":{"type":"string"}},"type":"object"}},"type":"object"}},"components/schemas/policy-termination-premium-response":{"id":"components/schemas/policy-termination-premium-response","kind":"json-schema","title":"policy-termination-premium-response","data":{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["pro-rata"]}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"},{"$ref":"#/components/schemas/policy-objects-termination"}]}},"components/schemas/policy-termination":{"id":"components/schemas/policy-termination","kind":"json-schema","title":"policy-termination","data":{"properties":{"policy":{"properties":{"terminationType":{"type":"string"},"financials":{"$ref":"#/components/schemas/financials-policy"}},"type":"object"}},"type":"object"}},"components/schemas/policy-objects-termination":{"id":"components/schemas/policy-objects-termination","kind":"json-schema","title":"policy-objects-termination","data":{"properties":{"objects":{"type":"array","items":{"properties":{"id":{"type":"number"},"products":{"properties":{"{productTag}":{"properties":{"financials":{"$ref":"#/components/schemas/object-termination-financials"}},"type":"object"}},"type":"object"}},"type":"object"}}},"type":"object"}},"components/schemas/policy-terminate-request":{"id":"components/schemas/policy-terminate-request","kind":"json-schema","title":"policy-terminate-request","data":{"oneOf":[{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["manual"]},"terminationDate":{"type":"string","format":"date"}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"},{"$ref":"#/components/schemas/policy-objects-termination"}]},{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["pro-rata"]},"terminationDate":{"type":"string","format":"date"}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"}]},{"type":"object","allOf":[{"properties":{"policy":{"properties":{"terminationType":{"type":"string","enum":["full-rollback"]}},"type":"object"}}},{"$ref":"#/components/schemas/policy-termination"}]}]}},"components/schemas/ValidationError422":{"id":"components/schemas/ValidationError422","kind":"json-schema","title":"ValidationError422","data":{"properties":{"message":{"type":"string","example":"The given data was invalid."},"errors":{"type":"object"}},"type":"object","example":{"message":"The given data was invalid.","errors":{"schema.type":["The schema.type field is required."],"schema.name":["The schema.name field is required."],"policy.dateInception":["The policy.date inception is not a valid date."]}}}},"components/schemas/ServerError":{"id":"components/schemas/ServerError","kind":"json-schema","title":"ServerError","data":{"properties":{"message":{"type":"string","example":"Server Error"}},"type":"object"}},"components/schemas/payments":{"id":"components/schemas/payments","kind":"json-schema","title":"payments","data":{"properties":{"entry_date":{"type":"string","format":"date"},"paymentReceivedDate":{"type":"string","format":"date"},"paymentSum":{"type":"number"},"paymentCurrency":{"type":"string"},"payer":{"description":"customer id or broker name","type":"string"},"broker":{"description":"broker name","type":"string","deprecated":true},"description":{"description":"payment description","type":"string"}},"type":"object"}},"components/schemas/customer":{"id":"components/schemas/customer","kind":"json-schema","title":"customer","data":{"properties":{"name":{"type":"string"},"code":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/agent":{"id":"components/schemas/agent","kind":"json-schema","title":"agent","data":{"properties":{"broker":{"type":"string"},"code":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/object":{"id":"components/schemas/object","kind":"json-schema","title":"object","data":{"properties":{"objectId":{"$ref":"#/components/schemas/objectData"}},"type":"object"}},"components/schemas/objectData":{"id":"components/schemas/objectData","kind":"json-schema","title":"objectData","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/object-data"}},"products":{"type":"array","items":{"$ref":"#/components/schemas/object-products"}}},"type":"object"}},"components/schemas/object-products":{"id":"components/schemas/object-products","kind":"json-schema","title":"object-products","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/object-products-data"}},"financials":{"$ref":"#/components/schemas/object-financials"}},"type":"object"}},"components/schemas/object-data":{"id":"components/schemas/object-data","kind":"json-schema","title":"object-data","data":{"properties":{"name":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/policy-root":{"id":"components/schemas/policy-root","kind":"json-schema","title":"policy-root","data":{"properties":{"policy":{"$ref":"#/components/schemas/policy"},"customer":{"$ref":"#/components/schemas/customer"},"agent":{"$ref":"#/components/schemas/agent"},"objects":{"$ref":"#/components/schemas/object"}},"type":"object"}},"components/schemas/object-financials":{"id":"components/schemas/object-financials","kind":"json-schema","title":"object-financials","data":{"properties":{"premium":{"type":"number"},"premiumIptPcs":{"type":"number"},"insurers":{"$ref":"#/components/schemas/object-financials-carriers"},"reinsurance":{"$ref":"#/components/schemas/object-financials-reinsurance"}},"type":"object"}},"components/schemas/object-termination-financials":{"id":"components/schemas/object-termination-financials","kind":"json-schema","title":"object-termination-financials","data":{"properties":{"premium":{"type":"number"}},"type":"object"}},"components/schemas/object-financials-carriers":{"id":"components/schemas/object-financials-carriers","kind":"json-schema","title":"object-financials-carriers","data":{"properties":{"carrierTagX":{"$ref":"#/components/schemas/object-financials-carrier"}},"type":"object"}},"components/schemas/object-financials-carrier":{"id":"components/schemas/object-financials-carrier","kind":"json-schema","title":"object-financials-carrier","data":{"properties":{"commPct":{"type":"string"},"claimShare":{"type":"string"},"grossCommPct":{"type":"string"},"share":{"type":"string"}},"type":"object"}},"components/schemas/object-products-data":{"id":"components/schemas/object-products-data","kind":"json-schema","title":"object-products-data","data":{"properties":{"group":{"type":"string"},"name":{"type":"string"},"nameLong":{"type":"string"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/policy":{"id":"components/schemas/policy","kind":"json-schema","title":"policy","data":{"properties":{"id":{"type":"integer","example":"1234"},"policyNo":{"type":"string"},"dateIssue":{"type":"string","format":"date"},"dateInception":{"type":"string","format":"date"},"dateExpiry":{"type":"string","format":"date"},"financials":{"$ref":"#/components/schemas/financials-policy"},"params":{"$ref":"#/components/schemas/params"}},"type":"object"}},"components/schemas/financials-policy":{"id":"components/schemas/financials-policy","kind":"json-schema","title":"financials-policy","data":{"properties":{"installments":{"type":"number"},"adminFeeSum":{"type":"number"},"feeVatPct":{"type":"number"}},"type":"object"}},"components/schemas/params":{"id":"components/schemas/params","kind":"json-schema","title":"params","data":{"properties":{"attribute1":{"type":"string"},"attribute2":{"type":"string"},"attribute...":{"type":"string"},"attribute45":{"type":"string"}},"type":"object"}},"components/schemas/object-financials-reinsurance":{"id":"components/schemas/object-financials-reinsurance","kind":"json-schema","title":"object-financials-reinsurance","data":{"properties":{"quotaSharePct":{"type":"number"},"insurers":{"$ref":"#/components/schemas/object-financials-reinsurance-carriers"}},"type":"object"}},"components/schemas/object-financials-reinsurance-carriers":{"id":"components/schemas/object-financials-reinsurance-carriers","kind":"json-schema","title":"object-financials-reinsurance-carriers","data":{"properties":{"carrierTagX":{"$ref":"#/components/schemas/object-financials-reinsurance-carrier"}},"type":"object"}},"components/schemas/object-financials-reinsurance-carrier":{"id":"components/schemas/object-financials-reinsurance-carrier","kind":"json-schema","title":"object-financials-reinsurance-carrier","data":{"properties":{"premiumSharePct":{"type":"number"},"commPct":{"type":"number"},"claimSharePct":{"type":"number"}},"type":"object"}},"schema_1102":{"kind":"json-schema","data":{"type":"string"},"id":"schema_1102"},"schema_1103":{"kind":"json-schema","data":[],"id":"schema_1103"},"schema_1104":{"kind":"json-schema","data":{"type":"boolean","default":"true"},"id":"schema_1104"},"schema_1105":{"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_1105"},"schema_1106":{"kind":"json-schema","data":{"type":"bool","default":"false","example":"true"},"id":"schema_1106"},"schema_1107":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":[]},"links":{"$ref":"#/components/schemas/quoteLinks"}},"type":"object"},"id":"schema_1107"},"schema_1108":{"kind":"json-schema","data":{"type":"integer","example":"123"},"id":"schema_1108"},"schema_1109":{"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_1109"},"schema_1110":{"kind":"json-schema","data":{"properties":{"reason":{"type":"string","example":"Reason for declining"}},"type":"object"},"id":"schema_1110"},"schema_1111":{"kind":"json-schema","data":{"type":"integer"},"id":"schema_1111"},"schema_1112":{"kind":"json-schema","data":{"properties":{"data":{"example":["See response description for more details."]}},"type":"object"},"id":"schema_1112"},"schema_1113":{"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_1113"},"schema_1114":{"kind":"json-schema","data":{"type":"integer","example":"1"},"id":"schema_1114"},"schema_1115":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_1115"},"schema_1116":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Reason of sending quote to referral"}},"type":"object"},"id":"schema_1116"},"schema_1117":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Referral is accepted after quote data check"}},"type":"object"},"id":"schema_1117"},"schema_1118":{"kind":"json-schema","data":{"properties":{"comment":{"type":"string","example":"Referral is declined after quote data check"}},"type":"object"},"id":"schema_1118"},"schema_1119":{"kind":"json-schema","data":{"properties":{"requestId":{"type":"string","example":"64ff614a-551f-4b38-a7ba-37b7285c9562"}},"type":"object"},"id":"schema_1119"},"schema_1120":{"kind":"json-schema","data":{"type":"bool","default":"true","example":"false"},"id":"schema_1120"},"schema_1121":{"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_1121"},"schema_1122":{"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_1122"},"schema_1123":{"kind":"json-schema","data":{"description":"terminationSum needed in case of 'manual' type, shortRatePct is needed in case of 'short-rate' type"},"id":"schema_1123"},"schema_1124":{"kind":"json-schema","data":{"properties":{"":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/policy-termination-premium-response"}}}},"type":"object"},"id":"schema_1124"},"schema_1125":{"kind":"json-schema","data":{"properties":{"event_id":{"type":"integer","example":"123"}},"type":"object"},"id":"schema_1125"},"schema_1126":{"kind":"json-schema","data":{"type":"object"},"id":"schema_1126"},"schema_1127":{"kind":"json-schema","data":{},"id":"schema_1127"},"schema_1128":{"kind":"json-schema","data":{"properties":{"data":{"type":"object"}},"type":"object"},"id":"schema_1128"},"schema_1129":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/PaymentOfBroker"},{"$ref":"#/components/schemas/PaymentOfCustomer"}]},"id":"schema_1129"},"schema_1130":{"kind":"json-schema","data":{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payments"}}},"type":"object"},"id":"schema_1130"},"schema_1131":{"kind":"json-schema","data":{"properties":{"requestId":{"description":"Request ID","type":"string","format":"uuid","example":"8bb0e40f-6841-47fc-a283-b6a43c6e299e"}},"type":"object"},"id":"schema_1131"},"schema_1132":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_1132"},"schema_1133":{"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_1133"}},"exampleStore":{"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor":{"value":{"binder":{"id":3},"broker":{"brokerDocEmailNb":null,"brokerDocEmailRenewal":null,"shortName":"Geo UW Broker"},"claims":[{"accidentDescription":"Minor parking incident, no third party","claimType":"Accidental Damage only","cost":1500,"dateOfLoss":"2024-03-12","driver":"Unknown","fault":"No","recovery":"No","status":"Closed","vehicleInvolved":"Trailer"}],"claimsDeclarations":{"motorAccidentsClaimsLastThreeYearsNotDeclared":"No"},"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"Sample City","country":"England","county":"Sample County","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"Yes","convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2025-03-09","disq":"No","fine":100,"points":3}],"dateOfBirth":"1990-03-22","excludeFromVehicles":"No","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Ms"}],"endorsements":[{"editable":false,"group":"Standard","groupName":"Standard Conditions","id":"ENDO-0001","lang":"en","name":"Standard Endorsement","removable":true,"text":"This is a sample endorsement clause for documentation purposes.","type":"standard"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-15","expiringPremium":1200,"fleetDiscount":"Fleet Rated","holdingBroker":"Yes","renewalInvite":1250,"targetPremium":1100},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":null,"autonomousDriving":"No","bodyType":"Mower","category":"Trailer/Implement","certType":"Registration Number","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","maximumConvictionScore":0,"model":"Model","modified":"No","name":"Vehicle","rateRecord":[{"baseRate":0}],"roadUse":"Yes","seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","value":3500,"vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"include":true,"onCover":false,"products":{"accidentalDamageFireTheft":{"include":false,"onCover":false},"breakdownCover":{"include":false,"onCover":false},"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500},"financials":{"insurers":[{"insurer":"Miramar","isLead":false}],"premium":0,"premiumIptPcs":0},"include":true,"onCover":false},"fireTheft":{"include":false,"onCover":false},"legalExpences":{"include":false,"onCover":false},"roadTrafficActOnly":{"include":false,"onCover":false},"thirdPartyFireTheft":{"include":false,"onCover":false},"thirdPartyOnly":{"include":false,"onCover":false}}}]},"occupations":{"acceptability":"Acceptable","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","yearsBusinessEstablished":3,"yearsOfExperience":3}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other","tradeLoad":0,"turnover":100000},"policy":{"createdBy":"api-test","currency":"GBP","dateExpiry":"2027-04-22T00:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","dateInceptionOriginal":null,"dateIssue":"2026-04-22T00:00:00Z","financials":{"adminFeeSum":0},"legacyPolicyNo":null,"params":{"productTag":"Countryside Motor"},"parentId":null,"policyNo":"POL-0001","scheme":"Standard"},"policyLimits":{"guidanceEquipment":1000,"lossOfKeys":500,"medicalExpenses":"Yes","medicalExpensesLimit":250,"personalAccident":"Yes","personalAccidentLimit":5000,"personalAccidentPeriodLimit":10000,"personalBelongings":"Yes","personalBelongingsLimit":250},"referralComments":[{"text":"Sample referral comment for documentation.","time":"2026-05-03T10:00:00Z","user":"api-test"}],"relatedClaims":"","relatedPolicies":"","riskSummary":{"avgSumInsured":0,"lastYearsRates":0,"privateVehicleCount":0,"privateVehiclePremium":0,"ragStatus":"Green","rateCarry":0,"rateStrength":0,"thisYearsRates":0,"uwInfo":""},"schedules":{"dueDay":"15","firstPayment":{"dueDate":"2026-05-31","sharePct":null},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"situationOfrisk":[{"acceptable":null,"city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","street":"1 Example Court, Sample Road","zip":"IM1 1AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"","underwriter":{"name":"api-test"}},"schema":{"name":"countryside-motor","type":"policy","version":42},"vehicleDeclarations":{"confirm":"Yes","countOfClaims":1,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - full payload (all sections populated)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/requestBody/content/application~1json/examples/countryside-motor"},"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/countryside-motor":{"value":{"meta":{"schemaPath":"policy/regular/countryside-motor/42","status":"quote:underwritten"},"data":{"additionalData":{"endorsementGroups":["Driver Endorsements","Policy Endorsements","Subjectivity","Vehicles Endorsements"]},"binder":{"contractDetails":{"endDate":"2099-11-01","product":"countryside-motor","startDate":"2000-11-01","status":"active"},"id":3,"limitations":[],"schema":{"name":"binder","type":"binder","version":1},"shares":[{"id":"share-001","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Trinity Lane Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"breakdownCover"},{"id":"share-002","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"comprehensive"},{"id":"share-003","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyFireTheft"},{"id":"share-004","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyOnly"},{"id":"share-005","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"accidentalDamageFireTheft"},{"id":"share-006","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"fireTheft"},{"id":"share-007","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"roadTrafficActOnly"},{"id":"share-008","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Allianz Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"legalExpences"}],"summary":{"description":"Countryside Motor Binder","name":"Countryside Motor Binder","umr":"Countryside Motor Binder"}},"broker":{"commission":{"commDate":"2026-05-03","commPctDefault":{"commissionSacrificeNegative":10,"commissionSacrificePositive":10,"commissionType":"%","effectivePeriodStartDate":"2000-11-01","newSalesCommission":10,"product":"countryside-motor","renewalCommission":10}},"name":"Geo UW Broker","shortName":"Geo UW Broker"},"claims":[],"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"London","country":"England","county":"London","district":"Sample District","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"No","dateOfBirth":"1990-03-22","excludeFromVehicles":"No","id":"driver-001","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"fleetDiscount":"Fleet Rated","holdingBroker":"Yes"},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":"Red","bodyType":"Mower","category":"Trailer/Implement","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","district":"Isle of Man","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","model":"Model","modified":"No","name":"Vehicle","originalCalculationDate":"2026-05-03","rateRecord":[{"additionalUse":1,"area":1,"baseRate":660,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":932.97,"group":1,"id":"rate-001","inflation":1.2472,"mainUserAge":1,"min":0,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.1,"security":1,"techPrem":932.97,"trailerLimit":1,"vehicleAge":1,"vehicleCalculatedAge":3,"vehicleUse":1,"vehicleValue":25,"ydOutlier":1,"youngDriver":1}],"seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","trailerUsedForOtherTrade":"No","vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"id":"vehicle-001","include":true,"onCover":false,"products":{"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500,"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-001","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":850,"premiumIptPcs":0},"include":true,"onCover":false}}}]},"occupations":{"acceptability":"green","additionalOccpations":[{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false},{"acceptability":false,"tradeCategory":false}],"declarations":[{"businessOffers24HourCallout":"No","id":"decl-001","yearsBusinessEstablished":2,"yearsOfExperience":2}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other"},"policy":{"authorUser":{"email":"john.doe@example.com","name":"John","sub":"00000000-0000-0000-0000-000000000000"},"createdBy":"John Doe","currency":"GBP","dateExpiry":"2027-05-09T23:59:00+01:00","dateInception":"2026-05-10T00:00:00+01:00","financials":{"adminFeeSum":25},"id":1001,"originalCalculationDate":"2026-05-03","params":{"productTag":"Countryside Motor"},"policyNo":"CSM00000001","scheme":"Standard"},"policyLimits":{"accummulationLimit":5000000,"europeanTravelDays":90,"guidanceEquipment":1000,"lossOfKeys":1000,"medicalExpensesLimit":250,"personalAccidentLimit":5000,"personalAccidentPeriodLimit":5000,"personalBelongingsLimit":500},"referralComments":[],"referrals":{"acceptanceRoles":[],"rules":[{"accepted":true,"external":false,"fieldValues":{"policy.dateExpiry":"2027-05-09T23:59:00+01:00","policy.dateInception":"2026-05-10T00:00:00+01:00"},"fields":["policy.dateExpiry","policy.dateInception"],"id":"REF0003","message":"Refer to Underwriters","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"customer.age":41},"fields":["customer.age"],"id":"REF0022","message":"Policyholder age","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"customer.age":41},"fields":["customer.age"],"id":"REF0023","message":"Policyholder age","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"occupations.declarations.0.yearsBusinessEstablished":2},"fields":["occupations.declarations.0.yearsBusinessEstablished"],"id":"REF0024","message":"Number of Years Established/Trading","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"occupations.declarations.0.yearsOfExperience":2},"fields":["occupations.declarations.0.yearsOfExperience"],"id":"REF0025","message":"Number of Years Experience in the Trade","type":"referral"}],"status":"referral-not-needed"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"countryside-motor","type":"policy","version":42},"situationOfrisk":[{"acceptable":"Red","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","district":"Isle of Man","id":"sor-001","street":"1 Example Court, Sample Road","zip":"IM1 1AB"},{"acceptable":""},{"acceptable":""},{"acceptable":""}],"trailerCover":{"coverRequired":"0","declarations":[{"id":"trailer-decl-001","passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"Dummy Value","underwriter":{"name":""}},"vehicleDeclarations":{"countOfClaims":0,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}}},"key":"countryside-motor","summary":"Countryside Motor - quote response exmample","id":"paths/~1api~1v1~1ledger~1sales~1policies~1create/post/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor":{"value":{"policy":{"id":"10669"},"schema":{"name":"countryside-motor","type":"policy"}},"key":"countryside-motor","summary":"Countryside Motor - MTA","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/requestBody/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor":{"value":{"additionalData":{"endorsementGroups":["Driver Endorsements","Policy Endorsements","Subjectivity","Vehicles Endorsements"]},"binder":{"contractDetails":{"endDate":"2099-11-01","product":"countryside-motor","startDate":"2000-11-01","status":"active"},"id":3,"limitations":[],"schema":{"name":"binder","type":"binder","version":1},"shares":[{"id":"share-001","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Trinity Lane Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"breakdownCover"},{"id":"share-002","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"comprehensive"},{"id":"share-003","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyFireTheft"},{"id":"share-004","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyOnly"},{"id":"share-005","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"accidentalDamageFireTheft"},{"id":"share-006","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"fireTheft"},{"id":"share-007","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"roadTrafficActOnly"},{"id":"share-008","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Allianz Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"legalExpences"}],"summary":{"description":"Countryside Motor Binder","name":"Countryside Motor Binder","umr":"Countryside Motor Binder"}},"broker":{"brokerDocEmailNb":"broker.docs@example.com","brokerDocEmailRenewal":"broker.renewal@example.com","commission":{"commDate":"2026-04-29","commPctDefault":{"commissionSacrificeNegative":40,"commissionSacrificePositive":40,"commissionType":"%","effectivePeriodStartDate":"2000-11-12","newSalesCommission":15,"product":"countryside-motor","renewalCommission":15}},"name":"Test Broker","shortName":"test-broker"},"claims":[],"customer":{"additionalCustomers":[],"corAddress":{"city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","street":"1 Example Street","zip":"AB10 1AA"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"docRequired":"No","legalExpensesRequired":"No","name":"Acme Holdings","onlyCorAddress":"No","typeOfLegalEntity":"Other"},"drivers":[{"age":26,"conviction":"No","dateOfBirth":"1999-06-15","excludeFromVehicles":"No","id":"driver-001","licenceRevoked":"No","licenceType":"Full","name":"Emma","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Brown","title":"Ms"}],"existingInsuranceDetails":{"currentInsurer":["Admiral"],"fleetDiscount":"Don't Know","holdingBroker":"Yes"},"mta":{"policyId":1098},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":"Amber","autonomousDriving":"No","bodyType":"Coupe","category":"Private Car","certType":"Registration Number","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[],"drivingRestriction":"Named Drivers","excessOverride":4,"fuel":"Diesel","introYears":0,"isMainDriver":"No","keeper":"Policyholder","legalOwner":"Policyholder","make":"m","model":"mm","modified":"No","name":"Vehicle","noClaimsDiscountProof":"No","noClaimsYears":1,"originalCalculationDate":"2026-04-29","rateRecord":[{"additionalUse":1,"area":1.026,"baseRate":1363.41,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":0.85,"excess":1,"finalPrem":1319.66,"group":1.4649999999999992,"id":"rate-001","inflation":1.2422,"mainUserAge":1,"min":225,"ncd":0.85,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.025,"security":1,"techPrem":1319.66,"trailerLimit":1,"vehicleAge":0.7,"vehicleCalculatedAge":26,"vehicleUse":1,"vehicleValue":1,"ydOutlier":1,"youngDriver":1}],"regNo":"333333","roadUse":"Yes","seats":4,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - 17, Example Road","street":"17, Example Road","use":"Limited Use","value":4000,"voluntaryExcess":0,"yearOfMake":2000,"zip":"AB10 1AA"},"id":"vehicle-001","include":true,"onCover":true,"products":{"comprehensive":{"data":{"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":15,"grossCommPct":27.5,"id":"insurer-line-001","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":0,"premiumIptPcs":12},"include":true,"onCover":true}}}]},"occupations":{"additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","id":"decl-001","yearsBusinessEstablished":1,"yearsOfExperience":1}],"mainOccupationPolicyholder":"Animal Breeding"},"policy":{"authorUser":{"email":"alex.admin@example.com","name":"Alex Admin","sub":"00000000-0000-0000-0000-000000000000"},"createdBy":"Alex Admin","currency":"GBP","dateExpiry":"2027-04-29T23:59:59+01:00","dateInception":"2026-04-30T00:00:00+01:00","dateIssue":"2026-04-29","financials":{"adminFeeSum":0},"id":1004,"mtaDate":"2026-05-03T00:00:00+01:00","mtaType":"Permanent MTA / MTA Quotation (Perm)","originalCalculationDate":"2026-04-29","params":{"productTag":"Countryside Motor"},"policyNo":"CSM00000004/1","quoteBoundDate":"2026-04-29","scheme":"Standard"},"policyLimits":{"accummulationLimit":5000000,"europeanTravelDays":90,"guidanceEquipment":1000,"lossOfKeys":1000,"medicalExpensesLimit":250,"personalAccidentLimit":5000,"personalAccidentPeriodLimit":5000,"personalBelongingsLimit":500},"quote":[],"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"countryside-motor","type":"policy","version":42},"situationOfrisk":[{"city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","id":"sor-001","street":"17, Example Road","zip":"AB10 1AA"}],"trailerCover":{"coverRequired":"0","declarations":[{"id":"trailer-decl-001","passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"Dummy Value","underwriter":{"name":""}},"vehicleDeclarations":{"countOfClaims":0,"countOfCMVandPMVVehicles":1,"countOfTrailers":0,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - POST MTA response (no envelope; mta + quote at root)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1mta/post/responses/200/content/application~1json/examples/countryside-motor"},"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/countryside-motor":{"value":{"meta":{"schemaPath":"policy/regular/countryside-motor/42","status":"quote:underwritten"},"data":{"additionalData":{"endorsementGroups":["Driver Endorsements","Policy Endorsements","Subjectivity","Vehicles Endorsements"]},"binder":{"contractDetails":{"endDate":"2099-11-01","product":"countryside-motor","startDate":"2000-11-01","status":"active"},"id":3,"limitations":[],"schema":{"name":"binder","type":"binder","version":1},"shares":[{"id":"share-001","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Trinity Lane Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"breakdownCover"},{"id":"share-002","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"comprehensive"},{"id":"share-003","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyFireTheft"},{"id":"share-004","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyOnly"},{"id":"share-005","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"accidentalDamageFireTheft"},{"id":"share-006","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"fireTheft"},{"id":"share-007","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"roadTrafficActOnly"},{"id":"share-008","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Allianz Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"legalExpences"}],"summary":{"description":"Countryside Motor Binder","name":"Countryside Motor Binder","umr":"Countryside Motor Binder"}},"broker":{"commission":{"commDate":"2026-04-30","commPctDefault":{"commissionSacrificeNegative":40,"commissionSacrificePositive":40,"commissionType":"%","effectivePeriodStartDate":"2000-11-12","newSalesCommission":15,"product":"countryside-motor","renewalCommission":15}},"name":"Test Broker","shortName":"test-broker"},"claims":[],"customer":{"additionalCustomers":[],"corAddress":{"city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","street":"1 Example Street","zip":"AB10 1AA"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"docRequired":"No","legalExpensesRequired":"No","name":"Acme","onlyCorAddress":"No","typeOfLegalEntity":"Other"},"drivers":[{"age":37,"conviction":"No","dateOfBirth":"1988-03-22","excludeFromVehicles":"No","id":"driver-001","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Doe","title":"Mrs"},{"age":40,"conviction":"No","dateOfBirth":"1985-09-15","excludeFromVehicles":"No","id":"driver-002","licenceRevoked":"No","licenceType":"Full","name":"Robert","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Mr"},{"age":31,"conviction":"No","dateOfBirth":"1994-07-10","excludeFromVehicles":"No","id":"driver-003","licenceRevoked":"No","licenceType":"Full","name":"Sarah","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Brown","title":"Ms"}],"endorsements":[{"document":null,"editable":true,"group":"Driver Endorsements","id":"DRI001","lang":"en","name":"Test Driver Endo","removable":true,"text":"<p>Test Driver Endo</p>","translatable":[{"description":"<p>Test Driver Endo</p>","lang":"en","name":"Test Driver Endo"}],"type":"manual"},{"document":null,"editable":true,"group":"Policy Endorsements","id":"E001","lang":"en","name":"Test Policy Endo","removable":true,"text":"<p>Test Policy Endo</p>","translatable":[{"description":"<p>Test Policy Endo</p>","lang":"en","name":"Test Policy Endo"}],"type":"manual"},{"document":null,"editable":true,"group":"Subjectivity","id":"SUB001","lang":"en","name":"Test Sub","removable":true,"text":"<p>Test Sub</p>","translatable":[{"description":"<p>Test Sub</p>","lang":"en","name":"Test Sub"}],"type":"manual"},{"document":null,"editable":true,"group":"Vehicles Endorsements","id":"VEH001","lang":"en","name":"Test Vehicle Endo","removable":true,"text":"<p>Test Vehicle Endo</p>","translatable":[{"description":"<p>Test Vehicle Endo</p>","lang":"en","name":"Test Vehicle Endo"}],"type":"manual"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-30","expiringPremium":357,"fleetDiscount":"Don't Know","holdingBroker":"Yes","renewalInvite":235,"targetPremium":687},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"abiCode":1324,"acceptable":"Amber","autonomousDriving":"No","bodyType":"4x4","category":"Private Car","cc":4432,"certType":"Registration Number","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[{"age":37,"conviction":"No","dateOfBirth":"1988-03-22","doc":"No","driverDropdown":"Jane Doe","excludeFromVehicles":"No","id":"driver-line-001","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","otherOccupations":"No","relationship":"Proposer","surname":"Doe","title":"Mrs"}],"drivingRestriction":"Any Authorised Driver Over 25","excessOverride":2344,"fuel":"Petrol","introYears":0,"isMainDriver":"No","keeper":"Policyholder","legalOwner":"Policyholder","lexisNexisSuccess":"yes","make":"make_1","manualLoad":5,"model":"Model_1","modified":"No","name":"Vehicle","noClaimsDiscountProof":"No","noClaimsYears":0,"originalCalculationDate":"2026-04-30","rateRecord":[{"additionalUse":1,"area":1.026,"baseRate":1363.41,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":3002.4225,"group":1.4649999999999992,"id":"rate-001","inflation":1.2422,"mainUserAge":1,"min":225,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.025,"security":1,"techPrem":2859.45,"trailerLimit":1,"vehicleAge":0.955,"vehicleCalculatedAge":3,"vehicleUse":1,"vehicleValue":1.125,"ydOutlier":1,"youngDriver":1}],"regNo":"Reg_1","roadUse":"Yes","seats":5,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - 17, Example Road","street":"17, Example Road","technicalAdjustment":2,"trim":"4657","use":"Class 2 Use","value":23457,"voluntaryExcess":0,"yearOfMake":2023,"zip":"AB10 1AA"},"id":"vehicle-001","include":true,"onCover":false,"products":{"comprehensive":{"data":{"manualPremiumOverride":2750,"minimumPremiumOverride":500,"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-001","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":2750,"premiumIptPcs":12},"include":true,"onCover":false}}},{"data":{"abiCode":2345,"acceptable":"Amber","autonomousDriving":"No","bodyType":"Box van","category":"Commercial Vehicle","cc":543,"certType":"Registration Number","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[{"age":40,"conviction":"No","dateOfBirth":"1985-09-15","doc":"No","driverDropdown":"Robert Smith","excludeFromVehicles":"No","id":"driver-line-002","licenceRevoked":"No","licenceType":"Full","name":"Robert","numberOfYearsLicenceHeld":"Over 2 years","otherOccupations":"No","relationship":"Proposer","surname":"Smith","title":"Mr"}],"drivingRestriction":"Any Authorised Driver Over 25","fuel":"Diesel","introYears":0,"isMainDriver":"No","keeper":"Policyholder","legalOwner":"Policyholder","lexisNexisSuccess":"yes","make":"make_2","manualLoad":8,"model":"model_2","modified":"No","name":"Vehicle","noClaimsDiscountProof":"No","noClaimsYears":0,"originalCalculationDate":"2026-04-30","rateRecord":[{"additionalUse":1,"area":1.026,"baseRate":965.85,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":3194.0676,"group":2,"id":"rate-002","inflation":1.2422,"mainUserAge":1,"min":225,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.025,"security":1,"techPrem":2957.47,"trailerLimit":1,"vehicleAge":0.925,"vehicleCalculatedAge":5,"vehicleUse":1,"vehicleValue":1.267,"ydOutlier":1,"youngDriver":1}],"regNo":"reg_2","roadUse":"Yes","seats":5,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - 21, Example Road","street":"21, Example Road","trim":"1234","use":"Carriage of own goods (Class 2)","value":23444,"vehicleTypeApproval":"543","voluntaryExcess":0,"weight":2345,"yearOfMake":2021,"zip":"AB10 1AA"},"id":"vehicle-002","include":true,"onCover":false,"products":{"comprehensive":{"data":{"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-002","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":3194.0676,"premiumIptPcs":12},"include":true,"onCover":false}}},{"data":{"abiCode":4323,"acceptable":"Amber","autonomousDriving":"No","bodyType":"Forage chopper","category":"Special Types / Agricultural Vehicle","certType":"Blanket Wording","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[],"drivingRestriction":"Any Authorised Driver Over 25","fuel":"Diesel","keeper":"Policyholder","legalOwner":"Policyholder","lexisNexisSuccess":"vnx","make":"make_3","manualLoad":6,"model":"model_3","modified":"No","name":"Vehicle","originalCalculationDate":"2026-04-30","rateRecord":[{"additionalUse":1,"area":1.026,"baseRate":581.97,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":797.8832000000001,"group":1,"id":"rate-003","inflation":1.2422,"mainUserAge":1,"min":75,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.025,"security":1,"techPrem":752.72,"trailerLimit":1,"vehicleAge":0.952,"vehicleCalculatedAge":4,"vehicleUse":1,"vehicleValue":1,"ydOutlier":1,"youngDriver":1}],"regNo":"reg_3","roadUse":"Yes","seats":2,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - 33, Example Road","street":"33, Example Road","technicalAdjustment":4,"trim":"12344","use":"Agricultural & Forestry & SDP","value":23454,"vehicleTypeApproval":"3454","voluntaryExcess":0,"yearOfMake":2022,"zip":"AB10 1AA"},"id":"vehicle-003","include":true,"onCover":false,"products":{"comprehensive":{"data":{"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-003","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":797.8832000000001,"premiumIptPcs":12},"include":true,"onCover":false}}},{"data":{"acceptable":"Amber","bodyType":"Mower","category":"Trailer/Implement","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","lexisNexisSuccess":"yes","make":"make_4","manualLoad":9,"model":"model_4","modified":"No","name":"Vehicle","originalCalculationDate":"2026-04-30","rateRecord":[{"additionalUse":1,"area":1,"baseRate":80,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":171.893,"group":1,"id":"rate-004","inflation":1.2422,"mainUserAge":1,"min":0,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.025,"security":1,"techPrem":157.7,"trailerLimit":1,"vehicleAge":1,"vehicleCalculatedAge":4,"vehicleUse":1,"vehicleValue":50,"ydOutlier":1,"youngDriver":1}],"seats":2,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - 17, Example Road","street":"17, Example Road","technicalAdjustment":3,"trailerUsedForOtherTrade":"No","trim":"2345","value":3454,"vinNoTrailer":"reg_4","voluntaryExcess":0,"yearOfMake":2022,"zip":"AB10 1AA"},"id":"vehicle-004","include":true,"onCover":false,"products":{"comprehensive":{"data":{"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-004","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":171.893,"premiumIptPcs":12},"include":true,"onCover":false}}}]},"occupations":{"acceptability":"green","additionalOccpations":[{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""},{"acceptability":false,"tradeCategory":""}],"declarations":[{"businessOffers24HourCallout":"No","id":"decl-001","yearsBusinessEstablished":3,"yearsOfExperience":2}],"mainOccupationPolicyholder":"Equestrian Centres","tradeCategory":"Agriculture, fishing and forestry","tradeLoad":20,"turnover":466},"policy":{"authorUser":{"email":"alex.admin@example.com","name":"Alex Admin","sub":"00000000-0000-0000-0000-000000000000"},"createdBy":"Alex Admin","currency":"GBP","dateExpiry":"2027-04-28T23:59:00+01:00","dateInception":"2026-04-29T00:00:00+01:00","dateInceptionOriginal":"2026-04-30","financials":{"adminFeeSum":50},"id":1002,"originalCalculationDate":"2026-04-30","params":{"productTag":"Countryside Motor"},"policyNo":"CSM00000002","scheme":"Standard"},"policyLimits":{"accummulationLimit":5000000,"europeanTravelDays":90,"guidanceEquipment":1000,"lossOfKeys":1000,"medicalExpensesLimit":250,"personalAccidentLimit":5000,"personalAccidentPeriodLimit":5000,"personalBelongingsLimit":500},"referrals":{"acceptanceRoles":[],"rules":[{"accepted":true,"external":false,"fieldValues":{"policy.dateInception":"2026-04-29T00:00:00+01:00"},"fields":["policy.dateInception"],"id":"REF0002","message":"Cover Cannot Be Backdated","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"policy.dateExpiry":"2027-04-28T23:59:00+01:00","policy.dateInception":"2026-04-29T00:00:00+01:00"},"fields":["policy.dateExpiry","policy.dateInception"],"id":"REF0003","message":"Refer to Underwriters","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"occupations.declarations.0.yearsOfExperience":2},"fields":["occupations.declarations.0.yearsOfExperience"],"id":"REF0025","message":"Number of Years Experience in the Trade","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"objects.insuredItem.0.data.category":"Private Car","objects.insuredItem.0.data.drivingRestriction":"Any Authorised Driver Over 25"},"fields":["objects.insuredItem.0.data.drivingRestriction","objects.insuredItem.0.data.category"],"id":"REF0073","message":"Driving Restriction","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"objects.insuredItem.1.data.category":"Commercial Vehicle","objects.insuredItem.1.data.drivingRestriction":"Any Authorised Driver Over 25"},"fields":["objects.insuredItem.1.data.drivingRestriction","objects.insuredItem.1.data.category"],"id":"REF0073","message":"Driving Restriction","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"objects.insuredItem.0.data.excessOverride":2344},"fields":["objects.insuredItem.0.data.excessOverride"],"id":"REF0074","message":"Compulsory Excess Reduction","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"objects.insuredItem.0.data.category":"Private Car","objects.insuredItem.0.data.isMainDriver":"No"},"fields":["objects.insuredItem.0.data.isMainDriver","objects.insuredItem.0.data.category"],"id":"REF0075","message":"Main User","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"objects.insuredItem.1.data.weight":2345},"fields":["objects.insuredItem.1.data.weight"],"id":"REF0076","message":"Gross Vehicle Weight","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"endorsements.0.type":"manual"},"fields":["endorsements.0.type"],"id":"REF0097","message":"Manual Endorsement","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"endorsements.1.type":"manual"},"fields":["endorsements.1.type"],"id":"REF0097","message":"Manual Endorsement","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"endorsements.2.type":"manual"},"fields":["endorsements.2.type"],"id":"REF0097","message":"Manual Endorsement","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"endorsements.3.type":"manual"},"fields":["endorsements.3.type"],"id":"REF0097","message":"Manual Endorsement","type":"referral"}],"status":"referral-not-needed"},"riskSummary":{"agrAdjustment":6,"amendBrokerCommission":"Yes","amendGeoCommission":"Yes","amendedBrokerCommission":54,"amendedGeoCommission":21,"breakdownCoverBrokerAmended":6,"breakdownCoverGeoAmended":5,"breakdownCoverInsurerAmended":4,"cmvAdjustment":8,"commercialAdjustment":7,"legalExpensesBrokerAmended":2,"legalExpensesGeoAmended":3,"legalExpensesInsurerAmended":1,"pmvAdjustment":5,"trlAdjustment":9,"vehicleBrokerAmended":3,"vehicleGeoAmended":2,"vehicleInsurerAmended":1},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"countryside-motor","type":"policy","version":42},"situationOfrisk":[{"acceptable":"Amber","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","id":"sor-001","street":"17, Example Road","zip":"AB10 1AA"},{"acceptable":"Amber","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","id":"sor-002","street":"21, Example Road","zip":"AB10 1AA"},{"acceptable":"Amber","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","id":"sor-003","street":"33, Example Road","zip":"AB10 1AA"},{"acceptable":""},{"acceptable":""},{"acceptable":""}],"trailerCover":{"coverRequired":"0","declarations":[{"id":"trailer-decl-001","passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"Dummy Value","underwriter":{"name":""}},"vehicleDeclarations":{"countOfClaims":0,"countOfCMVandPMVVehicles":2,"countOfTrailers":1,"countOfVehicles":4,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}}},"key":"countryside-motor","summary":"Countryside Motor - GET response example","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}/get/responses/200/content/application~1json/examples/countryside-motor"},"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/countryside-motor":{"value":{"binder":{"id":3},"broker":{"brokerDocEmailNb":null,"brokerDocEmailRenewal":null,"shortName":"Geo UW Broker"},"claims":[{"accidentDescription":"Minor parking incident, no third party","claimType":"Accidental Damage only","cost":1500,"dateOfLoss":"2024-03-12","driver":"Unknown","fault":"No","recovery":"No","status":"Closed","vehicleInvolved":"Trailer"}],"claimsDeclarations":{"motorAccidentsClaimsLastThreeYearsNotDeclared":"No"},"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"Sample City","country":"England","county":"Sample County","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"Yes","convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2025-03-09","disq":"No","fine":100,"points":3}],"dateOfBirth":"1990-03-22","excludeFromVehicles":"No","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Ms"}],"endorsements":[{"editable":false,"group":"Standard","groupName":"Standard Conditions","id":"ENDO-0001","lang":"en","name":"Standard Endorsement","removable":true,"text":"This is a sample endorsement clause for documentation purposes.","type":"standard"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-15","expiringPremium":1200,"fleetDiscount":"Fleet Rated","holdingBroker":"Yes","renewalInvite":1250,"targetPremium":1100},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":null,"autonomousDriving":"No","bodyType":"Mower","category":"Trailer/Implement","certType":"Registration Number","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","maximumConvictionScore":0,"model":"Model","modified":"No","name":"Vehicle","rateRecord":[{"baseRate":0}],"roadUse":"Yes","seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","value":3500,"vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"include":true,"onCover":false,"products":{"accidentalDamageFireTheft":{"include":false,"onCover":false},"breakdownCover":{"include":false,"onCover":false},"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500},"financials":{"insurers":[{"insurer":"Miramar","isLead":false}],"premium":0,"premiumIptPcs":0},"include":true,"onCover":false},"fireTheft":{"include":false,"onCover":false},"legalExpences":{"include":false,"onCover":false},"roadTrafficActOnly":{"include":false,"onCover":false},"thirdPartyFireTheft":{"include":false,"onCover":false},"thirdPartyOnly":{"include":false,"onCover":false}}}]},"occupations":{"acceptability":"Acceptable","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","yearsBusinessEstablished":3,"yearsOfExperience":3}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other","tradeLoad":0,"turnover":100000},"policy":{"createdBy":"api-test","currency":"GBP","dateExpiry":"2027-04-22T00:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","dateInceptionOriginal":null,"dateIssue":"2026-04-22T00:00:00Z","financials":{"adminFeeSum":0},"legacyPolicyNo":null,"params":{"productTag":"Countryside Motor"},"parentId":null,"policyNo":"POL-0001","scheme":"Standard"},"policyLimits":{"guidanceEquipment":1000,"lossOfKeys":500,"medicalExpenses":"Yes","medicalExpensesLimit":250,"personalAccident":"Yes","personalAccidentLimit":5000,"personalAccidentPeriodLimit":10000,"personalBelongings":"Yes","personalBelongingsLimit":250},"referralComments":[{"text":"Sample referral comment for documentation.","time":"2026-05-03T10:00:00Z","user":"api-test"}],"relatedClaims":"","relatedPolicies":"","riskSummary":{"avgSumInsured":0,"lastYearsRates":0,"privateVehicleCount":0,"privateVehiclePremium":0,"ragStatus":"Green","rateCarry":0,"rateStrength":0,"thisYearsRates":0,"uwInfo":""},"schedules":{"dueDay":"15","firstPayment":{"dueDate":"2026-05-31","sharePct":null},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"situationOfrisk":[{"acceptable":null,"city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","street":"1 Example Court, Sample Road","zip":"IM1 1AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"","underwriter":{"name":"api-test"}},"schema":{"name":"countryside-motor","type":"policy","version":42},"vehicleDeclarations":{"confirm":"Yes","countOfClaims":1,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - full payload (all sections populated)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1/put/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor":{"value":{"binder":{"id":3},"broker":{"brokerDocEmailNb":null,"brokerDocEmailRenewal":null,"shortName":"Geo UW Broker"},"claims":[{"accidentDescription":"Minor parking incident, no third party","claimType":"Accidental Damage only","cost":1500,"dateOfLoss":"2024-03-12","driver":"Unknown","fault":"No","recovery":"No","status":"Closed","vehicleInvolved":"Trailer"}],"claimsDeclarations":{"motorAccidentsClaimsLastThreeYearsNotDeclared":"No"},"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"Sample City","country":"England","county":"Sample County","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"Yes","convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2025-03-09","disq":"No","fine":100,"points":3}],"dateOfBirth":"1990-03-22","excludeFromVehicles":"No","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Ms"}],"endorsements":[{"editable":false,"group":"Standard","groupName":"Standard Conditions","id":"ENDO-0001","lang":"en","name":"Standard Endorsement","removable":true,"text":"This is a sample endorsement clause for documentation purposes.","type":"standard"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-15","expiringPremium":1200,"fleetDiscount":"Fleet Rated","holdingBroker":"Yes","renewalInvite":1250,"targetPremium":1100},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":null,"autonomousDriving":"No","bodyType":"Mower","category":"Trailer/Implement","certType":"Registration Number","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","maximumConvictionScore":0,"model":"Model","modified":"No","name":"Vehicle","rateRecord":[{"baseRate":0}],"roadUse":"Yes","seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","value":3500,"vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"include":true,"onCover":false,"products":{"accidentalDamageFireTheft":{"include":false,"onCover":false},"breakdownCover":{"include":false,"onCover":false},"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500},"financials":{"insurers":[{"insurer":"Miramar","isLead":false}],"premium":0,"premiumIptPcs":0},"include":true,"onCover":false},"fireTheft":{"include":false,"onCover":false},"legalExpences":{"include":false,"onCover":false},"roadTrafficActOnly":{"include":false,"onCover":false},"thirdPartyFireTheft":{"include":false,"onCover":false},"thirdPartyOnly":{"include":false,"onCover":false}}}]},"occupations":{"acceptability":"Acceptable","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","yearsBusinessEstablished":3,"yearsOfExperience":3}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other","tradeLoad":0,"turnover":100000},"policy":{"createdBy":"api-test","currency":"GBP","dateExpiry":"2027-04-22T00:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","dateInceptionOriginal":null,"dateIssue":"2026-04-22T00:00:00Z","financials":{"adminFeeSum":0},"legacyPolicyNo":null,"params":{"productTag":"Countryside Motor"},"parentId":null,"policyNo":"POL-0001","scheme":"Standard"},"policyLimits":{"guidanceEquipment":1000,"lossOfKeys":500,"medicalExpenses":"Yes","medicalExpensesLimit":250,"personalAccident":"Yes","personalAccidentLimit":5000,"personalAccidentPeriodLimit":10000,"personalBelongings":"Yes","personalBelongingsLimit":250},"referralComments":[{"text":"Sample referral comment for documentation.","time":"2026-05-03T10:00:00Z","user":"api-test"}],"relatedClaims":"","relatedPolicies":"","riskSummary":{"avgSumInsured":0,"lastYearsRates":0,"privateVehicleCount":0,"privateVehiclePremium":0,"ragStatus":"Green","rateCarry":0,"rateStrength":0,"thisYearsRates":0,"uwInfo":""},"schedules":{"dueDay":"15","firstPayment":{"dueDate":"2026-05-31","sharePct":null},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"situationOfrisk":[{"acceptable":null,"city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","street":"1 Example Court, Sample Road","zip":"IM1 1AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"","underwriter":{"name":"api-test"}},"schema":{"name":"countryside-motor","type":"policy","version":42},"vehicleDeclarations":{"confirm":"Yes","countOfClaims":1,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - full payload (all sections populated)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/requestBody/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor":{"value":{"data":{"additionalData":{"endorsementGroups":["Driver Endorsements","Policy Endorsements","Subjectivity","Vehicles Endorsements"]},"binder":{"contractDetails":{"endDate":"2099-11-01","product":"countryside-motor","startDate":"2000-11-01","status":"active"},"id":3,"limitations":[],"schema":{"name":"binder","type":"binder","version":1},"shares":[{"id":"share-001","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Trinity Lane Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"breakdownCover"},{"id":"share-002","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"comprehensive"},{"id":"share-003","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyFireTheft"},{"id":"share-004","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyOnly"},{"id":"share-005","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"accidentalDamageFireTheft"},{"id":"share-006","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"fireTheft"},{"id":"share-007","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"roadTrafficActOnly"},{"id":"share-008","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Allianz Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"legalExpences"}],"summary":{"description":"Countryside Motor Binder","name":"Countryside Motor Binder","umr":"Countryside Motor Binder"}},"broker":{"commission":{"commDate":"2026-05-03","commPctDefault":{"commissionSacrificeNegative":10,"commissionSacrificePositive":10,"commissionType":"%","effectivePeriodStartDate":"2000-11-01","newSalesCommission":10,"product":"countryside-motor","renewalCommission":10}},"name":"Geo UW Broker","salesChannel":null,"shortName":"Geo UW Broker"},"claims":[],"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"London","country":"England","county":"London","district":"Sample District","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"No","dateOfBirth":"1990-03-22","excludeFromVehicles":"No","id":"driver-001","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"fleetDiscount":"Fleet Rated","holdingBroker":"Yes"},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":"Red","bodyType":"Mower","category":"Trailer/Implement","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","district":"Isle of Man","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","model":"Model","modified":"No","name":"Vehicle","originalCalculationDate":"2026-05-03","rateRecord":[{"additionalUse":1,"area":1,"baseRate":660,"bodyType":1,"claimFrequency":1,"convictionScore":1,"drivingRestriction":1,"excess":1,"finalPrem":932.97,"group":1,"id":"rate-001","inflation":1.2472,"mainUserAge":1,"min":0,"ncd":1,"occupation":1,"protectedNcd":1,"ruralUrbanClassification":1.1,"security":1,"techPrem":932.97,"trailerLimit":1,"vehicleAge":1,"vehicleCalculatedAge":3,"vehicleUse":1,"vehicleValue":25,"ydOutlier":1,"youngDriver":1}],"seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","trailerUsedForOtherTrade":"No","vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"id":"vehicle-001","include":true,"onCover":false,"products":{"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500,"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-001","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":850,"premiumIptPcs":0},"include":true,"onCover":false}}}]},"occupations":{"acceptability":"green","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","id":"decl-001","yearsBusinessEstablished":2,"yearsOfExperience":2}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other"},"policy":{"authorUser":{"email":"john.doe@example.com","name":"John","sub":"00000000-0000-0000-0000-000000000000"},"createdBy":"John Doe","currency":"GBP","dateExpiry":"2027-05-09T23:59:00+01:00","dateInception":"2026-05-10T00:00:00+01:00","financials":{"adminFeeSum":25},"id":1001,"originalCalculationDate":"2026-05-03","params":{"productTag":"Countryside Motor"},"policyNo":"CSM00000001","scheme":"Standard"},"policyLimits":{"accummulationLimit":5000000,"europeanTravelDays":90,"guidanceEquipment":1000,"lossOfKeys":1000,"medicalExpensesLimit":250,"personalAccidentLimit":5000,"personalAccidentPeriodLimit":5000,"personalBelongingsLimit":500},"referralComments":[],"referrals":{"acceptanceRoles":[],"rules":[{"accepted":true,"external":false,"fieldValues":{"policy.dateExpiry":"2027-05-09T23:59:00+01:00","policy.dateInception":"2026-05-10T00:00:00+01:00"},"fields":["policy.dateExpiry","policy.dateInception"],"id":"REF0003","message":"Refer to Underwriters","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"customer.age":41},"fields":["customer.age"],"id":"REF0022","message":"Policyholder age","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"customer.age":41},"fields":["customer.age"],"id":"REF0023","message":"Policyholder age","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"occupations.declarations.0.yearsBusinessEstablished":2},"fields":["occupations.declarations.0.yearsBusinessEstablished"],"id":"REF0024","message":"Number of Years Established/Trading","type":"referral"},{"accepted":true,"external":false,"fieldValues":{"occupations.declarations.0.yearsOfExperience":2},"fields":["occupations.declarations.0.yearsOfExperience"],"id":"REF0025","message":"Number of Years Experience in the Trade","type":"referral"}],"status":"referral-not-needed"},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"countryside-motor","type":"policy","version":42},"situationOfrisk":[{"acceptable":"Red","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","district":"Isle of Man","id":"sor-001","street":"1 Example Court, Sample Road","zip":"IM1 1AB"},{"acceptable":"","id":"sor-002"},{"acceptable":"","id":"sor-003"},{"acceptable":"","id":"sor-004"}],"trailerCover":{"coverRequired":"0","declarations":[{"id":"trailer-decl-001","passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"Dummy Value","underwriter":{"name":""}},"vehicleDeclarations":{"countOfClaims":0,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}}},"key":"countryside-motor","summary":"Countryside Motor - POST Calculate response (single Trailer/Implement, sole-trader customer)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculate/post/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor":{"value":{"data":{"mtaPremiumAfterIssue":null,"periodAdminFee":25,"periodBrokerCommission":93.3,"periodCustomerTotal":957.97,"periodIpt":0,"periodPremium":932.97},"fields":[{"name":"periodPremium","title":"Premium"},{"name":"periodIpt","title":"IPT"},{"name":"periodAdminFee","title":"Admin fee"},{"name":"periodBrokerCommission","title":"Broker commission"},{"name":"periodCustomerTotal","title":"Total"}],"installments":[{"accessoriesFee":0,"adminFee":0,"binderBrokerComm":0,"brokerComm":93.3,"carrier":"Zurich Insurance","carrierNet":676.4,"compFund":0,"compFundM":0,"customerTotal":932.97,"dueDate":"2026-05-09","fee1":0,"fireTax":0,"installmentFee":0,"insurerFee":0,"ipt":0,"levy":0,"mgaComm":256.57,"mgaNetComm":163.27,"natCat":0,"object":"Vehicle","objectType":"insuredItem","object_id":"vehicle-001","payer":"partner","policy_id":1001,"premium":932.97,"product":"comprehensive","stampFee":0,"surplus":0,"vat":0},{"adminFee":25,"binderBrokerComm":0,"brokerComm":0,"carrier":null,"carrierNet":0,"compFund":0,"compFundM":0,"customerTotal":25,"dueDate":"2026-05-09","fee1":0,"fireTax":0,"installmentFee":0,"insurerFee":0,"ipt":0,"levy":0,"mgaComm":0,"mgaNetComm":0,"natCat":0,"object":null,"objectType":null,"object_id":null,"payer":"partner","policy_id":1001,"premium":0,"product":null,"stampFee":0,"surplus":0,"vat":0}]},"key":"countryside-motor","summary":"Countryside Motor - GET calculation response (premium + admin fee, single vehicle)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1calculation/get/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor":{"value":{"binder":{"id":3},"broker":{"brokerDocEmailNb":null,"brokerDocEmailRenewal":null,"shortName":"Geo UW Broker"},"claims":[{"accidentDescription":"Minor parking incident, no third party","claimType":"Accidental Damage only","cost":1500,"dateOfLoss":"2024-03-12","driver":"Unknown","fault":"No","recovery":"No","status":"Closed","vehicleInvolved":"Trailer"}],"claimsDeclarations":{"motorAccidentsClaimsLastThreeYearsNotDeclared":"No"},"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"Sample City","country":"England","county":"Sample County","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"Yes","convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2025-03-09","disq":"No","fine":100,"points":3}],"dateOfBirth":"1990-03-22","excludeFromVehicles":"No","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Ms"}],"endorsements":[{"editable":false,"group":"Standard","groupName":"Standard Conditions","id":"ENDO-0001","lang":"en","name":"Standard Endorsement","removable":true,"text":"This is a sample endorsement clause for documentation purposes.","type":"standard"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-15","expiringPremium":1200,"fleetDiscount":"Fleet Rated","holdingBroker":"Yes","renewalInvite":1250,"targetPremium":1100},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":null,"autonomousDriving":"No","bodyType":"Mower","category":"Trailer/Implement","certType":"Registration Number","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","maximumConvictionScore":0,"model":"Model","modified":"No","name":"Vehicle","rateRecord":[{"baseRate":0}],"roadUse":"Yes","seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","value":3500,"vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"include":true,"onCover":false,"products":{"accidentalDamageFireTheft":{"include":false,"onCover":false},"breakdownCover":{"include":false,"onCover":false},"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500},"financials":{"insurers":[{"insurer":"Miramar","isLead":false}],"premium":0,"premiumIptPcs":0},"include":true,"onCover":false},"fireTheft":{"include":false,"onCover":false},"legalExpences":{"include":false,"onCover":false},"roadTrafficActOnly":{"include":false,"onCover":false},"thirdPartyFireTheft":{"include":false,"onCover":false},"thirdPartyOnly":{"include":false,"onCover":false}}}]},"occupations":{"acceptability":"Acceptable","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","yearsBusinessEstablished":3,"yearsOfExperience":3}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other","tradeLoad":0,"turnover":100000},"policy":{"createdBy":"api-test","currency":"GBP","dateExpiry":"2027-04-22T00:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","dateInceptionOriginal":null,"dateIssue":"2026-04-22T00:00:00Z","financials":{"adminFeeSum":0},"legacyPolicyNo":null,"params":{"productTag":"Countryside Motor"},"parentId":null,"policyNo":"POL-0001","scheme":"Standard"},"policyLimits":{"guidanceEquipment":1000,"lossOfKeys":500,"medicalExpenses":"Yes","medicalExpensesLimit":250,"personalAccident":"Yes","personalAccidentLimit":5000,"personalAccidentPeriodLimit":10000,"personalBelongings":"Yes","personalBelongingsLimit":250},"referralComments":[{"text":"Sample referral comment for documentation.","time":"2026-05-03T10:00:00Z","user":"api-test"}],"relatedClaims":"","relatedPolicies":"","riskSummary":{"avgSumInsured":0,"lastYearsRates":0,"privateVehicleCount":0,"privateVehiclePremium":0,"ragStatus":"Green","rateCarry":0,"rateStrength":0,"thisYearsRates":0,"uwInfo":""},"schedules":{"dueDay":"15","firstPayment":{"dueDate":"2026-05-31","sharePct":null},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"situationOfrisk":[{"acceptable":null,"city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","street":"1 Example Court, Sample Road","zip":"IM1 1AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"","underwriter":{"name":"api-test"}},"schema":{"name":"countryside-motor","type":"policy","version":42},"vehicleDeclarations":{"confirm":"Yes","countOfClaims":1,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - full payload (all sections populated)","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{policyId}~1bind/post/requestBody/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample":{"value":[],"key":"PostBindQuoteExample","summary":"The request structure is specific per product","id":"paths/~1api~1v1~1ledger~1sales~1policies~1{id}~1issue/post/requestBody/content/application~1json/examples/PostBindQuoteExample"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor":{"value":{"data":{"additionalData":{"endorsementGroups":[]},"binder":{"contractDetails":{"endDate":"2099-11-01","product":"countryside-motor","startDate":"2000-11-01","status":"active"},"id":3,"limitations":[],"schema":{"name":"binder","type":"binder","version":1},"shares":[{"id":"share-001","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Trinity Lane Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"breakdownCover"},{"id":"share-002","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"comprehensive"},{"id":"share-003","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyFireTheft"},{"id":"share-004","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"thirdPartyOnly"},{"id":"share-005","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"accidentalDamageFireTheft"},{"id":"share-006","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"fireTheft"},{"id":"share-007","insurers":[{"allowCommSacrifice":false,"grossCommPct":27.5,"insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"roadTrafficActOnly"},{"id":"share-008","insurers":[{"allowCommSacrifice":false,"grossCommPct":30,"insurer":"Allianz Insurance","isLead":true,"premiumSharePct":100}],"objectType":"insuredItem","risk":"legalExpences"}],"summary":{"description":"Countryside Motor Binder","name":"Countryside Motor Binder","umr":"Countryside Motor Binder"}},"bound":true,"broker":{"commission":{"commDate":"2026-04-30","commPctDefault":{"commissionSacrificeNegative":10,"commissionSacrificePositive":10,"commissionType":"%","effectivePeriodStartDate":"2000-11-01","newSalesCommission":10,"product":"countryside-motor","renewalCommission":10}},"name":"Geo UW Broker","shortName":"Geo UW Broker"},"claims":[],"customer":{"additionalCustomers":[],"corAddress":{"city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","street":"1 Example Street","zip":"AB10 1AA"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"docRequired":"No","id":1014,"legalExpensesRequired":"No","name":"Acme Holdings","onlyCorAddress":"No","typeOfLegalEntity":"Other"},"documents":{"documents":[{"documentCategory":"policyIssue","documentType":"policy","file":{"createdAt":"2026-04-16","documentId":1000,"filename":"Policy_Acme Holdings_CSM00000003.pdf","mime":"application/pdf"},"fileUpload":false}]},"drivers":[{"age":53,"conviction":"Yes","convictionScore":4,"convictions":[{"convictionCodePrefix":"DR80 - Driving or attempting to drive when unfit through drugs","convictionDate":"2026-02-11","disq":"No","fine":432,"id":"conviction-001","points":4}],"dateOfBirth":"1970-04-15","excludeFromVehicles":"No","id":"driver-001","licenceRevoked":"No","licenceType":"Full","name":"Maria","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Garcia","title":"Ms"},{"age":48,"conviction":"Yes","convictionScore":2,"convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2026-03-09","disq":"No","fine":39,"id":"conviction-002","points":1},{"convictionCodePrefix":"TS30 - Failing to comply with a 'Stop' sign","convictionDate":"2026-03-12","disq":"No","fine":323,"id":"conviction-003","points":1}],"dateOfBirth":"1975-08-10","excludeFromVehicles":"No","id":"driver-002","licenceRevoked":"No","licenceType":"Full","name":"David","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Other","surname":"Wilson","title":"Mrs"},{"age":18,"conviction":"No","convictionScore":10,"dateOfBirth":"2007-05-03","dateTestPassed":"2026-04-01","excludeFromVehicles":"No","id":"driver-003","licenceRevoked":"No","licenceType":"Full","name":"Tom","numberOfYearsLicenceHeld":"Less than 2 years","relationship":"Proposer","surname":"Brown","title":"Mr"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace","Advent","Ageas","Alpha","Antares"],"deadlineDate":"2026-09-30","expiringPremium":700,"fleetDiscount":"Don't Know","holdingBroker":"Yes","renewalInvite":400,"targetPremium":800},"isPaid":true,"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"abiCode":432,"acceptable":"Amber","autonomousDriving":"No","bodyType":"Cabriolet","category":"Private Car","certType":"Registration Number","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","coverageOption":"Comprehensive","district":"Aberdeen City","drivers":[{"age":53,"conviction":"Yes","convictionScore":4,"convictions":[{"convictionCodePrefix":"DR80 - Driving or attempting to drive when unfit through drugs","convictionDate":"2026-02-11","disq":"No","fine":432,"id":"conviction-001","points":4},{"convictionCodePrefix":"BA40 - Causing death by driving while disqualified","convictionDate":"2026-02-10","disq":"No","fine":34423,"id":"conviction-004","points":3}],"dateOfBirth":"1970-04-15","doc":"No","driverDropdown":"Maria - Garcia","excludeFromVehicles":"No","id":"driver-line-001","licenceRevoked":"No","licenceType":"Full","name":"Maria","numberOfYearsLicenceHeld":"Over 2 years","otherOccupations":"No","relationship":"Proposer","surname":"Garcia","title":"Ms"},{"age":18,"conviction":"No","convictionScore":10,"dateOfBirth":"2007-05-03","dateTestPassed":"2026-04-01","doc":"No","driverDropdown":"Tom - Brown","excludeFromVehicles":"No","id":"driver-line-003","licenceRevoked":"No","licenceType":"Full","name":"Tom","numberOfYearsLicenceHeld":"Less than 2 years","otherOccupations":"No","relationship":"Proposer","surname":"Brown","title":"Mr"}],"drivingRestriction":"Named Drivers","excessOverride":543,"fuel":"Hybrid","introYears":0,"isMainDriver":"No","keeper":"Policyholder","legalOwner":"Policyholder","make":"make","maximumConvictionScore":4,"model":"modek","modified":"No","name":"Vehicle","noClaimsDiscountProof":"No","noClaimsYears":0,"originalCalculationDate":"2026-04-16","rateRecord":[{"additionalUse":1,"area":1.026,"baseRate":1363.41,"bodyType":1,"claimFrequency":1,"convictionScore":1.3,"drivingRestriction":0.85,"excess":0.96,"finalPrem":14814.43,"group":1.4999999999999991,"id":"rate-001","inflation":1.2422,"mainUserAge":1.4,"min":225,"ncd":1,"occupation":1,"protectedNcd":1.1,"ruralUrbanClassification":1.025,"security":1,"techPrem":14814.43,"trailerLimit":1,"vehicleAge":0.91,"vehicleUse":1,"vehicleValue":1,"ydOutlier":1,"youngDriver":3.73}],"regNo":"Reg_3","roadUse":"Yes","seats":5,"securityDevice":"No Additional Security","situationOfRisk":"AB10 1AA - Attic Left, 1 Example Street","street":"Attic Left, 1 Example Street","trim":"2343","use":"Class 2 Use","value":2343,"vehicleTypeApproval":"123","voluntaryExcess":100,"yearOfMake":2020,"youngestDriver":{"age":18,"convictionScore":10,"vehiclesUsed":1},"zip":"AB10 1AA"},"id":"vehicle-001","include":true,"onCover":true,"products":{"comprehensive":{"data":{"name":"Comprehensive"},"financials":{"insurers":[{"allowCommSacrifice":false,"commPct":10,"grossCommPct":27.5,"id":"insurer-line-001","insurer":"Zurich Insurance","isLead":true,"premiumSharePct":100}],"premium":18.27,"premiumIptPcs":12},"include":true,"onCover":true}}}]},"occupations":{"acceptability":"green","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","id":"decl-001","yearsBusinessEstablished":3,"yearsOfExperience":2}],"mainOccupationPolicyholder":"Equestrian Centres","tradeCategory":"Agriculture, fishing and forestry","tradeLoad":20,"turnover":300},"policy":{"authorUser":{"email":"alex.admin@example.com","name":"Alex Admin","sub":"00000000-0000-0000-0000-000000000000"},"automaticRenewal":"no","createdBy":"Alex Admin","currency":"GBP","dateExpiry":"2026-05-17T21:59:00+01:00","dateInception":"2026-05-11T00:00:00+01:00","dateIssue":"2026-04-30","dateQuoteValidUntil":"2026-05-30","financials":{"adminFeeSum":10},"id":1003,"mtaType":"Permanent MTA / MTA Quotation (Perm)","originalCalculationDate":"2026-04-16","params":{"productTag":"Countryside Motor"},"parentId":1099,"policyNo":"CSM00000003","quoteBoundByUserId":0,"scheme":"Standard"},"policyLimits":{"accummulationLimit":5000000,"europeanTravelDays":90,"guidanceEquipment":1000,"lossOfKeys":1000,"medicalExpensesLimit":250,"personalAccidentLimit":5000,"personalAccidentPeriodLimit":5000,"personalBelongingsLimit":500},"quote":{"id":999},"schedules":{"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"schema":{"name":"countryside-motor","type":"policy","version":22},"situationOfrisk":[{"acceptable":"Amber","city":"Aberdeen","country":"Scotland","county":"Aberdeenshire","district":"Aberdeen City","id":"sor-001","street":"Attic Left, 1 Example Street","zip":"AB10 1AA"},{"acceptable":"Red","city":"London","country":"England","county":"London","district":"Hammersmith and Fulham","id":"sor-002","street":"Flat 1, Example Apartments, Sample Road","zip":"W6 0YA"},{"acceptable":"Green","city":"Penzance","country":"England","county":"Cornwall","district":"Cornwall","id":"sor-003","street":"1 Example Lane","zip":"TR19 7AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"id":"trailer-decl-001","passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"Dummy Value","underwriter":{"name":""}},"vehicleDeclarations":{"countOfClaims":0,"countOfCMVandPMVVehicles":1,"countOfTrailers":0,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"meta":{"schemaPath":"policy/policy-view/countryside-motor/22","status":"policy_issued","version":1}},"key":"countryside-motor","summary":"Countryside Motor - GET issued policy (MTA, status policy_issued)","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1links/get/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example":{"value":{"policy":{"terminationType":"pro-rata","terminationDate":"2023-05-05","terminationSum":15,"shortRatePct":1}},"id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate~1premiums/post/requestBody/content/application~1json/example"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination":{"value":{"policy":{"terminationType":"full-rollback","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"full-rollback-termination","summary":"Termination with type full-rollback","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/full-rollback-termination"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination":{"value":{"policy":{"terminationType":"manual","terminationDate":"2022-02-15","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"manual-termination","summary":"Termination with type manual","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/manual-termination"},"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination":{"value":{"policy":{"terminationType":"pro-rata","terminationDate":"2022-02-15","terminationReason":"Optional reason"},"financials":{"adminFeeSum":0}},"key":"pro-rata-termination","summary":"Termination with type pro-rata","id":"paths/~1api~1v1~1ledger~1policies~1{policyId}~1terminate/post/requestBody/content/application~1json/examples/pro-rata-termination"},"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor":{"value":{"data":{"header":"Installments","type":"installments","columns":[{"id":"version","title":"#"},{"id":"dueDate","title":"Due date"},{"id":"invoiceNo","title":"Invoice No"},{"id":"object","title":"Object"},{"id":"product","title":"Product"},{"id":"payer","title":"Payer"},{"id":"carrier","title":"Carrier"},{"id":"premium","title":"Premium"},{"id":"adminFee","title":"Admin fee"},{"id":"customerTotal","title":"Customer Total"},{"id":"ipt","title":"IPT"},{"id":"carrierNet","title":"Carrier Net"},{"id":"mgaComm","title":"MGA Commission"},{"id":"brokerComm","title":"Broker Commission"},{"id":"status","title":"Status"}],"groupBy":[],"rows":[{"accessoriesFee":0,"adminFee":0,"binderBrokerComm":0,"brokerComm":363.01,"carrier":"Zurich Insurance","carrierNet":2631.81,"compFund":0,"compFundM":0,"customerTotal":4065.69,"dueDate":"2026-04-29","fee1":0,"fireTax":0,"frontingBrokerComm":0,"frontingCompanyComm":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"installmentFee":0,"insurerFee":0,"invoiceDocumentId":null,"invoiceNo":"INV-100000001","ipt":435.61,"levy":0,"mgaComm":998.27,"mgaNetComm":635.26,"natCat":0,"nonResident":0,"object":"Vehicle","object_id":"vehicle-001","objectType":"insuredItem","overdueTotal":4065.69,"payer":"partner","policy_id":1005,"premium":3630.08,"product":"comprehensive","stampFee":0,"status":"not paid","surplus":0,"totalPayments":0,"vat":0,"vatOnPremium":0,"withholding":0},{"accessoriesFee":0,"adminFee":50,"binderBrokerComm":0,"brokerComm":0,"carrier":null,"carrierNet":0,"compFund":0,"compFundM":0,"customerTotal":50,"dueDate":"2026-04-29","fee1":0,"fireTax":0,"frontingBrokerComm":0,"frontingCompanyComm":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"installmentFee":0,"insurerFee":0,"invoiceDocumentId":null,"invoiceNo":"INV-100000001","ipt":0,"levy":0,"mgaComm":0,"mgaNetComm":0,"natCat":0,"nonResident":0,"object":null,"object_id":null,"objectType":null,"overdueTotal":50,"payer":"partner","policy_id":1005,"premium":0,"product":null,"stampFee":0,"status":"not paid","surplus":0,"totalPayments":0,"vat":0,"vatOnPremium":0,"withholding":0}],"totals":[{"accessoriesFee":0,"adminFee":50,"binderBrokerComm":0,"brokerComm":363.01,"carrierNet":2631.81,"compFund":0,"compFundM":0,"customerTotal":4115.69,"fee1":0,"fireTax":0,"frontingBrokerComm":0,"frontingCompanyComm":0,"gstOnBrokerCommission":0,"gstOnGrossCommission":0,"gstOnPremium":0,"installmentFee":0,"insurerFee":0,"ipt":435.61,"levy":0,"mgaComm":998.27,"mgaNetComm":635.26,"natCat":0,"nonResident":0,"overdueTotal":4115.69,"premium":3630.08,"stampFee":0,"surplus":0,"totalPayments":0,"vat":0,"vatOnPremium":0,"withholding":0}]}},"key":"countryside-motor","summary":"Countryside Motor - GET installments (one comprehensive line + admin fee, both 'not paid')","id":"paths/~1api~1v1~1ledger~1customers~1policies~1{policyId}~1custom-view~1installments/get/responses/200/content/application~1json/examples/countryside-motor"},"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor":{"value":{"binder":{"id":3},"broker":{"brokerDocEmailNb":null,"brokerDocEmailRenewal":null,"shortName":"Geo UW Broker"},"claims":[{"accidentDescription":"Minor parking incident, no third party","claimType":"Accidental Damage only","cost":1500,"dateOfLoss":"2024-03-12","driver":"Unknown","fault":"No","recovery":"No","status":"Closed","vehicleInvolved":"Trailer"}],"claimsDeclarations":{"motorAccidentsClaimsLastThreeYearsNotDeclared":"No"},"customer":{"additionalCustomers":[],"age":41,"corAddress":{"city":"Sample City","country":"England","county":"Sample County","street":"1 Example Street","zip":"EX1 1AB"},"customerType":"Company","declarations":[{"airport":"Agree","bankrupt":"Agree","businessOutsideUk":"Agree","carriageOfPassengers":"Agree","carryGoods":"Agree","connectionWithTtrade":"Agree","courtJudgement":"Agree","criminalConvictions":"Agree","disqualifiedDirector":"Agree","drivingProsecutions":"Agree","liveOutsideUk":"Agree","ministryOfDefence":"Agree","powerStations":"Agree","proposalDeclined":"Agree","prosecuted":"Agree","railwayZones":"Agree","refineries":"Agree"}],"dob":"1985-01-15","docRequired":"No","legalExpensesRequired":"No","name":"John","onlyCorAddress":"No","surname":"Doe","title":"Mr","tradingName":"Example Trading Co","typeOfLegalEntity":"Individual/ Sole Trader"},"documents":{"documents":[]},"drivers":[{"age":36,"conviction":"Yes","convictions":[{"convictionCodePrefix":"TS70 - Undefined failure to comply with a traffic direction sign","convictionDate":"2025-03-09","disq":"No","fine":100,"points":3}],"dateOfBirth":"1990-03-22","excludeFromVehicles":"No","licenceRevoked":"No","licenceType":"Full","name":"Jane","numberOfYearsLicenceHeld":"Over 2 years","relationship":"Proposer","surname":"Smith","title":"Ms"}],"endorsements":[{"editable":false,"group":"Standard","groupName":"Standard Conditions","id":"ENDO-0001","lang":"en","name":"Standard Endorsement","removable":true,"text":"This is a sample endorsement clause for documentation purposes.","type":"standard"}],"existingInsuranceDetails":{"currentInsurer":["Abbey Protection Ace"],"deadlineDate":"2026-04-15","expiringPremium":1200,"fleetDiscount":"Fleet Rated","holdingBroker":"Yes","renewalInvite":1250,"targetPremium":1100},"multiPolicyDiscount":{"farmCombinedPolicy":"No"},"objects":{"insuredItem":[{"data":{"acceptable":null,"autonomousDriving":"No","bodyType":"Mower","category":"Trailer/Implement","certType":"Registration Number","city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","coverageOption":"Comprehensive","drivers":[],"keeper":"Policyholder","legalOwner":"Policyholder","make":"Make","maximumConvictionScore":0,"model":"Model","modified":"No","name":"Vehicle","rateRecord":[{"baseRate":0}],"roadUse":"Yes","seats":1,"securityDevice":"No Additional Security","situationOfRisk":"IM1 1AB - 1 Example Court, Sample Road","street":"1 Example Court, Sample Road","value":3500,"vinNoTrailer":"1HGCM82633A000000","voluntaryExcess":0,"zip":"IM1 1AB"},"include":true,"onCover":false,"products":{"accidentalDamageFireTheft":{"include":false,"onCover":false},"breakdownCover":{"include":false,"onCover":false},"comprehensive":{"data":{"manualPremiumOverride":850,"minimumPremiumOverride":500},"financials":{"insurers":[{"insurer":"Miramar","isLead":false}],"premium":0,"premiumIptPcs":0},"include":true,"onCover":false},"fireTheft":{"include":false,"onCover":false},"legalExpences":{"include":false,"onCover":false},"roadTrafficActOnly":{"include":false,"onCover":false},"thirdPartyFireTheft":{"include":false,"onCover":false},"thirdPartyOnly":{"include":false,"onCover":false}}}]},"occupations":{"acceptability":"Acceptable","additionalOccpations":[],"declarations":[{"businessOffers24HourCallout":"No","yearsBusinessEstablished":3,"yearsOfExperience":3}],"mainOccupationPolicyholder":"Agricultural Contracting","tradeCategory":"Contracting risks - other","tradeLoad":0,"turnover":100000},"policy":{"createdBy":"api-test","currency":"GBP","dateExpiry":"2027-04-22T00:00:00Z","dateInception":"2026-04-22T00:00:00+01:00","dateInceptionOriginal":null,"dateIssue":"2026-04-22T00:00:00Z","financials":{"adminFeeSum":0},"legacyPolicyNo":null,"params":{"productTag":"Countryside Motor"},"parentId":null,"policyNo":"POL-0001","scheme":"Standard"},"policyLimits":{"guidanceEquipment":1000,"lossOfKeys":500,"medicalExpenses":"Yes","medicalExpensesLimit":250,"personalAccident":"Yes","personalAccidentLimit":5000,"personalAccidentPeriodLimit":10000,"personalBelongings":"Yes","personalBelongingsLimit":250},"referralComments":[{"text":"Sample referral comment for documentation.","time":"2026-05-03T10:00:00Z","user":"api-test"}],"relatedClaims":"","relatedPolicies":"","riskSummary":{"avgSumInsured":0,"lastYearsRates":0,"privateVehicleCount":0,"privateVehiclePremium":0,"ragStatus":"Green","rateCarry":0,"rateStrength":0,"thisYearsRates":0,"uwInfo":""},"schedules":{"dueDay":"15","firstPayment":{"dueDate":"2026-05-31","sharePct":null},"payMonthFrequency":12,"payer":"partner","paymentTerm":14},"situationOfrisk":[{"acceptable":null,"city":"Isle of Man","country":"Isle of Man","county":"Isle of Man","street":"1 Example Court, Sample Road","zip":"IM1 1AB"}],"trailerCover":{"coverRequired":"0","declarations":[{"passengerCarryingCover":"No","trailerValuedAboveLimitSelected":"No"}]},"underwriteNotes":[],"underwritingControl":{"capacityReferralRequired":"No","dummyValue":"","underwriter":{"name":"api-test"}},"schema":{"name":"countryside-motor","type":"policy","version":42},"vehicleDeclarations":{"confirm":"Yes","countOfClaims":1,"countOfCMVandPMVVehicles":0,"countOfTrailers":1,"countOfVehicles":1,"deliveryOfOwnGoods":"Agree","leftHandDriveVehiclesNotOnSchedule":"Agree","vehiclesWithTenOrMoreSeats":"Agree"}},"key":"countryside-motor","summary":"Countryside Motor - full payload (all sections populated)","id":"paths/~1api~1v1~1ledger~1policies~1{id}~1data-change/put/responses/200/content/application~1json/examples/countryside-motor"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Login with email and password to get the authentication token","in":"header","paramName":"Token based Auth"}},"servers":[{"url":"https://ledger.app.beta.insly.training","description":"Beta"},{"url":"https://ledger.app.demo.insly.com","description":"Demo"}],"specType":"openapi"},"options":{"schemasExpansionLevel":2,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/tenancy/geounderwriting/ledger-open-api/bundled.json?download"},{"url":"/_bundle/tenancy/geounderwriting/ledger-open-api/bundled.yaml?download"}],"excludeFromSearch":false,"rbac":{"TENANT-geounderwriting":"read","Writers":"write"},"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Ledger/Sales service","description":"<h3>Using Swagger documentation in Postman</h3><br>\nYou can find instructions on how to convert swagger documentation to Postman collection\n<a href='https://medium.com/c-sharp-progarmming/convert-swagger-documentation-to-postman-collection-d67fc95c7b14'>here</a>.<br>\nThere is a known problem in Postman with env variables being imported as parameters (<b>:schemaName</b>\ninstead of <b>{{schemaName}}</b>. More info on the issue can be found\n<a href='https://github.com/postmanlabs/postman-app-support/issues/4598'>here</a>.<br>\nPossible workaround is to find and replace all parameters with env variables inside Postman. For example search for\n:schemaName and replace with {{schemaName}}. Instructions how to do it in Postman are\n<a href='https://blog.postman.com/find-and-replace-text-code-and-variables-in-postman/'>here</a>.\n<hr/><h3>Authorization</h3>\nTo obtain a token, start by visiting the\n<a href='/apis/identifier/swagger/authentication/login'>identifier service documentation</a>\nand make a request with your username and password.<br>\nOnce you receive the response, copy the <code>access_token</code> and use it for making requests to ledger services."}},"baseSlug":"/tenancy/geounderwriting/ledger-open-api/bundled","routesMapping":{}}