{ "openapi": "3.0.1", "info": { "title": "Digital Cyber API", "description": "Digital Cyber API allows partners to create, edit, and bind Cyber quotes.", "version": "1.0" }, "servers": [ { "url": "https://gateway.amtrustgroup.com/digital-cyber" }, { "url": "https://prod-apim-gw.amtrustservices.com/digital-cyber" } ], "paths": { "/api/v1/agent-contacts": { "get": { "tags": [ "Agent Contacts" ], "summary": "Retrieve all agent contacts", "description": "Returns all agent contact IDs, names, and emails linked to the agency authenticated", "operationId": "get-api-v1-agent-contacts", "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "f341faa25c4b", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "abe5bea6bd89", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentContactDtoIEnumerableIApiResponse" }, "example": { "data": [ { "id": 1, "name": "Agent Name", "email": "agent@email.com" }, { "id": 2, "name": "Other Agent", "email": "other.agent@email.com" }, { "id": 3, "name": "Third Agent", "email": "third.agent@email.com" } ], "responseId": "bef6b92eb0ec", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/insured/clearance": { "post": { "tags": [ "Insured Clearance" ], "summary": "Retrieve insured clearance", "description": "

Returns availability of an insured to be quoted

Please note: Insured Name and Insured Address must be sent in

", "operationId": "post-api-v1-insured-clearance", "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostInsuredClearanceRequestDto" }, "example": { "name": "Insured Name", "address": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostInsuredClearanceRequestDto" }, "example": { "name": "Insured Name", "address": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostInsuredClearanceRequestDto" }, "example": { "name": "Insured Name", "address": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostInsuredClearanceRequestDto" }, "example": { "name": "Insured Name", "address": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "272e4b907253", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "274ed0253431", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "f5eb07e10bee", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostInsuredClearanceResponseDtoIApiResponse" }, "example": { "data": { "isAvailable": true, "message": "Insured is available for Cyber product" }, "responseId": "7f18db48a255", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/quotes": { "post": { "tags": [ "Quote" ], "summary": "Create a rated Quote", "operationId": "post-api-v1-quotes", "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostQuoteRequestDto" }, "example": { "agentContactId": 1, "naicsCode": "921110", "paymentPlanId": 13, "masterAccountId": 0, "digitalClientWorkflow": null, "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "effectiveDate": "2026-08-08", "expectedGrossAnnualRevenue": 150000, "policyLimits": "100000/2500", "insuredContact": { "name": "Insured Name", "phone": "202-555-0112", "email": "insured@email.com" }, "companyWebsite": null, "newMasterAccountId": false } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostQuoteRequestDto" }, "example": { "agentContactId": 1, "naicsCode": "921110", "paymentPlanId": 13, "masterAccountId": 0, "digitalClientWorkflow": null, "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "effectiveDate": "2026-08-08", "expectedGrossAnnualRevenue": 150000, "policyLimits": "100000/2500", "insuredContact": { "name": "Insured Name", "phone": "202-555-0112", "email": "insured@email.com" }, "companyWebsite": null, "newMasterAccountId": false } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostQuoteRequestDto" }, "example": { "agentContactId": 1, "naicsCode": "921110", "paymentPlanId": 13, "masterAccountId": 0, "digitalClientWorkflow": null, "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "effectiveDate": "2026-08-08", "expectedGrossAnnualRevenue": 150000, "policyLimits": "100000/2500", "insuredContact": { "name": "Insured Name", "phone": "202-555-0112", "email": "insured@email.com" }, "companyWebsite": null, "newMasterAccountId": false } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostQuoteRequestDto" }, "example": { "agentContactId": 1, "naicsCode": "921110", "paymentPlanId": 13, "masterAccountId": 0, "digitalClientWorkflow": null, "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "effectiveDate": "2026-08-08", "expectedGrossAnnualRevenue": 150000, "policyLimits": "100000/2500", "insuredContact": { "name": "Insured Name", "phone": "202-555-0112", "email": "insured@email.com" }, "companyWebsite": null, "newMasterAccountId": false } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "ad6060d3b5c9", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "f09bf48f6d9b", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "8699f49cb7db", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 123456, "masterAccountId": 24786342, "agentContact": { "id": 1, "name": "Agent Name", "email": "agent@email.com" }, "premium": 5000, "premiumDetails": { "finalPremium": 5000, "cityTax": null, "countyTax": null, "stateTax": null, "premiumOverrideAdjustment": null }, "eligibility": "Refer", "invoicingSchedule": [ { "amount": 3000, "description": "Annual Premium", "premiumAmount": 3000, "date": "2026-08-08", "premiumDueDate": "2026-09-07", "isDownPayment": true } ], "naicsCode": null, "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "effectiveDate": "2026-08-08", "expectedGrossAnnualRevenue": 150000, "policyLimits": "100000/2500", "insuredContact": { "name": "Insured Name", "phone": "202-555-0112", "email": "insured@email.com" }, "companyWebsite": "CompanyWebsite.com", "newMasterAccountId": false }, "responseId": "203617c80296", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "500": { "description": "Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "4ec1649ae663", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}": { "get": { "tags": [ "Quote" ], "summary": "Retrieve quote information", "operationId": "get-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "236ea282a72f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "cfab9b9bfc3f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "caaaef62a96d", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "78d5a29d39fa", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 123456, "masterAccountId": 24786342, "effectivedate": "2026-08-07", "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "agentContact": { "id": 1, "name": "Agent", "email": "agent@email.com" }, "insuredContact": { "name": "Contact", "firstName": "Contact", "lastName": "", "phoneNumber": "1234567890", "email": "insured@email.com" }, "expectedGrossRevenue": 1000, "policyLimits": "250,000.00/2,500.00", "premium": 5000, "premiumDetails": { "finalPremium": 5000, "cityTax": null, "countyTax": null, "stateTax": null, "premiumOverrideAdjustment": null }, "eligibility": "Refer", "quoteStatus": "Not Submitted", "companyWebsite": "www.companywebsite.com", "naicsCode": null }, "responseId": "8c91d810dcc1", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } }, "patch": { "tags": [ "Quote" ], "summary": "Update quote information", "operationId": "patch-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } }, "example": [ { "value": "800 Superior Ave", "path": "/mailingAddress/line1", "op": "replace" }, { "value": "Suit A", "path": "/mailingAddress/line2", "op": "replace" }, { "value": "Cleveland", "path": "/mailingAddress/city", "op": "replace" }, { "value": "Insured Name", "path": "/insuredContact/name", "op": "replace" } ] }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } }, "example": [ { "value": "800 Superior Ave", "path": "/mailingAddress/line1", "op": "replace" }, { "value": "Suit A", "path": "/mailingAddress/line2", "op": "replace" }, { "value": "Cleveland", "path": "/mailingAddress/city", "op": "replace" }, { "value": "Insured Name", "path": "/insuredContact/name", "op": "replace" } ] }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } }, "example": [ { "value": "800 Superior Ave", "path": "/mailingAddress/line1", "op": "replace" }, { "value": "Suit A", "path": "/mailingAddress/line2", "op": "replace" }, { "value": "Cleveland", "path": "/mailingAddress/city", "op": "replace" }, { "value": "Insured Name", "path": "/insuredContact/name", "op": "replace" } ] }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" } }, "example": [ { "value": "800 Superior Ave", "path": "/mailingAddress/line1", "op": "replace" }, { "value": "Suit A", "path": "/mailingAddress/line2", "op": "replace" }, { "value": "Cleveland", "path": "/mailingAddress/city", "op": "replace" }, { "value": "Insured Name", "path": "/insuredContact/name", "op": "replace" } ] } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "e802db88652f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "f6ae0d5273fe", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "7cc56b00e5ce", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 123456, "masterAccountId": 24786342, "effectivedate": "2026-08-07", "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "agentContact": { "id": 1, "name": "Agent", "email": "agent@email.com" }, "insuredContact": { "name": "Contact", "firstName": "Contact", "lastName": "", "phoneNumber": "1234567890", "email": "insured@email.com" }, "expectedGrossAnnualRevenue": 1000, "policyLimits": "250,000.00/2,500.00", "premium": 5000, "eligibility": "Refer", "companyWebsite": null, "quoteStatus": "Not Submitted", "digitalClientWorkflow": "DigitalClientWorkflow", "naicsCode": null }, "responseId": "f68afe2c3ef9", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "28972f9c5188", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } }, "put": { "tags": [ "Quote" ], "summary": "Update quote information", "operationId": "put-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/UpdateQuoteRequestDto" }, "example": { "businessName": "string", "effectiveDate": "string", "mailingAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "primaryAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "fein": "string", "agentContactId": 0, "insuredContact": { "name": "string", "phone": "string", "email": "string" }, "expectedGrossAnnualRevenue": 0, "policyLimits": "string", "companyWebsite": "string", "naicsCode": "string", "digitalClientWorkflow": "string" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UpdateQuoteRequestDto" }, "example": { "businessName": "string", "effectiveDate": "string", "mailingAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "primaryAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "fein": "string", "agentContactId": 0, "insuredContact": { "name": "string", "phone": "string", "email": "string" }, "expectedGrossAnnualRevenue": 0, "policyLimits": "string", "companyWebsite": "string", "naicsCode": "string", "digitalClientWorkflow": "string" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UpdateQuoteRequestDto" }, "example": { "businessName": "string", "effectiveDate": "string", "mailingAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "primaryAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "fein": "string", "agentContactId": 0, "insuredContact": { "name": "string", "phone": "string", "email": "string" }, "expectedGrossAnnualRevenue": 0, "policyLimits": "string", "companyWebsite": "string", "naicsCode": "string", "digitalClientWorkflow": "string" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UpdateQuoteRequestDto" }, "example": { "businessName": "string", "effectiveDate": "string", "mailingAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "primaryAddress": { "line1": "string", "line2": "string", "city": "string", "territory": "string", "postalCode": "string" }, "fein": "string", "agentContactId": 0, "insuredContact": { "name": "string", "phone": "string", "email": "string" }, "expectedGrossAnnualRevenue": 0, "policyLimits": "string", "companyWebsite": "string", "naicsCode": "string", "digitalClientWorkflow": "string" } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "7aa09fcb3091", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "d5a9bead3cb7", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "6de022f9d46f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 123456, "masterAccountId": 24786342, "effectivedate": "2026-08-07", "businessName": "Business Inc.", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite B", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "fein": "123456789", "agentContact": { "id": 1, "name": "Agent", "email": "agent@email.com" }, "insuredContact": { "name": "Contact", "firstName": "Contact", "lastName": "", "phoneNumber": "1234567890", "email": "insured@email.com" }, "expectedGrossAnnualRevenue": 1000, "policyLimits": "250,000.00/2,500.00", "premium": 5000, "eligibility": "Refer", "companyWebsite": null, "quoteStatus": "Not Submitted", "digitalClientWorkflow": "DigitalClientWorkflow", "naicsCode": null }, "responseId": "c2dabf2bf781", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "bff29ad80d04", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}/proposal": { "get": { "tags": [ "Quote" ], "summary": "Retrieve quote proposal PDF", "description": "This endpoint will return a byte representation of the Cyber quote proposal", "operationId": "get-api-v1-quotes-quoteid-proposal", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "eb7602b168b5", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "73edf70fd459", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "fc2fcb202387", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "string", "format": "byte" }, "example": "string" } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "6b3cb7f93264", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/reference-resources/limits-retention": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve available policy limits and retention", "operationId": "get-api-v1-reference-resources-limits-retention", "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "9281b14fa57c", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StringIEnumerableIApiResponse" }, "example": { "data": [ "First value", "Second value", "Third value" ], "responseId": "16d3c4ae95b2", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/reference-resources/class-codes": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve class code information", "description": "

This endpoint will return all class codes, descriptions, and NAICS that are applicable in the state passed, under the Cyber product. Effective date is optional. If no date is passed, response will default to return today's results

Please note: Cyber Create Quote endpoint requires NAICS code sent, in place of class code

", "operationId": "get-api-v1-reference-resources-class-codes-state-state", "parameters": [ { "name": "state", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "effectiveDate", "in": "query", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "b4597c6e913d", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetClassCodesResponseDtoIEnumerableIApiResponse" } } } } } } }, "/api/v1/quotes/{quoteId}/payment-plans": { "get": { "tags": [ "Quote" ], "summary": "Retrieve available payment plans", "description": "Retrieve all payment plans available to quote, separated by billing type", "operationId": "get-api-v1-quotes-quoteid-payment-plans", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "609a6b101011", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "6d93f514a407", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "c66cfcd6fddd", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "c129a218db0e", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetPaymentPlanResponseDtoIApiResponse" }, "example": { "data": { "direct": [ { "id": 1, "downpaymentPercent": 100, "numberOfPayments": 0, "description": "Pay In Full", "downpaymentDueDateDays": 15, "invoiceDueDateDays": 0, "paymentFrequency": null, "billingType": null, "invoiceSchedule": [ { "amount": 100, "description": "Downpayment", "date": "2026-08-07T11:04:11.0000000+00:00", "downpayment": true, "premAmount": 100, "premDueDate": "2026-09-07T11:04:11.0000000+00:00" } ] } ], "agency": [ { "id": 1, "downpaymentPercent": 100, "numberOfPayments": 0, "description": "Pay In Full", "downpaymentDueDateDays": 15, "invoiceDueDateDays": 0, "paymentFrequency": null, "billingType": null, "invoiceSchedule": [ { "amount": 100, "description": "Downpayment", "date": "2026-08-07T11:04:11.0000000+00:00", "downpayment": true, "premAmount": 100, "premDueDate": "2026-09-07T11:04:11.0000000+00:00" } ] } ] }, "responseId": "7601059d4821", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } }, "post": { "tags": [ "Quote" ], "summary": "Save payment plan", "description": "This endpoint allows user to save the selected payment plan to an existing quote", "operationId": "post-api-v1-quotes-quoteid-payment-plans", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/UpdatePaymentPlanDto" }, "example": { "id": 13 } }, "application/json": { "schema": { "$ref": "#/components/schemas/UpdatePaymentPlanDto" }, "example": { "id": 13 } }, "text/json": { "schema": { "$ref": "#/components/schemas/UpdatePaymentPlanDto" }, "example": { "id": 13 } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UpdatePaymentPlanDto" }, "example": { "id": 13 } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "d2d82dba081d", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "6b45baed4769", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "e389b6d7f9ec", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "206c1c047d54", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StringIApiResponse" }, "example": { "data": "String", "responseId": "a6f72d095728", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}/terrorism-statement": { "post": { "tags": [ "Quote" ], "summary": "Save Terrorism Coverage Acknowledgement", "description": "This endpoint is meant to be used in conjunction with the (GET) Terrorism Coverage Statement endpoint. Insureds will need to acknowledge that they have read the statement before binding. This acknowledgement is only required for quotes with OH exposure.", "operationId": "post-api-v1-quotes-quoteid-terrorism-statement", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostTerrorismCoverageDto" }, "example": { "isAcknowledged": "string" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostTerrorismCoverageDto" }, "example": { "isAcknowledged": "string" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostTerrorismCoverageDto" }, "example": { "isAcknowledged": "string" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostTerrorismCoverageDto" }, "example": { "isAcknowledged": "string" } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "7c3e91454831", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "272d66a9c08f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "21b96bec6d7b", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "7e2330dcba49", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostTerrorismCoverageDtoIApiResponse" }, "examples": { "Success Example": { "value": { "data": { "isAcknowledged": "True" }, "responseId": "6fac003fe953", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "detail": "Acknowledgement saved successfully!", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } }, "Non-Success Example": { "value": { "data": { "isAcknowledged": "False" }, "responseId": "1d7e7f5f7643", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "detail": "Disclosure must be acknowledged before quote can be bound.", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } } } }, "/api/v1/reference-resources/terrorism-statement": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve Terrorism Coverage Acknowledgement Statement", "description": "This endpoint is meant to be used in conjunction with the (POST) Terrorism Acknowledgement endpoint. Insureds will need to acknowledge that they have read the statement before binding. This is only required in the state of Ohio.", "operationId": "get-api-v1-reference-resources-terrorism-statement", "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "ee0acce66469", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StringIApiResponse" }, "example": { "data": "String", "responseId": "e2f6433a0741", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/policies/{policyNum}/document": { "get": { "tags": [ "Policy" ], "summary": "Retrieve policy document", "description": "This endpoint will return the policy document PDF in raw byte format", "operationId": "get-api-v1-policies-policynum-document", "parameters": [ { "name": "policyNum", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "b97356c87c50", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "23f6f1866cbd", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "901eb27b07fb", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "string", "format": "byte" }, "example": "string" } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "e86731776366", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/policies/{policy}/PaymentPlans/DirectDebit": { "post": { "tags": [ "Payment Plans" ], "summary": "Save Direct Debit Information", "description": "Allows user to save their bank account information for direct debit payments", "operationId": "post-api-v1-policies-policy-paymentplans-directdebit", "parameters": [ { "name": "policy", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitRequest" }, "example": { "nameOnAccount": "Business Bank Account", "routingNumber": "011111037", "accountNumber": "123453211111", "email": "business@email.com", "accountType": "1" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitRequest" }, "example": { "nameOnAccount": "Business Bank Account", "routingNumber": "011111037", "accountNumber": "123453211111", "email": "business@email.com", "accountType": "1" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitRequest" }, "example": { "nameOnAccount": "Business Bank Account", "routingNumber": "011111037", "accountNumber": "123453211111", "email": "business@email.com", "accountType": "1" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitRequest" }, "example": { "nameOnAccount": "Business Bank Account", "routingNumber": "011111037", "accountNumber": "123453211111", "email": "business@email.com", "accountType": "1" } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "464fc4fe9dd5", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "c4333d970215", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "f2bd3e6f1816", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitResponseIApiResponse" }, "example": { "data": { "nameOnAccount": "Business Bank Account", "accountNumber": "123453211111", "routingNumber": "011111037", "email": "business@email.com", "accountType": 1, "bankName": "Bank name" }, "responseId": "9fb19da1d83b", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/policies/{policy}/PaymentPlans/DirectDebit/Documents": { "post": { "tags": [ "Payment Plans" ], "summary": "Upload Direct Debit Documents", "description": "Allows user to upload the EFT form and/or the voided check necessary to use direct debit as a payment plan", "operationId": "post-api-v1-policies-policy-paymentplans-directdebit-documents", "parameters": [ { "name": "policy", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitDocRequest" }, "example": { "displayName": "Name of document", "windowsFileType": "file type", "fileData": null } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitDocRequest" }, "example": { "displayName": "Name of document", "windowsFileType": "file type", "fileData": null } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitDocRequest" }, "example": { "displayName": "Name of document", "windowsFileType": "file type", "fileData": null } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitDocRequest" }, "example": { "displayName": "Name of document", "windowsFileType": "file type", "fileData": null } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "0f116902a2f8", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "cfcc16e55bd3", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "e4b174aff42d", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostDirectDebitDocResponseIApiResponse" }, "example": { "data": { "libraryId": 123456 }, "responseId": "f72cc4755c47", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://online-uat.amtrustservices.com/ANANexus/AccountManagement/24786342", "isOk": true }, { "httpStatusCode": 200, "detail": "Documentation Saved", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/terms-of-agreement": { "get": { "tags": [ "Terms of Agreement" ], "summary": "Retrieve Terms of Agreement Statement", "description": "This endpoint is meant to be used in conjunction with the (POST) Terms of Agreement endpoint. Insureds will need to acknowledge that they have read the statement before entering the Direct Debit information.", "operationId": "get-api-v1-terms-of-agreement", "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "f4dcadf75737", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "f1f66977e6af", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "0b7fd5ff9c15", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StringIApiResponse" }, "example": { "data": "String", "responseId": "b52834d5d5c5", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}/terms-of-agreement": { "post": { "tags": [ "Terms of Agreement" ], "summary": "Save Terms of Agreement Acknowledgement", "description": "This endpoint is meant to be used in conjunction with the (GET) Terms of Agreement endpoint. Insureds will need to acknowledge that they have read the statement before entering the Direct Debit information.", "operationId": "post-api-v1-quotes-quoteid-terms-of-agreement", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/TermsOfAgreementDto" }, "example": { "isAcknowledged": "string" } }, "application/json": { "schema": { "$ref": "#/components/schemas/TermsOfAgreementDto" }, "example": { "isAcknowledged": "string" } }, "text/json": { "schema": { "$ref": "#/components/schemas/TermsOfAgreementDto" }, "example": { "isAcknowledged": "string" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/TermsOfAgreementDto" }, "example": { "isAcknowledged": "string" } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "7a2275f0b7b3", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "860fc9bc33cd", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "63f69576ac17", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StringIApiResponse" }, "example": { "data": "String", "responseId": "85fa7bb36d66", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v2/quotes/{quoteId}/bind": { "post": { "tags": [ "Quote" ], "summary": "Bind quote to policy.", "description": "This endpoint will bind a BindEligible or Underwriter Approved Cyber quote to a policy", "operationId": "post-api-v2-quotes-quoteid-bind", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "67f367aabf6d", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "5b41bd179dcd", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "8d33ca753d58", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "2741c50b1f7f", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostBindQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 1, "policyNumber": "CYBER21", "policyId": 123, "masterAccountId": 12, "effectiveDate": "2026-08-07", "premium": 5000 }, "responseId": "7cc0561e889c", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 201, "isOk": true, "_v": "AD" } } } } } } }, "/api/v2/quotes/{quoteId}/underwriter-submission": { "post": { "tags": [ "Underwriting" ], "summary": "Submit quote to underwriter", "description": "

This endpoint allows user to submit their referred quote to an underwriter for review. \r\n Please note:\r\n

", "operationId": "post-api-v2-quotes-quoteid-underwriter-submission", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/SubmitQuoteRequestDto" }, "example": { "agentNeedByDate": "2022-09-08", "noteToUnderwriter": "Hello World" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SubmitQuoteRequestDto" }, "example": { "agentNeedByDate": "2022-09-08", "noteToUnderwriter": "Hello World" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SubmitQuoteRequestDto" }, "example": { "agentNeedByDate": "2022-09-08", "noteToUnderwriter": "Hello World" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/SubmitQuoteRequestDto" }, "example": { "agentNeedByDate": "2022-09-08", "noteToUnderwriter": "Hello World" } } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "cc89ae2a170a", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "c0662be8752d", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "bfa3e9888248", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubmitQuoteResponseDtoIApiResponse" }, "example": { "businessName": "John Doe", "masterAccountId": 982022, "submitedDate": "0001-01-01", "quoteInformation": { "quoteId": 8562098, "effectiveDate": "2026-08-07", "product": "Cyber", "premium": 100.05 } } } } } } } }, "/api/v2/quotes/{quoteId}/underwriting-questions": { "get": { "tags": [ "Underwriting Questions" ], "summary": "Retrieve quote's underwriting questions", "description": "

This endpoint will return all applicable underwriting questions, along with name, question text, and answer-type

", "operationId": "get-api-v2-quotes-quoteid-underwriting-questions", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "73aa7c8eeda2", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "72b6d5ac9826", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "43467ac4e7d3", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnderwritingQuestionV2DtoIEnumerableIApiResponse" }, "example": { "data": [ { "name": "CPL-Industry-Technology", "text": "Does the applicant provide technology services?", "answer": "No", "type": "Radio", "potentialResponses": [ "Yes", "No" ] } ], "responseId": "ce362765d794", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } }, "post": { "tags": [ "Underwriting Questions" ], "summary": "Save quote's underwriting question answers", "operationId": "post-api-v2-quotes-quoteid-underwriting-questions", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PostUnderwritingQuestionDto" } }, "example": [ { "questionName": "X-59999.2-1", "answer": "No" }, { "questionName": "X-59999.2-2", "answer": "Yes" }, { "questionName": "X-59999.2-3", "answer": "No" }, { "questionName": "X-59999.2-4", "answer": "Yes" }, { "questionName": "X-59999.2-5", "answer": "No" } ] }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PostUnderwritingQuestionDto" } }, "example": [ { "questionName": "X-59999.2-1", "answer": "No" }, { "questionName": "X-59999.2-2", "answer": "Yes" }, { "questionName": "X-59999.2-3", "answer": "No" }, { "questionName": "X-59999.2-4", "answer": "Yes" }, { "questionName": "X-59999.2-5", "answer": "No" } ] }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PostUnderwritingQuestionDto" } }, "example": [ { "questionName": "X-59999.2-1", "answer": "No" }, { "questionName": "X-59999.2-2", "answer": "Yes" }, { "questionName": "X-59999.2-3", "answer": "No" }, { "questionName": "X-59999.2-4", "answer": "Yes" }, { "questionName": "X-59999.2-5", "answer": "No" } ] }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PostUnderwritingQuestionDto" } }, "example": [ { "questionName": "X-59999.2-1", "answer": "No" }, { "questionName": "X-59999.2-2", "answer": "Yes" }, { "questionName": "X-59999.2-3", "answer": "No" }, { "questionName": "X-59999.2-4", "answer": "Yes" }, { "questionName": "X-59999.2-5", "answer": "No" } ] } } }, "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "abc4f4dad188", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "6e0879b2be41", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 403, "isOk": false, "errors": [ { "httpStatusCode": 403, "messageCode": "ERR-FORBIDDEN", "title": "The token provided does not have permissions for the requested action", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "789631f7282f", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "ef3b1017ec25", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "httpStatusCode": 400, "isOk": false, "errors": [ { "httpStatusCode": 400, "messageCode": "ERR-ValidationErr", "title": "Validation Error", "detail": "Validation detail message", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "isOk": { "type": "boolean" }, "httpStatusCode": { "type": "integer", "format": "int32" }, "responseId": { "type": "string" }, "timeStamp": { "type": "string", "format": "date-time" }, "messages": { "type": "array", "items": { "type": "object", "properties": { "httpStatusCode": { "type": "integer", "format": "int32" }, "messageCode": { "type": "string" }, "isOk": { "type": "boolean" }, "detail": { "type": "string" } } } }, "maxMessageIndex": { "type": "integer", "format": "int32" }, "_v": { "type": "string" } } }, "example": { "isOk": true, "httpStatusCode": 200, "responseId": "bf30862e05fe", "timeStamp": "2026-08-07T11:04:12.0000000+00:00", "messages": [ { "httpStatusCode": 200, "messageCode": "SUCCESS", "isOk": true, "detail": "Underwriting question answers have been successfully saved" } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } }, "/api/v2/reference-resources/underwriting-questions": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve Underwriting Questions", "description": "

This endpoint will return all underwriting questions, along with Question Title, Class Code and NAICS Code.

If no effective date is entered it will default to today's date.

Note: The response is returned in a gzip format

", "operationId": "get-api-v2-reference-resources-underwriting-questions", "parameters": [ { "name": "effectiveDate", "in": "query", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/gzip": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "804b211172b3", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "804b211172b3", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/gzip": { "schema": { "$ref": "#/components/schemas/UnderwritingQuestionResponseV2DtoIEnumerableIApiResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UnderwritingQuestionResponseV2DtoIEnumerableIApiResponse" } } } } } } }, "/api/v2/reference-resources/class-codes": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve class code information", "description": "

This endpoint will return all class codes, descriptions, and NAICS that are applicable in the state passed, under the Cyber product. Effective date is optional. If no date is passed, response will default to return today's results

Please note: Cyber Create Quote endpoint requires NAICS code sent, in place of class code

", "operationId": "get-api-v2-reference-resources-class-codes-state-state", "parameters": [ { "name": "state", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "effectiveDate", "in": "query", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "d79c1d0cb1a4", "timeStamp": "2026-08-07T11:04:11.0000000+00:00", "httpStatusCode": 401, "isOk": false, "errors": [ { "httpStatusCode": 401, "messageCode": "ERR-NOTAUTHORIZED", "title": "Bearer token is not authorized", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetClassCodesResponseDtoIEnumerableIApiResponse" } } } } } } } }, "components": { "schemas": { "AccountType": { "enum": [ "1 = Checking", "2 = Savings" ], "type": "integer", "format": "int32" }, "AddressDto": { "required": [ "city", "line1", "postalCode", "territory" ], "type": "object", "properties": { "line1": { "minLength": 1, "type": "string" }, "line2": { "type": "string", "nullable": true }, "city": { "minLength": 1, "type": "string" }, "territory": { "minLength": 1, "type": "string" }, "postalCode": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "AgentContactDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AgentContactDtoIEnumerableIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/AgentContactDto" }, "nullable": true } }, "additionalProperties": false }, "ApiMessage": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageCode": { "type": "string", "nullable": true }, "messageType": { "$ref": "#/components/schemas/ApiMessageType" }, "title": { "type": "string", "nullable": true }, "detail": { "type": "string", "nullable": true }, "internal": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "exception": { "$ref": "#/components/schemas/LogException" }, "isOk": { "type": "boolean" }, "needsSanitization": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ApiMessageType": { "enum": [ "0 = Info", "1 = Error" ], "type": "integer", "format": "int32" }, "ApiPageRequest": { "type": "object", "properties": { "skip": { "type": "integer", "format": "int32" }, "take": { "type": "integer", "format": "int32" }, "count": { "type": "boolean" } }, "additionalProperties": false }, "ApiPageResponse": { "type": "object", "properties": { "first": { "type": "string", "nullable": true }, "previous": { "type": "string", "nullable": true }, "current": { "type": "string", "nullable": true }, "next": { "type": "string", "nullable": true }, "last": { "type": "string", "nullable": true }, "pageSize": { "type": "integer", "format": "int32", "nullable": true }, "count": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "ApiPaging": { "type": "object", "properties": { "request": { "$ref": "#/components/schemas/ApiPageRequest" }, "response": { "$ref": "#/components/schemas/ApiPageResponse" } }, "additionalProperties": false }, "BadRequestError": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageType": { "$ref": "#/components/schemas/ApiMessageType" }, "internal": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "exception": { "$ref": "#/components/schemas/LogException" }, "needsSanitization": { "type": "boolean", "readOnly": true }, "httpStatusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageCode": { "type": "string", "nullable": true, "readOnly": true }, "title": { "type": "string", "nullable": true, "readOnly": true }, "detail": { "type": "string", "nullable": true, "readOnly": true }, "isOk": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "BadRequestErrorIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/BadRequestError" } }, "additionalProperties": false }, "Contact": { "required": [ "email", "name", "phone" ], "type": "object", "properties": { "name": { "minLength": 1, "pattern": "^[A-z0-9]+(\\s[A-z0-9-']+){1,}$", "type": "string" }, "phone": { "minLength": 1, "pattern": "((\\(\\d{3}\\)?)|(\\d{3}))([\\s-./]?)(\\d{3})([\\s-./]?)(\\d{4})", "type": "string" }, "email": { "minLength": 1, "pattern": "^.+@.+\\..+$", "type": "string" } }, "additionalProperties": false }, "DetailDto": { "type": "object", "properties": { "questionTitle": { "type": "string", "nullable": true }, "questionText": { "type": "string", "nullable": true }, "potentialResponses": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "ForbiddenError": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageType": { "$ref": "#/components/schemas/ApiMessageType" }, "detail": { "type": "string", "nullable": true }, "internal": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "exception": { "$ref": "#/components/schemas/LogException" }, "needsSanitization": { "type": "boolean", "readOnly": true }, "httpStatusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageCode": { "type": "string", "nullable": true, "readOnly": true }, "title": { "type": "string", "nullable": true, "readOnly": true }, "isOk": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ForbiddenErrorIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/ForbiddenError" } }, "additionalProperties": false }, "GetClassCodesResponseDto": { "type": "object", "properties": { "codeType": { "type": "string", "nullable": true }, "classCode": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "naicsCode": { "type": "array", "items": { "$ref": "#/components/schemas/NaicsCodeResponseDto" }, "nullable": true }, "sicCode": { "type": "array", "items": { "type": "string" }, "nullable": true }, "eligibility": { "type": "array", "items": { "$ref": "#/components/schemas/ProductEligibilityDto" }, "nullable": true } }, "additionalProperties": false }, "GetClassCodesResponseDtoIEnumerableIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/GetClassCodesResponseDto" }, "nullable": true } }, "additionalProperties": false }, "GetPaymentPlanResponseDto": { "type": "object", "properties": { "direct": { "type": "array", "items": { "$ref": "#/components/schemas/PaymentPlanDto" }, "nullable": true }, "agency": { "type": "array", "items": { "$ref": "#/components/schemas/PaymentPlanDto" }, "nullable": true } }, "additionalProperties": false }, "GetPaymentPlanResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/GetPaymentPlanResponseDto" } }, "additionalProperties": false }, "GetQuoteResponseDto": { "required": [ "businessName" ], "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "effectivedate": { "type": "string", "format": "date-time" }, "businessName": { "minLength": 1, "type": "string" }, "primaryAddress": { "$ref": "#/components/schemas/AddressDto" }, "mailingAddress": { "$ref": "#/components/schemas/AddressDto" }, "fein": { "type": "string", "nullable": true }, "agentContact": { "$ref": "#/components/schemas/IAgentContact" }, "insuredContact": { "$ref": "#/components/schemas/IInsuredContact" }, "expectedGrossRevenue": { "type": "number", "format": "double", "nullable": true }, "policyLimits": { "type": "string", "nullable": true }, "premium": { "type": "number", "format": "double", "nullable": true }, "premiumDetails": { "$ref": "#/components/schemas/PremiumDetailsDto" }, "eligibility": { "type": "string", "nullable": true }, "quoteStatus": { "type": "string", "nullable": true }, "companyWebsite": { "type": "string", "nullable": true }, "naicsCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetQuoteResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/GetQuoteResponseDto" } }, "additionalProperties": false }, "HttpStatusCode": { "enum": [ "100 = Continue", "101 = SwitchingProtocols", "102 = Processing", "103 = EarlyHints", "200 = OK", "201 = Created", "202 = Accepted", "203 = NonAuthoritativeInformation", "204 = NoContent", "205 = ResetContent", "206 = PartialContent", "207 = MultiStatus", "208 = AlreadyReported", "226 = IMUsed", "300 = MultipleChoices", "300 = Ambiguous", "301 = MovedPermanently", "301 = Moved", "302 = Found", "302 = Redirect", "303 = SeeOther", "303 = RedirectMethod", "304 = NotModified", "305 = UseProxy", "306 = Unused", "307 = TemporaryRedirect", "307 = RedirectKeepVerb", "308 = PermanentRedirect", "400 = BadRequest", "401 = Unauthorized", "402 = PaymentRequired", "403 = Forbidden", "404 = NotFound", "405 = MethodNotAllowed", "406 = NotAcceptable", "407 = ProxyAuthenticationRequired", "408 = RequestTimeout", "409 = Conflict", "410 = Gone", "411 = LengthRequired", "412 = PreconditionFailed", "413 = RequestEntityTooLarge", "414 = RequestUriTooLong", "415 = UnsupportedMediaType", "416 = RequestedRangeNotSatisfiable", "417 = ExpectationFailed", "421 = MisdirectedRequest", "422 = UnprocessableEntity", "422 = UnprocessableContent", "423 = Locked", "424 = FailedDependency", "426 = UpgradeRequired", "428 = PreconditionRequired", "429 = TooManyRequests", "431 = RequestHeaderFieldsTooLarge", "451 = UnavailableForLegalReasons", "500 = InternalServerError", "501 = NotImplemented", "502 = BadGateway", "503 = ServiceUnavailable", "504 = GatewayTimeout", "505 = HttpVersionNotSupported", "506 = VariantAlsoNegotiates", "507 = InsufficientStorage", "508 = LoopDetected", "510 = NotExtended", "511 = NetworkAuthenticationRequired" ], "type": "integer", "format": "int32" }, "IAgentContact": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "readOnly": true }, "name": { "type": "string", "nullable": true, "readOnly": true }, "email": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "IInsuredContact": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "firstName": { "type": "string", "nullable": true, "readOnly": true }, "lastName": { "type": "string", "nullable": true, "readOnly": true }, "phoneNumber": { "type": "string", "nullable": true, "readOnly": true }, "email": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Invoice": { "type": "object", "properties": { "amount": { "type": "number", "format": "double" }, "description": { "type": "string", "nullable": true }, "date": { "type": "string", "format": "date-time" }, "downpayment": { "type": "boolean" }, "premAmount": { "type": "number", "format": "double" }, "premDueDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "InvoiceDto": { "type": "object", "properties": { "amount": { "type": "number", "format": "double" }, "description": { "type": "string", "nullable": true }, "premiumAmount": { "type": "number", "format": "double" }, "date": { "type": "string", "format": "date-time" }, "premiumDueDate": { "type": "string", "format": "date-time" }, "isDownPayment": { "type": "boolean" } }, "additionalProperties": false }, "LogException": { "type": "object", "properties": { "exceptionId": { "type": "string", "format": "uuid" }, "module": { "type": "string", "nullable": true }, "class": { "type": "string", "nullable": true }, "targetSite": { "type": "string", "nullable": true }, "httpWebEventCode": { "type": "integer", "format": "int32", "nullable": true }, "httpStatusValue": { "type": "integer", "format": "int32", "nullable": true }, "httpStatusCode": { "type": "string", "nullable": true }, "httpHtmlMessage": { "type": "string", "nullable": true }, "properties": { "type": "object", "additionalProperties": { "type": "string", "nullable": true }, "nullable": true }, "innerException": { "$ref": "#/components/schemas/LogException" }, "message": { "type": "string", "nullable": true }, "source": { "type": "string", "nullable": true }, "stackTrace": { "type": "string", "nullable": true }, "helpLink": { "type": "string", "nullable": true }, "method": { "type": "string", "nullable": true }, "data": { "type": "object", "additionalProperties": { "type": "string", "nullable": true }, "nullable": true }, "errorCode": { "type": "string", "nullable": true }, "exceptionType": { "type": "string", "nullable": true }, "baseException": { "$ref": "#/components/schemas/LogException" } }, "additionalProperties": false }, "NaicsCodeResponseDto": { "type": "object", "properties": { "code": { "type": "string", "nullable": true }, "descriptions": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "NotFoundError": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageType": { "$ref": "#/components/schemas/ApiMessageType" }, "detail": { "type": "string", "nullable": true }, "internal": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "exception": { "$ref": "#/components/schemas/LogException" }, "needsSanitization": { "type": "boolean", "readOnly": true }, "httpStatusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageCode": { "type": "string", "nullable": true, "readOnly": true }, "title": { "type": "string", "nullable": true, "readOnly": true }, "isOk": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "NotFoundErrorIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/NotFoundError" } }, "additionalProperties": false }, "Operation": { "type": "object", "properties": { "operationType": { "$ref": "#/components/schemas/OperationType" }, "path": { "type": "string", "nullable": true }, "op": { "type": "string", "nullable": true }, "from": { "type": "string", "nullable": true }, "value": { "nullable": true } }, "additionalProperties": false }, "OperationType": { "enum": [ "0 = Add", "1 = Remove", "2 = Replace", "3 = Move", "4 = Copy", "5 = Test", "6 = Invalid" ], "type": "integer", "format": "int32" }, "PatchQuoteResponseDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "effectivedate": { "type": "string", "format": "date-time" }, "businessName": { "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/AddressDto" }, "mailingAddress": { "$ref": "#/components/schemas/AddressDto" }, "fein": { "type": "string", "nullable": true }, "agentContact": { "$ref": "#/components/schemas/IAgentContact" }, "insuredContact": { "$ref": "#/components/schemas/IInsuredContact" }, "expectedGrossAnnualRevenue": { "type": "number", "format": "double" }, "policyLimits": { "type": "string", "nullable": true }, "premium": { "type": "number", "format": "double" }, "eligibility": { "type": "string", "nullable": true }, "companyWebsite": { "type": "string", "nullable": true }, "quoteStatus": { "type": "string", "nullable": true }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "naicsCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PatchQuoteResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PatchQuoteResponseDto" } }, "additionalProperties": false }, "PaymentPlanDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "downpaymentPercent": { "type": "number", "format": "double" }, "numberOfPayments": { "type": "integer", "format": "int32" }, "description": { "type": "string", "nullable": true }, "downpaymentDueDateDays": { "type": "integer", "format": "int32" }, "invoiceDueDateDays": { "type": "integer", "format": "int32" }, "paymentFrequency": { "type": "string", "nullable": true }, "billingType": { "type": "string", "nullable": true }, "invoiceSchedule": { "type": "array", "items": { "$ref": "#/components/schemas/Invoice" }, "nullable": true } }, "additionalProperties": false }, "PostBindQuoteResponseDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "policyNumber": { "type": "string", "nullable": true }, "policyId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "effectiveDate": { "type": "string", "format": "date-time" }, "premium": { "type": "number", "format": "double" } }, "additionalProperties": false }, "PostBindQuoteResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostBindQuoteResponseDto" } }, "additionalProperties": false }, "PostDirectDebitDocRequest": { "type": "object", "properties": { "displayName": { "type": "string", "nullable": true }, "windowsFileType": { "type": "string", "nullable": true }, "fileData": { "type": "string", "format": "byte", "nullable": true } }, "additionalProperties": false }, "PostDirectDebitDocResponse": { "type": "object", "properties": { "libraryId": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "PostDirectDebitDocResponseIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostDirectDebitDocResponse" } }, "additionalProperties": false }, "PostDirectDebitRequest": { "required": [ "accountNumber", "email", "nameOnAccount", "routingNumber" ], "type": "object", "properties": { "nameOnAccount": { "minLength": 1, "type": "string" }, "routingNumber": { "minLength": 1, "type": "string" }, "accountNumber": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "accountType": { "type": "string", "description": "1 = Checking , 2 = Savings", "nullable": true } }, "additionalProperties": false }, "PostDirectDebitResponse": { "type": "object", "properties": { "nameOnAccount": { "type": "string", "nullable": true }, "accountNumber": { "type": "string", "nullable": true }, "routingNumber": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true }, "accountType": { "$ref": "#/components/schemas/AccountType" }, "bankName": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostDirectDebitResponseIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostDirectDebitResponse" } }, "additionalProperties": false }, "PostInsuredClearanceRequestDto": { "required": [ "address", "name" ], "type": "object", "properties": { "name": { "minLength": 1, "type": "string" }, "address": { "$ref": "#/components/schemas/AddressDto" } }, "additionalProperties": false }, "PostInsuredClearanceResponseDto": { "type": "object", "properties": { "isAvailable": { "type": "boolean" }, "message": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "PostInsuredClearanceResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostInsuredClearanceResponseDto" } }, "additionalProperties": false }, "PostQuoteRequestDto": { "required": [ "agentContactId", "businessName", "effectiveDate", "insuredContact", "mailingAddress", "naicsCode", "policyLimits", "primaryAddress" ], "type": "object", "properties": { "businessName": { "minLength": 1, "type": "string" }, "primaryAddress": { "$ref": "#/components/schemas/AddressDto" }, "mailingAddress": { "$ref": "#/components/schemas/AddressDto" }, "fein": { "pattern": "^\\d{9}$", "type": "string", "nullable": true }, "effectiveDate": { "type": "string", "format": "date-time" }, "expectedGrossAnnualRevenue": { "maximum": 24999999.0, "minimum": 0.0, "type": "integer", "description": "Required when a non-slot rate policy limit is provided, and it must be greater than zero.", "format": "int32", "nullable": true }, "policyLimits": { "minLength": 1, "type": "string" }, "insuredContact": { "$ref": "#/components/schemas/Contact" }, "companyWebsite": { "type": "string", "nullable": true }, "newMasterAccountId": { "type": "boolean" }, "agentContactId": { "type": "integer", "format": "int32" }, "naicsCode": { "minLength": 1, "type": "string" }, "paymentPlanId": { "type": "integer", "format": "int32", "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "digitalClientWorkflow": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostQuoteResponseDto": { "required": [ "businessName", "effectiveDate", "insuredContact", "mailingAddress", "policyLimits", "primaryAddress" ], "type": "object", "properties": { "businessName": { "minLength": 1, "type": "string" }, "primaryAddress": { "$ref": "#/components/schemas/AddressDto" }, "mailingAddress": { "$ref": "#/components/schemas/AddressDto" }, "fein": { "pattern": "^\\d{9}$", "type": "string", "nullable": true }, "effectiveDate": { "type": "string", "format": "date-time" }, "expectedGrossAnnualRevenue": { "maximum": 24999999.0, "minimum": 0.0, "type": "integer", "description": "Required when a non-slot rate policy limit is provided, and it must be greater than zero.", "format": "int32", "nullable": true }, "policyLimits": { "minLength": 1, "type": "string" }, "insuredContact": { "$ref": "#/components/schemas/Contact" }, "companyWebsite": { "type": "string", "nullable": true }, "newMasterAccountId": { "type": "boolean" }, "quoteId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "agentContact": { "$ref": "#/components/schemas/IAgentContact" }, "premium": { "type": "number", "format": "double", "nullable": true }, "premiumDetails": { "$ref": "#/components/schemas/PremiumDetailsDto" }, "eligibility": { "type": "string", "nullable": true }, "invoicingSchedule": { "type": "array", "items": { "$ref": "#/components/schemas/InvoiceDto" }, "nullable": true }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "naicsCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostQuoteResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostQuoteResponseDto" } }, "additionalProperties": false }, "PostTerrorismCoverageDto": { "required": [ "isAcknowledged" ], "type": "object", "properties": { "isAcknowledged": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "PostTerrorismCoverageDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/PostTerrorismCoverageDto" } }, "additionalProperties": false }, "PostUnderwritingQuestionDto": { "required": [ "answer", "questionName" ], "type": "object", "properties": { "questionName": { "minLength": 1, "type": "string" }, "answer": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "PremiumDetailsDto": { "type": "object", "properties": { "finalPremium": { "type": "number", "format": "double", "nullable": true }, "cityTax": { "type": "number", "format": "double", "nullable": true }, "countyTax": { "type": "number", "format": "double", "nullable": true }, "stateTax": { "type": "number", "format": "double", "nullable": true }, "premiumOverrideAdjustment": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "ProductEligibilityDto": { "type": "object", "properties": { "productLine": { "type": "string", "nullable": true }, "productType": { "type": "string", "nullable": true }, "state": { "type": "string", "nullable": true }, "eligibility": { "type": "integer", "format": "int32" }, "eligibilityDescription": { "type": "string", "nullable": true } }, "additionalProperties": false }, "QuestionDetailDto": { "type": "object", "properties": { "naicsCode": { "type": "string", "nullable": true }, "details": { "type": "array", "items": { "$ref": "#/components/schemas/DetailDto" }, "nullable": true } }, "additionalProperties": false }, "QuestionDto": { "type": "object", "properties": { "classCode": { "type": "string", "nullable": true }, "questionsDetails": { "type": "array", "items": { "$ref": "#/components/schemas/QuestionDetailDto" }, "nullable": true } }, "additionalProperties": false }, "QuoteSubmissionInfo": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "effectiveDate": { "type": "string", "format": "date-time" }, "product": { "type": "string", "nullable": true }, "premium": { "type": "number", "format": "double" } }, "additionalProperties": false }, "StringIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StringIEnumerableIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "SubmitQuoteRequestDto": { "required": [ "noteToUnderwriter" ], "type": "object", "properties": { "agentNeedByDate": { "type": "string", "format": "date", "nullable": true }, "noteToUnderwriter": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "SubmitQuoteResponseDto": { "type": "object", "properties": { "businessName": { "type": "string", "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "submitedDate": { "type": "string", "format": "date-time" }, "quoteInformation": { "$ref": "#/components/schemas/QuoteSubmissionInfo" } }, "additionalProperties": false }, "SubmitQuoteResponseDtoIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/SubmitQuoteResponseDto" } }, "additionalProperties": false }, "TermsOfAgreementDto": { "required": [ "isAcknowledged" ], "type": "object", "properties": { "isAcknowledged": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "UnauthorizedError": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageType": { "$ref": "#/components/schemas/ApiMessageType" }, "detail": { "type": "string", "nullable": true }, "internal": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "exception": { "$ref": "#/components/schemas/LogException" }, "needsSanitization": { "type": "boolean", "readOnly": true }, "httpStatusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "messageCode": { "type": "string", "nullable": true, "readOnly": true }, "title": { "type": "string", "nullable": true, "readOnly": true }, "isOk": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "UnauthorizedErrorIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "$ref": "#/components/schemas/UnauthorizedError" } }, "additionalProperties": false }, "UnderwritingQuestionResponseV2Dto": { "type": "object", "properties": { "state": { "type": "string", "nullable": true }, "questions": { "type": "array", "items": { "$ref": "#/components/schemas/QuestionDto" }, "nullable": true } }, "additionalProperties": false }, "UnderwritingQuestionResponseV2DtoIEnumerableIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/UnderwritingQuestionResponseV2Dto" }, "nullable": true } }, "additionalProperties": false }, "UnderwritingQuestionV2Dto": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "text": { "type": "string", "nullable": true }, "answer": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "potentialResponses": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "UnderwritingQuestionV2DtoIEnumerableIApiResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "correlationID": { "type": "string", "nullable": true }, "httpStatus": { "$ref": "#/components/schemas/HttpStatusCode" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/ApiMessage" }, "nullable": true }, "paging": { "$ref": "#/components/schemas/ApiPaging" }, "maxMsgIndex": { "type": "integer", "format": "int32", "readOnly": true }, "maxErrIndex": { "type": "integer", "format": "int32", "readOnly": true }, "isOk": { "type": "boolean" }, "apiResponseVersion": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/UnderwritingQuestionV2Dto" }, "nullable": true } }, "additionalProperties": false }, "UpdatePaymentPlanDto": { "required": [ "id" ], "type": "object", "properties": { "id": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "UpdateQuoteRequestDto": { "required": [ "agentContactId", "businessName", "effectiveDate", "insuredContact", "mailingAddress", "policyLimits", "primaryAddress" ], "type": "object", "properties": { "businessName": { "minLength": 1, "type": "string" }, "effectiveDate": { "type": "string", "format": "date-time" }, "mailingAddress": { "$ref": "#/components/schemas/AddressDto" }, "primaryAddress": { "$ref": "#/components/schemas/AddressDto" }, "fein": { "type": "string", "nullable": true }, "agentContactId": { "type": "integer", "format": "int32" }, "insuredContact": { "$ref": "#/components/schemas/Contact" }, "expectedGrossAnnualRevenue": { "type": "number", "description": "Required when a non-slot rate policy limit is provided, and it must be greater than zero.", "format": "double" }, "policyLimits": { "minLength": 1, "type": "string" }, "companyWebsite": { "type": "string", "nullable": true }, "naicsCode": { "type": "string", "nullable": true }, "digitalClientWorkflow": { "type": "string", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "apiKeyHeader": { "type": "apiKey", "name": "subscriber_id", "in": "header" }, "apiKeyQuery": { "type": "apiKey", "name": "subscription-key", "in": "query" } } }, "security": [ { "apiKeyHeader": [] }, { "apiKeyQuery": [] } ], "tags": [ { "name": "Quote" }, { "name": "Policy" }, { "name": "Underwriting" }, { "name": "Agent Contacts" }, { "name": "Reference Resources" }, { "name": "Payment Plans" }, { "name": "Insured Clearance" }, { "name": "Underwriting Questions" }, { "name": "Terms of Agreement" } ] }