{ "openapi": "3.0.1", "info": { "title": "Digital E&S API", "description": "Digital E&S API allows users to create and edit Excess and Surplus (E&S) quotes.", "version": "1.0" }, "servers": [ { "url": "https://gateway.amtrustgroup.com/digital-es" }, { "url": "https://prod-apim-gw.amtrustservices.com/digital-es" } ], "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": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "abf7b1f84ab4", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "3fa374ce063f", "timeStamp": "2026-07-15T11:55:58.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": "George Washington", "email": "gwashington@uspresident.gov" }, { "id": 2, "name": "John Adams", "email": "jadams@uspresident.gov" }, { "id": 1, "name": "Thomas Jefferson", "email": "tjefferson@uspresident.gov" } ], "responseId": "7092a31f115e", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}/locations": { "post": { "tags": [ "Location" ], "summary": "Add location", "description": "Adds a location and optional class codes to the quote specified
\r\n Only one location per POST call is accepted, but multiple class codes can be sent in a single call, under a single location", "operationId": "post-api-v1-quotes-quoteid-locations", "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/LocationDto" }, "example": { "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LocationDto" }, "example": { "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LocationDto" }, "example": { "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/LocationDto" }, "example": { "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "1a8c5bd4142b", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "3a89b7496dda", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LocationGetResponseIApiResponse" }, "example": { "data": { "id": 0, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "hail": null, "wildfire": null, "locationScheduleOnFile": false }, "responseId": "c61df093157e", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "830d33d3c084", "timeStamp": "2026-07-15T11:55:58.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" } } } } } }, "get": { "tags": [ "Location" ], "summary": "Retrieve locations", "description": "Returns all currently saved locations on the quote passed, along with any class codes saved to that location", "operationId": "get-api-v1-quotes-quoteid-locations", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "fea14b3b8457", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "1466f3c612ec", "timeStamp": "2026-07-15T11:55:58.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/LocationGetResponseIEnumerableIApiResponse" }, "example": { "data": [ { "id": 0, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "hail": null, "wildfire": null, "locationScheduleOnFile": false } ], "responseId": "11c7be2ef360", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/quotes/{quoteId}/locations/{locationId}/class-codes": { "post": { "tags": [ "Location" ], "summary": "Save class code to location", "description": "Saves class code(s) to specific Location ID passed, under specified quote", "operationId": "post-api-v1-quotes-quoteid-locations-locationid-class-codes", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "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/ClassCodeDto" } }, "example": [ { "classCode": 15061, "exposure": 7500 }, { "classCode": 43840, "exposure": 7500 }, { "classCode": 44311, "exposure": 10000 } ] }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" } }, "example": [ { "classCode": 15061, "exposure": 7500 }, { "classCode": 43840, "exposure": 7500 }, { "classCode": 44311, "exposure": 10000 } ] }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" } }, "example": [ { "classCode": 15061, "exposure": 7500 }, { "classCode": 43840, "exposure": 7500 }, { "classCode": 44311, "exposure": 10000 } ] }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" } }, "example": [ { "classCode": 15061, "exposure": 7500 }, { "classCode": 43840, "exposure": 7500 }, { "classCode": 44311, "exposure": 10000 } ] } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "eb3bb02fed50", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "a41567899616", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassCodeResponseDtoIEnumerableIApiResponse" }, "example": { "data": [ { "classCode": 15061, "exposure": 7500 }, { "classCode": 43840, "exposure": 7500 }, { "classCode": 15061, "exposure": 7500 } ], "responseId": "de61b0b9a5e1", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "732c9e1208a7", "timeStamp": "2026-07-15T11:55:58.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}/locations/{locationId}": { "get": { "tags": [ "Location" ], "summary": "Retrieve location", "description": "Returns specific location information tied to ID passed", "operationId": "get-api-v1-quotes-quoteid-locations-locationid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "29e689f91cf9", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "e5ee3da8258e", "timeStamp": "2026-07-15T11:55:58.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/LocationGetResponseIApiResponse" }, "example": { "data": { "id": 0, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "hail": null, "wildfire": null, "locationScheduleOnFile": false }, "responseId": "a88cf4ae1860", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "337a0f0edd2b", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } }, "patch": { "tags": [ "Location" ], "summary": "Update location", "description": "Updates specific location information", "operationId": "patch-api-v1-quotes-quoteid-locations-locationid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/JsonPatchDocument" }, "example": [ { "value": "800 Superior Ave", "path": "/line1", "op": "replace" }, { "value": "Suit A", "path": "/line2", "op": "replace" }, { "value": "Suit A", "path": "/territory", "op": "replace" } ] } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "f24fa9ec308d", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "d328e64fa09f", "timeStamp": "2026-07-15T11:55:58.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/LocationGetResponseIApiResponse" }, "example": { "data": { "id": 0, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "hail": null, "wildfire": null, "locationScheduleOnFile": false }, "responseId": "b61ac8618124", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "79eeda9d2dc3", "timeStamp": "2026-07-15T11:55:58.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": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "79921b15092f", "timeStamp": "2026-07-15T11:55:58.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" } } } } } }, "delete": { "tags": [ "Location" ], "summary": "Remove existing location ", "description": "This endpoint will allow user to remove a location from the quote.
\r\n Removing the location will also remove all class codes linked to that location
\r\n **Please note:** The first location cannot be removed. The PATCH endpoint can be used to edit the first location information", "operationId": "delete-api-v1-quotes-quoteid-locations-locationid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "82492343d32f", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "566663841e66", "timeStamp": "2026-07-15T11:55:58.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": "e732e08508dd", "timeStamp": "2026-07-15T11:55:58.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": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "4fa9804f5875", "timeStamp": "2026-07-15T11:55:58.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-07-15T11:55:58.0000000+00:00", "messages": [ { "httpStatusCode": 200, "messageCode": "SUCCESS", "isOk": true, "detail": "Location ID has been successfully removed from the quote" } ], "maxMessageIndex": 0, "_v": "AD" } } } } } } }, "/api/v1/quotes": { "post": { "tags": [ "Quotes" ], "summary": "Create quote", "description": "This endpoint takes in basic insured information (addresses, name, contact, effective date, business information), along with facility code and deductible selection.", "operationId": "post-api-v1-quotes", "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostQuoteDto" }, "example": { "primaryInsured": "Name", "dbaName": null, "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostQuoteDto" }, "example": { "primaryInsured": "Name", "dbaName": null, "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostQuoteDto" }, "example": { "primaryInsured": "Name", "dbaName": null, "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostQuoteDto" }, "example": { "primaryInsured": "Name", "dbaName": null, "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "c06d100f9c8e", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "a01cd3cb4259", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 1234567, "primaryInsured": "Name", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "expirationDate": "2028-07-17", "agentContactName": "Daniel Angelo", "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "locations": [ { "id": 1, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [], "hail": null, "wildfire": null, "locationScheduleOnFile": false } ], "masterAccountId": 24786342, "dbaName": "DbaName", "digitalClientWorkflow": null }, "responseId": "217a0ba18332", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "c9039734d1b9", "timeStamp": "2026-07-15T11:55:58.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": [ "Quotes" ], "summary": "Retrieve quote information", "description": "This endpoint returns all currently saved quote information", "operationId": "get-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "0a87ad1f9e80", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "135cddc48c07", "timeStamp": "2026-07-15T11:55:58.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/GetQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 1234567, "primaryInsured": "Name", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "expirationDate": "2028-07-17", "agentContactName": "Daniel Angelo", "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "locations": [ { "commercialProperty": { "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X", "buildings": [ { "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "alarmProtection": "Low", "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": null } } } ] }, "id": 1, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [], "hail": { "riskScore": "1" }, "wildfire": { "distanceToHighRisk": "797", "distanceToHighRiskInMiles": "0.15", "riskLevel": "2", "riskScore": "60" }, "locationScheduleOnFile": false } ], "masterAccountId": 24786342, "dbaName": "DbaName", "priceComponents": { "glPremium": 0, "propertyPremium": 0, "netPremium": 1000.5, "fees": 10.5, "commissionRate": 0 }, "limits": { "liabilityOccurrence": 1000000, "generalAggregate": 2000000, "medicalExpenses": 5000, "personalAndAdvInjury": 1000000, "productsAggregate": 2000000, "damagesToRentalPremises": 100000 }, "digitalClientWorkflow": null, "quoteStatus": null }, "responseId": "6ff44aa5a7f4", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "b2fa9c7c9739", "timeStamp": "2026-07-15T11:55:58.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": [ "Quotes" ], "summary": "Update Quote Information", "description": "This endpoint updates information on an existing quote.

Please Note: The entire existing quote body must be included, and any desired additional/updated information should be added/changed within the body. If information is omitted, it will be deleted.", "operationId": "put-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "text/json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "b25b49af2659", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "cad5bb7c9b7a", "timeStamp": "2026-07-15T11:55:58.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/GetQuoteResponseDtoIApiResponse" }, "example": { "data": { "quoteId": 1234567, "primaryInsured": "Name", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "expirationDate": "2028-07-17", "agentContactName": "Daniel Angelo", "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "locations": [ { "commercialProperty": { "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X", "buildings": [ { "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "alarmProtection": "Low", "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": null } } } ] }, "id": 1, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [], "hail": { "riskScore": "1" }, "wildfire": { "distanceToHighRisk": "797", "distanceToHighRiskInMiles": "0.15", "riskLevel": "2", "riskScore": "60" }, "locationScheduleOnFile": false } ], "masterAccountId": 24786342, "dbaName": "DbaName", "priceComponents": { "glPremium": 0, "propertyPremium": 0, "netPremium": 1000.5, "fees": 10.5, "commissionRate": 0 }, "limits": { "liabilityOccurrence": 1000000, "generalAggregate": 2000000, "medicalExpenses": 5000, "personalAndAdvInjury": 1000000, "productsAggregate": 2000000, "damagesToRentalPremises": 100000 }, "digitalClientWorkflow": null, "quoteStatus": null }, "responseId": "3ea5bd96015d", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "b0fe828107ca", "timeStamp": "2026-07-15T11:55:58.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" } } } } } }, "patch": { "tags": [ "Quotes" ], "summary": "Update Base-Level Quote Information", "description": "This endpoint updates basic insured level information on quote.

A quote is no longer editable if it meets one of the following criteria
__•__ In a Declined status
__•__ Underwriter has approved
__•__ Is bound
__•__ Effective Date is greater than 120 days from the current date and not bound
", "operationId": "patch-api-v1-quotes-quoteid", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/JsonPatchDocument" }, "example": [ { "value": "2026-07-17T11:55:58.0000000+00:00", "path": "/effectiveDate", "op": "replace" }, { "value": "500", "path": "/deductible", "op": "replace" }, { "value": "Name", "path": "/primaryInsured", "op": "replace" }, { "value": "DbaName", "path": "/dbaname", "op": "replace" }, { "value": 1234, "path": "/agentContactId", "op": "replace" }, { "value": [ "SB - Machine Shops Program" ], "path": "/facilityCodes", "op": "replace" }, { "value": "800 Superior Ave", "path": "/mailingAddress/line1", "op": "replace" }, { "value": "Suite A", "path": "/mailingAddress/line2", "op": "replace" }, { "value": "Cleveland", "path": "/mailingAddress/city", "op": "replace" }, { "value": "OH", "path": "/mailingAddress/territory", "op": "replace" }, { "value": 44114, "path": "/mailingAddress/postalCode", "op": "replace" } ] } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "3f575a34aca2", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "20c89ce0dc7e", "timeStamp": "2026-07-15T11:55:58.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/PatchQuoteResponseDtoIApiResponse" }, "example": { "data": { "locations": [ { "commercialProperty": { "buildings": [ { "coveragesContainer": { "contents": { "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "watchman": null, "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": null } }, "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25 } ], "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X" }, "id": 1, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [], "hail": null, "wildfire": null, "locationScheduleOnFile": false } ], "quoteId": 1234567, "primaryInsured": "Name", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "expirationDate": "2028-07-17", "agentContactName": "Daniel Angelo", "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "masterAccountId": 24786342, "dbaName": "DbaName", "priceComponents": { "glPremium": 0, "propertyPremium": 0, "netPremium": 1000.5, "fees": 10.5, "commissionRate": 0 }, "limits": { "liabilityOccurrence": 1000000, "generalAggregate": 2000000, "medicalExpenses": 5000, "personalAndAdvInjury": 1000000, "productsAggregate": 2000000, "damagesToRentalPremises": 100000 }, "digitalClientWorkflow": null, "quoteStatus": null }, "responseId": "f352fa095001", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "2c59fe690be6", "timeStamp": "2026-07-15T11:55:58.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}/rate": { "get": { "tags": [ "Quotes" ], "summary": "Retrieve quote premium information", "description": "Returns premium information on quote passed", "operationId": "get-api-v1-quotes-quoteid-rate", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "739b07b4eda1", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "dcc958492ccc", "timeStamp": "2026-07-15T11:55:58.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/GetRateDtoIApiResponse" } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundErrorIApiResponse" }, "example": { "responseId": "3b64815d5dfb", "timeStamp": "2026-07-15T11:55:58.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/facility-codes": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve all facility codes", "description": "Returns all facility codes that can be added to the quote", "operationId": "get-api-v1-reference-resources-facility-codes", "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "6efe868ebaec", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "60c4ff95e882", "timeStamp": "2026-07-15T11:55:58.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/GetFacilityCodesDtoIEnumerableIApiResponse" }, "example": { "data": [ { "facilityCode": "IR - Apartments" }, { "facilityCode": "IR - Bars & Taverns" }, { "facilityCode": "IR - Hospitality & Leisure" } ], "responseId": "054d7e764725", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/reference-resources/class-codes": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve all GL class codes", "description": "Returns all GL class codes, along with description information, that can be added to the quote", "operationId": "get-api-v1-reference-resources-class-codes", "parameters": [ { "name": "state", "in": "query", "schema": { "type": "string" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "516dcd247aba", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "f223e00d7eb4", "timeStamp": "2026-07-15T11:55:58.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/GetClassCodesDtoIEnumerableIApiResponse" }, "example": { "data": [ { "classCode": "10010", "description": "Air Conditioning Equipment - dealers and distributors only", "exposureBasis": "$1,000 of Gross Sales" }, { "classCode": "41672", "description": "Conventions (sponsor's risk only) (For-Profit)", "exposureBasis": "Number of Convention Days" }, { "classCode": "10026", "description": "Antique Stores", "exposureBasis": "$1,000 of Gross Sales" } ], "responseId": "8a20826b2e64", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/reference-resources/liability-limits": { "get": { "tags": [ "Reference Resources" ], "summary": "Retrieve general liability limit options", "description": "Retrieve general liability limit options", "operationId": "get-api-v1-reference-resources-liability-limits", "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "2b4fbc544df5", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "3f37cacf7c4e", "timeStamp": "2026-07-15T11:55:58.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/StringStringIEnumerableIDictionaryIApiResponse" }, "example": { "data": { "First key": [ "First value", "Second value", "Third value" ], "Second key": [ "First value", "Second value", "Third value" ], "Third key": [ "First value", "Second value", "Third value" ] }, "responseId": "489e42bda7fb", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 200, "isOk": true, "_v": "AD" } } } } } } }, "/api/v1/reference-resources/class-codes/property": { "get": { "tags": [ "Reference Resources" ], "summary": "Available Property Class Codes", "description": "Returns all property class codes, along with description information, that can be added to the quote", "operationId": "get-api-v1-reference-resources-class-codes-property", "parameters": [ { "name": "state", "in": "query", "schema": { "type": "string" } }, { "name": "classCode", "in": "query", "schema": { "type": "string" } } ], "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "1f9d38c12a79", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "9c416364634f", "timeStamp": "2026-07-15T11:55:58.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/GetPropertyClassCodesDtoIEnumerableIApiResponse" } } } } } } }, "/api/v2/quotes/{quoteId}/locations/{locationId}/commercial-property": { "post": { "tags": [ "Location" ], "summary": "Add Commercial Property", "description": "Adds commercial property coverage to a specific location", "operationId": "post-api-v2-quotes-quoteid-locations-locationid-commercial-property", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyDtoV2" }, "example": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyDtoV2" }, "example": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyDtoV2" }, "example": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyDtoV2" }, "example": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] } } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "472f30efef88", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "43c529728b42", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyResponseDtoV2IApiResponse" }, "example": { "data": { "buildings": [ { "coveragesContainer": { "contents": { "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "watchman": "SignalToCentralStation", "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": "100" } }, "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25 } ], "quoteId": 983428, "masterAccountId": 32529301, "locationId": 1, "priceComponents": { "glPremium": 1200, "propertyPremium": 1389, "totalPremium": 3067, "fees": 478 }, "deductible": 500, "generalLiabilityLimits": { "liabilityOccurrence": "200,000", "generalAggregate": "200,000", "productsAggregate": "200,000", "personalAdvAndInjury": "100,000", "medicalExpenses": "300,000", "damagesToPremisesRentedToYou": "100,000" }, "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X" }, "responseId": "4e2164adb5f6", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "6aa3cd4a771a", "timeStamp": "2026-07-15T11:55:58.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": "6855ec2c16dd", "timeStamp": "2026-07-15T11:55:58.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}/limits-deductible": { "patch": { "tags": [ "Quotes" ], "summary": "Update Limits and Deductible", "description": "This endpoint allows user to update the liability limits and deductible amount on an existing E&S quote", "operationId": "patch-api-v1-quotes-quoteid-limits-deductible", "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/JsonPatchDocument" }, "example": [ { "value": "0", "path": "/deductible", "op": "replace" }, { "value": "1000000.0", "path": "/personalAndAdvInjury", "op": "replace" }, { "value": "2000000.0", "path": "/generalAggregate", "op": "replace" }, { "value": "2000000.0", "path": "/productsAggregate", "op": "replace" }, { "value": "5000.0", "path": "/medicalExpenses", "op": "replace" }, { "value": "100000.0", "path": "/damagesToRentalPremises", "op": "replace" }, { "value": "1000000.0", "path": "/liabilityOccurence", "op": "replace" } ] } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "91a43e7e3f7a", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "6575c8dcb8e1", "timeStamp": "2026-07-15T11:55:58.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/GetLiabilityLimitsDeductibleDtoIApiResponse" }, "example": { "data": { "quoteId": 10677588, "masterAccountId": 24786342, "deductible": 0, "priceComponents": { "glPremium": 2544, "propertyPremium": 1385, "netPremium": 3929, "fees": 76, "commissionRate": 15 }, "limits": { "liabilityOccurrence": 1000000, "generalAggregate": 2000000, "medicalExpenses": 5000, "personalAndAdvInjury": 1000000, "productsAggregate": 2000000, "damagesToRentalPremises": 100000 } }, "responseId": "644dacf5973d", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "87917dcbc5b7", "timeStamp": "2026-07-15T11:55:58.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/v2/quotes/quote-rate": { "post": { "tags": [ "Quotes" ], "summary": "Create rated quote", "description": "This endpoint takes in all information necessary to return a quote and price indication", "operationId": "post-api-v2-quotes-quote-rate", "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "text/json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/FullQuoteRateDtoV2" }, "example": { "locations": [ { "commercialProperty": { "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1Y - 5Y", "buildings": [ { "id": 0, "classCodeID": 128, "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "yearRoofUpdated": null, "yearElectricalUpdated": null, "yearPlumbingUpdated": null, "yearHeatingUpdated": null, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Including Theft)", "clayConcreteExteriorWalls": null, "groupIIConstruction": null, "coveragesContainer": { "building": { "buildingType": "Building", "limit": 10000, "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "contents": { "personalProperty": { "limit": 10000, "coinsurance": "90" }, "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "personalPropertyValuation": "ReplacementExcludingStock", "watchman": "SignalToCentralStation", "limit": 10000, "coinsurance": "90" } }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "coinsurance": "80" } } } ] }, "classCodes": [ { "classCode": 15061, "exposure": 75000 }, { "classCode": 43840, "exposure": 75000 }, { "classCode": 44311, "exposure": 10000 } ], "locationScheduleOnFile": false, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" } ], "liabilityLimits": { "liabilityOccurence": null, "liabilityOccurrence": "25,000", "personalAndAdvInjury": "0 (Excluded)", "generalAggregate": "50,000", "productsAggregate": "0 (Excluded)", "medicalExpenses": "0 (Excluded)", "damagesToRentalPremises": "0 (Excluded)" }, "primaryInsured": "Name", "dbaName": "Test dba", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "agentContactId": 1234, "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "digitalClientWorkflow": null } } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "748d7497fb51", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "32cd3215d04e", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetQuoteResponseDtoV2IApiResponse" }, "example": { "data": { "locations": [ { "commercialProperty": { "buildings": [ { "coveragesContainer": { "contents": { "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "watchman": "SignalToCentralStation", "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": null } }, "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25 } ], "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X" }, "id": 1, "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114", "classCodes": [], "hail": { "riskScore": "1" }, "wildfire": { "distanceToHighRisk": "797", "distanceToHighRiskInMiles": "0.15", "riskLevel": "2", "riskScore": "60" }, "locationScheduleOnFile": false } ], "quoteId": 1234567, "primaryInsured": "Name", "primaryAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "mailingAddress": { "line1": "800 Superior Ave", "line2": "Suite A", "city": "Cleveland", "territory": "OH", "postalCode": "44114" }, "effectiveDate": "2026-07-17", "expirationDate": "2028-07-17", "agentContactName": "Daniel Angelo", "facilityCodes": [ "SB - Machine Shops Program" ], "deductible": 500, "masterAccountId": 24786342, "dbaName": "DbaName", "priceComponents": { "glPremium": 0, "propertyPremium": 0, "netPremium": 1000.5, "fees": 10.5, "commissionRate": 0 }, "limits": { "liabilityOccurrence": 1000000, "generalAggregate": 2000000, "medicalExpenses": 5000, "personalAndAdvInjury": 1000000, "productsAggregate": 2000000, "damagesToRentalPremises": 100000 }, "digitalClientWorkflow": null, "quoteStatus": null }, "responseId": "0a6e10a3f9aa", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "802f9de97ffd", "timeStamp": "2026-07-15T11:55:58.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/v2/quotes/{quoteId}/locations/{locationId}/commercial-property/{buildingId}": { "patch": { "tags": [ "Location" ], "summary": "Update Commercial Property", "description": "This endpoint updates the commercial property information

The commercial property ids can be located in the GET Quote Information response.

A quote is no longer editable if it meets one of the following criteria:

", "operationId": "patch-api-v2-quotes-quoteid-locations-locationid-commercial-property-buildin", "parameters": [ { "name": "quoteId", "in": "path", "required": true, "schema": { "minimum": 1.0, "type": "integer", "format": "int32" } }, { "name": "locationId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "buildingId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/JsonPatchDocument" }, "example": [ { "op": "string", "value": "string", "path": "string", "from": "string" } ] } } }, "responses": { "401": { "description": "Bad or expired token. To resolve this error, generate a new or refreshed token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedErrorIApiResponse" }, "example": { "responseId": "be466997f89e", "timeStamp": "2026-07-15T11:55:58.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": "The authenticated user or client does not have required permissions to complete this request.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenErrorIApiResponse" }, "example": { "responseId": "cdabe95155f9", "timeStamp": "2026-07-15T11:55:58.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" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostCommercialPropertyResponseDtoV2IApiResponse" }, "example": { "data": { "buildings": [ { "coveragesContainer": { "contents": { "personalPropertyOfOthers": { "alarmConnection": "CentralStationWithKeys", "watchman": "SignalToCentralStation", "personalPropertyValuation": "ReplacementExcludingStock", "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" }, "personalProperty": { "limit": 10000, "coinsurance": "90", "causeOfLoss": "Special (Including Theft)" } }, "building": { "buildingType": "Building", "limit": 10000, "causeOfLoss": "Special (Excluding Theft)", "coinsurance": "90", "buildingValuation": "ActualCashValue" }, "businessIncomeWithExtraExpense": { "coverageBasis": "MaximumPeriodOfIndemnity", "limit": 10000, "monthlyLimitation": "NotApplicable", "typeOfRisk": "MercantileAndNonManufacturing", "causeOfLoss": "Special (Including Theft)", "coinsurance": "100" } }, "id": 645093, "classCode": "7074", "description": "Candy store", "construction": 1, "totalSquareFootage": 2, "yearBuilt": 2018, "numberOfStories": 2, "coinsurance": "90", "sprinkleredBuilding": "Yes", "causeOfLoss": "Special (Excluding Theft)", "ratingPlan": "Specific", "specificGroupLossCostBuilding": 0.25, "specificGroupLossCostContents": 0.25 } ], "quoteId": 983428, "masterAccountId": 32529301, "locationId": 1, "priceComponents": { "glPremium": 1200, "propertyPremium": 1389, "totalPremium": 3067, "fees": 478 }, "deductible": 500, "generalLiabilityLimits": { "liabilityOccurrence": "200,000", "generalAggregate": "200,000", "productsAggregate": "200,000", "personalAdvAndInjury": "100,000", "medicalExpenses": "300,000", "damagesToPremisesRentedToYou": "100,000" }, "packageModification": "Not Applicable", "cpDeductible": "$500", "windHailDeductible": "AOP", "protectionClass": "1X-5X" }, "responseId": "2b16a6bd6ac2", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 201, "isOk": true, "messages": [ { "httpStatusCode": 200, "messageCode": "Deeplink", "title": "https://devk8s.amtrustgroup.com/usertest/webapp-nexus/AccountManagement/24786342", "isOk": true } ], "maxMessageIndex": 0, "_v": "AD" } } } }, "400": { "description": "Validation error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestErrorIApiResponse" }, "example": { "responseId": "03f13bf8c255", "timeStamp": "2026-07-15T11:55:58.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": "e5e4918ab3ca", "timeStamp": "2026-07-15T11:55:58.0000000+00:00", "httpStatusCode": 404, "isOk": false, "errors": [ { "httpStatusCode": 404, "messageCode": "ERR-ItemNotFound", "title": "Item was not found", "isOk": false } ], "maxErrorIndex": 0, "_v": "AD" } } } } } } } }, "components": { "schemas": { "Address": { "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, "pattern": "^\\d{5}(-\\d{4})?$", "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 }, "BuildingCoverageDto": { "required": [ "buildingType", "buildingValuation", "coinsurance", "limit" ], "type": "object", "properties": { "buildingType": { "minLength": 1, "type": "string" }, "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "minLength": 1, "type": "string" }, "buildingValuation": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "BuildingCoverageResponseDto": { "type": "object", "properties": { "buildingType": { "type": "string", "nullable": true }, "limit": { "type": "integer", "format": "int32" }, "causeOfLoss": { "type": "string", "nullable": true }, "coinsurance": { "type": "string", "nullable": true }, "buildingValuation": { "type": "string", "nullable": true } }, "additionalProperties": false }, "BusinessIncomeWithExtraExpenseCoverageDto": { "required": [ "coverageBasis", "limit", "monthlyLimitation", "typeOfRisk" ], "type": "object", "properties": { "coverageBasis": { "minLength": 1, "type": "string" }, "limit": { "type": "integer", "format": "int32" }, "monthlyLimitation": { "minLength": 1, "type": "string" }, "typeOfRisk": { "minLength": 1, "type": "string" }, "coinsurance": { "type": "string", "nullable": true } }, "additionalProperties": false }, "BusinessIncomeWithExtraExpenseCoverageResponseDto": { "type": "object", "properties": { "coverageBasis": { "type": "string", "nullable": true }, "limit": { "type": "integer", "format": "int32" }, "monthlyLimitation": { "type": "string", "nullable": true }, "typeOfRisk": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true }, "coinsurance": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ClassCodeDto": { "required": [ "classCode", "exposure" ], "type": "object", "properties": { "classCode": { "type": "integer", "format": "int32" }, "exposure": { "maximum": 2147483647.0, "minimum": 1.0, "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ClassCodeResponseDto": { "type": "object", "properties": { "classCode": { "type": "integer", "format": "int32" }, "exposure": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ClassCodeResponseDtoIEnumerableIApiResponse": { "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/ClassCodeResponseDto" }, "nullable": true } }, "additionalProperties": false }, "CommercialPropertyBuildingResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "classCode": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "classCodeID": { "type": "integer", "format": "int32", "nullable": true }, "classCodeDescription": { "type": "string", "nullable": true, "readOnly": true }, "construction": { "$ref": "#/components/schemas/Construction" }, "totalSquareFootage": { "type": "integer", "format": "int32" }, "yearBuilt": { "type": "integer", "format": "int32" }, "numberOfStories": { "type": "integer", "format": "int32" }, "coinsurance": { "type": "string", "nullable": true }, "sprinkleredBuilding": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true }, "ratingPlan": { "type": "string", "nullable": true }, "specificGroupLossCostBuilding": { "type": "number", "format": "double" }, "specificGroupLossCostContents": { "type": "number", "format": "double" }, "coveragesContainer": { "$ref": "#/components/schemas/CoveragesContainerResponseDto" } }, "additionalProperties": false }, "CommercialPropertyBuildingResponseV2": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "classCode": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "classCodeID": { "type": "integer", "format": "int32", "nullable": true }, "classCodeDescription": { "type": "string", "nullable": true, "readOnly": true }, "construction": { "$ref": "#/components/schemas/Construction" }, "totalSquareFootage": { "type": "integer", "format": "int32" }, "yearBuilt": { "type": "integer", "format": "int32" }, "numberOfStories": { "type": "integer", "format": "int32" }, "coinsurance": { "type": "string", "nullable": true }, "sprinkleredBuilding": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true }, "ratingPlan": { "type": "string", "nullable": true }, "specificGroupLossCostBuilding": { "type": "number", "format": "double" }, "specificGroupLossCostContents": { "type": "number", "format": "double" }, "coveragesContainer": { "$ref": "#/components/schemas/CoveragesContainerResponseDtoV2" }, "yearRoofUpdated": { "type": "integer", "format": "int32", "nullable": true }, "yearElectricalUpdated": { "type": "integer", "format": "int32", "nullable": true }, "yearPlumbingUpdated": { "type": "integer", "format": "int32", "nullable": true }, "yearHeatingUpdated": { "type": "integer", "format": "int32", "nullable": true }, "clayConcreteExteriorWalls": { "type": "boolean", "nullable": true }, "groupIIConstruction": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Construction": { "enum": [ "1 = Frame", "2 = JoistedMasonry", "3 = NonCombustible", "4 = MasonryNonCombustible", "5 = ModifiedFireResistive", "6 = FireResistive" ], "type": "integer", "format": "int32" }, "ContentsCoverageDtoV2": { "type": "object", "properties": { "personalProperty": { "$ref": "#/components/schemas/PersonalPropertyDto" }, "personalPropertyOfOthers": { "$ref": "#/components/schemas/PersonalPropertyOfOthersDtoV2" } }, "additionalProperties": false }, "ContentsCoverageResponseDto": { "type": "object", "properties": { "personalProperty": { "$ref": "#/components/schemas/PersonalPropertyResponseDto" }, "personalPropertyOfOthers": { "$ref": "#/components/schemas/PersonalPropertyOfOthersResponseDto" } }, "additionalProperties": false }, "ContentsCoverageResponseDtoV2": { "type": "object", "properties": { "personalProperty": { "$ref": "#/components/schemas/PersonalPropertyResponseDto" }, "personalPropertyOfOthers": { "$ref": "#/components/schemas/PersonalPropertyOfOthersResponseDtoV2" } }, "additionalProperties": false }, "CoveragesContainerDtoV2": { "type": "object", "properties": { "building": { "$ref": "#/components/schemas/BuildingCoverageDto" }, "contents": { "$ref": "#/components/schemas/ContentsCoverageDtoV2" }, "businessIncomeWithExtraExpense": { "$ref": "#/components/schemas/BusinessIncomeWithExtraExpenseCoverageDto" } }, "additionalProperties": false }, "CoveragesContainerResponseDto": { "type": "object", "properties": { "building": { "$ref": "#/components/schemas/BuildingCoverageResponseDto" }, "contents": { "$ref": "#/components/schemas/ContentsCoverageResponseDto" }, "businessIncomeWithExtraExpense": { "$ref": "#/components/schemas/BusinessIncomeWithExtraExpenseCoverageResponseDto" } }, "additionalProperties": false }, "CoveragesContainerResponseDtoV2": { "type": "object", "properties": { "building": { "$ref": "#/components/schemas/BuildingCoverageResponseDto" }, "contents": { "$ref": "#/components/schemas/ContentsCoverageResponseDtoV2" }, "businessIncomeWithExtraExpense": { "$ref": "#/components/schemas/BusinessIncomeWithExtraExpenseCoverageResponseDto" } }, "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 }, "FullQuoteRateDtoV2": { "required": [ "effectiveDate", "mailingAddress", "primaryAddress", "primaryInsured" ], "type": "object", "properties": { "primaryInsured": { "maxLength": 90, "minLength": 1, "type": "string" }, "dbaName": { "maxLength": 90, "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "description": "Cannot be before today or more than 110 days in the future", "format": "date-time" }, "agentContactId": { "maximum": 2147483647.0, "minimum": 1.0, "type": "integer", "format": "int32", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "integer", "format": "int32" }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "locations": { "type": "array", "items": { "$ref": "#/components/schemas/PostLocationWithPropertyDtoV2" }, "nullable": true }, "liabilityLimits": { "$ref": "#/components/schemas/PostLiabilityLimitsDto" } }, "additionalProperties": false }, "GeneralLiabilityLimits": { "type": "object", "properties": { "liabilityOccurrence": { "type": "string", "nullable": true }, "generalAggregate": { "type": "string", "nullable": true }, "productsAggregate": { "type": "string", "nullable": true }, "personalAdvAndInjury": { "type": "string", "nullable": true }, "medicalExpenses": { "type": "string", "nullable": true }, "damagesToPremisesRentedToYou": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetClassCodesDto": { "type": "object", "properties": { "classCode": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "exposureBasis": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetClassCodesDtoIEnumerableIApiResponse": { "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/GetClassCodesDto" }, "nullable": true } }, "additionalProperties": false }, "GetCommercialPropertyDto": { "type": "object", "properties": { "packageModification": { "type": "string", "nullable": true, "readOnly": true }, "cpDeductible": { "type": "string", "nullable": true }, "windHailDeductible": { "type": "string", "nullable": true }, "protectionClass": { "type": "string", "nullable": true }, "buildings": { "type": "array", "items": { "$ref": "#/components/schemas/CommercialPropertyBuildingResponse" }, "nullable": true } }, "additionalProperties": false }, "GetCommercialPropertyDtoV2": { "type": "object", "properties": { "packageModification": { "type": "string", "nullable": true, "readOnly": true }, "cpDeductible": { "type": "string", "nullable": true }, "windHailDeductible": { "type": "string", "nullable": true }, "protectionClass": { "type": "string", "nullable": true }, "buildings": { "type": "array", "items": { "$ref": "#/components/schemas/CommercialPropertyBuildingResponseV2" }, "nullable": true } }, "additionalProperties": false }, "GetFacilityCodesDto": { "type": "object", "properties": { "facilityCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetFacilityCodesDtoIEnumerableIApiResponse": { "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/GetFacilityCodesDto" }, "nullable": true } }, "additionalProperties": false }, "GetLiabilityLimitsDeductibleDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "deductible": { "type": "number", "format": "double" }, "priceComponents": { "$ref": "#/components/schemas/PriceComponents" }, "limits": { "$ref": "#/components/schemas/Limits" } }, "additionalProperties": false }, "GetLiabilityLimitsDeductibleDtoIApiResponse": { "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/GetLiabilityLimitsDeductibleDto" } }, "additionalProperties": false }, "GetLocationWithPropertyDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "line1": { "type": "string", "nullable": true }, "line2": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "territory": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "classCodes": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" }, "nullable": true }, "hail": { "$ref": "#/components/schemas/HailReport" }, "wildfire": { "$ref": "#/components/schemas/WildfireReport" }, "locationScheduleOnFile": { "type": "boolean" }, "commercialProperty": { "$ref": "#/components/schemas/GetCommercialPropertyDto" } }, "additionalProperties": false }, "GetLocationWithPropertyDtoV2": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "line1": { "type": "string", "nullable": true }, "line2": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "territory": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "classCodes": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" }, "nullable": true }, "hail": { "$ref": "#/components/schemas/HailReport" }, "wildfire": { "$ref": "#/components/schemas/WildfireReport" }, "locationScheduleOnFile": { "type": "boolean" }, "commercialProperty": { "$ref": "#/components/schemas/GetCommercialPropertyDtoV2" } }, "additionalProperties": false }, "GetPropertyClassCodesDto": { "type": "object", "properties": { "classCodeId": { "type": "integer", "format": "int32", "nullable": true }, "classCode": { "type": "string", "nullable": true }, "stateApplicable": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetPropertyClassCodesDtoIEnumerableIApiResponse": { "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/GetPropertyClassCodesDto" }, "nullable": true } }, "additionalProperties": false }, "GetQuoteResponseDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "primaryInsured": { "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "format": "date-time", "nullable": true }, "expirationDate": { "type": "string", "format": "date-time" }, "agentContactName": { "type": "string", "nullable": true }, "agentContactId": { "type": "integer", "format": "int32", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "number", "format": "double" }, "locations": { "type": "array", "items": { "$ref": "#/components/schemas/GetLocationWithPropertyDto" }, "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "dbaName": { "type": "string", "nullable": true }, "priceComponents": { "$ref": "#/components/schemas/PriceComponents" }, "limits": { "$ref": "#/components/schemas/Limits" }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "quoteStatus": { "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 }, "GetQuoteResponseDtoV2": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "primaryInsured": { "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "format": "date-time", "nullable": true }, "expirationDate": { "type": "string", "format": "date-time" }, "agentContactName": { "type": "string", "nullable": true }, "agentContactId": { "type": "integer", "format": "int32", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "number", "format": "double" }, "locations": { "type": "array", "items": { "$ref": "#/components/schemas/GetLocationWithPropertyDtoV2" }, "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "dbaName": { "type": "string", "nullable": true }, "priceComponents": { "$ref": "#/components/schemas/PriceComponents" }, "limits": { "$ref": "#/components/schemas/Limits" }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "quoteStatus": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GetQuoteResponseDtoV2IApiResponse": { "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/GetQuoteResponseDtoV2" } }, "additionalProperties": false }, "GetRateDto": { "type": "object", "properties": { "priceComponents": { "$ref": "#/components/schemas/PriceComponents" }, "limits": { "$ref": "#/components/schemas/Limits" } }, "additionalProperties": false }, "GetRateDtoIApiResponse": { "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/GetRateDto" } }, "additionalProperties": false }, "HailReport": { "type": "object", "properties": { "riskScore": { "type": "string", "nullable": true } }, "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" }, "JsonPatchDocument": { "type": "array", "items": { "$ref": "#/components/schemas/Operation" }, "description": "Array of operations to perform" }, "Limits": { "type": "object", "properties": { "liabilityOccurrence": { "type": "number", "format": "double" }, "generalAggregate": { "type": "number", "format": "double" }, "medicalExpenses": { "type": "number", "format": "double" }, "personalAndAdvInjury": { "type": "number", "format": "double" }, "productsAggregate": { "type": "number", "format": "double" }, "damagesToRentalPremises": { "type": "number", "format": "double" } }, "additionalProperties": false }, "LocationDto": { "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, "pattern": "^\\d{5}(-\\d{4})?$", "type": "string" }, "classCodes": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" }, "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "locationScheduleOnFile": { "type": "boolean", "description": "When selected, supporting location validation is not automatically processed. Broker is responsible for validating location information is within binding authority." } }, "additionalProperties": false }, "LocationGetResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "line1": { "type": "string", "nullable": true }, "line2": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "territory": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "classCodes": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" }, "nullable": true }, "hail": { "$ref": "#/components/schemas/HailReport" }, "wildfire": { "$ref": "#/components/schemas/WildfireReport" }, "locationScheduleOnFile": { "type": "boolean" } }, "additionalProperties": false }, "LocationGetResponseIApiResponse": { "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/LocationGetResponse" } }, "additionalProperties": false }, "LocationGetResponseIEnumerableIApiResponse": { "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/LocationGetResponse" }, "nullable": true } }, "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 }, "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": { "op": { "type": "string", "description": "Type of operation (add, replace, copy, or move)" }, "value": { "type": "string", "description": "Value to be patched (if performing an add, replace, copy, or move)" }, "path": { "type": "string", "description": "The name of the property to be patched, using this format: /propertyName" }, "from": { "type": "string", "description": "Copies a value from one location to another within the JSON document using format: /fromPropertyName" } } }, "PatchQuoteResponseDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "primaryInsured": { "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "format": "date-time", "nullable": true }, "expirationDate": { "type": "string", "format": "date-time" }, "agentContactName": { "type": "string", "nullable": true }, "agentContactId": { "type": "integer", "format": "int32", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "number", "format": "double" }, "locations": { "type": "array", "items": { "$ref": "#/components/schemas/GetLocationWithPropertyDtoV2" }, "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "dbaName": { "type": "string", "nullable": true }, "priceComponents": { "$ref": "#/components/schemas/PriceComponents" }, "limits": { "$ref": "#/components/schemas/Limits" }, "digitalClientWorkflow": { "type": "string", "nullable": true }, "quoteStatus": { "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 }, "PersonalPropertyDto": { "required": [ "coinsurance", "limit" ], "type": "object", "properties": { "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "PersonalPropertyOfOthersDtoV2": { "required": [ "coinsurance", "limit", "personalPropertyValuation" ], "type": "object", "properties": { "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "minLength": 1, "type": "string" }, "alarmConnection": { "type": "string", "nullable": true }, "alarmProtection": { "type": "string", "nullable": true }, "personalPropertyValuation": { "minLength": 1, "type": "string" }, "watchman": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PersonalPropertyOfOthersResponseDto": { "type": "object", "properties": { "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true }, "alarmConnection": { "type": "string", "nullable": true }, "alarmProtection": { "type": "string", "nullable": true }, "personalPropertyValuation": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PersonalPropertyOfOthersResponseDtoV2": { "type": "object", "properties": { "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true }, "alarmConnection": { "type": "string", "nullable": true }, "watchman": { "type": "string", "nullable": true }, "personalPropertyValuation": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PersonalPropertyResponseDto": { "type": "object", "properties": { "limit": { "type": "integer", "format": "int32" }, "coinsurance": { "type": "string", "nullable": true }, "causeOfLoss": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostBuildingDtoV2": { "required": [ "causeOfLoss", "classCodeID", "coinsurance", "construction", "coveragesContainer", "description", "numberOfStories", "sprinkleredBuilding", "totalSquareFootage", "yearBuilt" ], "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "classCodeID": { "type": "integer", "format": "int32" }, "description": { "minLength": 1, "type": "string" }, "construction": { "$ref": "#/components/schemas/Construction" }, "totalSquareFootage": { "type": "integer", "format": "int32" }, "yearBuilt": { "type": "integer", "format": "int32" }, "yearRoofUpdated": { "type": "integer", "description": "Only required if building over 16 years old", "format": "int32", "nullable": true }, "yearElectricalUpdated": { "type": "integer", "description": "Only required if building over 16 years old", "format": "int32", "nullable": true }, "yearPlumbingUpdated": { "type": "integer", "description": "Only required if building over 16 years old", "format": "int32", "nullable": true }, "yearHeatingUpdated": { "type": "integer", "description": "Only required if building over 16 years old", "format": "int32", "nullable": true }, "numberOfStories": { "type": "integer", "format": "int32" }, "coinsurance": { "minLength": 1, "type": "string" }, "sprinkleredBuilding": { "minLength": 1, "type": "string" }, "causeOfLoss": { "minLength": 1, "type": "string" }, "clayConcreteExteriorWalls": { "type": "boolean", "description": "Only required in the state of Mississippi.", "nullable": true }, "groupIIConstruction": { "type": "string", "description": "Only required in the state of Mississippi.
Possible options: Frame, Masonry, Wind Resistive, Semi-Wind Resistive", "nullable": true }, "coveragesContainer": { "$ref": "#/components/schemas/CoveragesContainerDtoV2" } }, "additionalProperties": false }, "PostCommercialPropertyDtoV2": { "required": [ "buildings", "protectionClass" ], "type": "object", "properties": { "cpDeductible": { "type": "string", "nullable": true }, "windHailDeductible": { "type": "string", "nullable": true }, "protectionClass": { "minLength": 1, "type": "string" }, "buildings": { "type": "array", "items": { "$ref": "#/components/schemas/PostBuildingDtoV2" } } }, "additionalProperties": false }, "PostCommercialPropertyResponseDtoV2": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "masterAccountId": { "type": "integer", "format": "int32" }, "locationId": { "type": "integer", "format": "int32" }, "priceComponents": { "$ref": "#/components/schemas/PriceComponentsResponseDto" }, "deductible": { "type": "integer", "format": "int32" }, "generalLiabilityLimits": { "$ref": "#/components/schemas/GeneralLiabilityLimits" }, "packageModification": { "type": "string", "nullable": true }, "cpDeductible": { "type": "string", "nullable": true }, "windHailDeductible": { "type": "string", "nullable": true }, "protectionClass": { "type": "string", "nullable": true }, "buildings": { "type": "array", "items": { "$ref": "#/components/schemas/CommercialPropertyBuildingResponseV2" }, "nullable": true } }, "additionalProperties": false }, "PostCommercialPropertyResponseDtoV2IApiResponse": { "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/PostCommercialPropertyResponseDtoV2" } }, "additionalProperties": false }, "PostLiabilityLimitsDto": { "type": "object", "properties": { "liabilityOccurence": { "type": "string", "description": "Please do not use this field; instead use LiabilityOccurrence", "nullable": true }, "liabilityOccurrence": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "personalAndAdvInjury": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "generalAggregate": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "productsAggregate": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "medicalExpenses": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "damagesToRentalPremises": { "type": "string", "description": "This field is only required if General Liability is included on the quote.", "nullable": true } }, "additionalProperties": false }, "PostLocationWithPropertyDtoV2": { "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, "pattern": "^\\d{5}(-\\d{4})?$", "type": "string" }, "classCodes": { "type": "array", "items": { "$ref": "#/components/schemas/ClassCodeDto" }, "description": "This field is only required if General Liability is included on the quote.", "nullable": true }, "locationScheduleOnFile": { "type": "boolean", "description": "When selected, supporting location validation is not automatically processed. Broker is responsible for validating location information is within binding authority." }, "commercialProperty": { "$ref": "#/components/schemas/PostCommercialPropertyDtoV2" } }, "additionalProperties": false }, "PostQuoteDto": { "required": [ "effectiveDate", "mailingAddress", "primaryAddress", "primaryInsured" ], "type": "object", "properties": { "primaryInsured": { "maxLength": 90, "minLength": 1, "type": "string" }, "dbaName": { "maxLength": 90, "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "description": "Cannot be before today or more than 110 days in the future", "format": "date-time" }, "agentContactId": { "maximum": 2147483647.0, "minimum": 1.0, "type": "integer", "format": "int32", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "integer", "format": "int32" }, "digitalClientWorkflow": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostQuoteResponseDto": { "type": "object", "properties": { "quoteId": { "type": "integer", "format": "int32" }, "primaryInsured": { "type": "string", "nullable": true }, "primaryAddress": { "$ref": "#/components/schemas/Address" }, "mailingAddress": { "$ref": "#/components/schemas/Address" }, "effectiveDate": { "type": "string", "format": "date-time", "nullable": true }, "expirationDate": { "type": "string", "format": "date-time" }, "agentContactName": { "type": "string", "nullable": true }, "facilityCodes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deductible": { "type": "number", "format": "double" }, "locations": { "type": "array", "items": { "$ref": "#/components/schemas/LocationGetResponse" }, "nullable": true }, "masterAccountId": { "type": "integer", "format": "int32" }, "dbaName": { "type": "string", "nullable": true }, "digitalClientWorkflow": { "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 }, "PriceComponents": { "type": "object", "properties": { "glPremium": { "type": "number", "format": "double" }, "propertyPremium": { "type": "number", "format": "double" }, "netPremium": { "type": "number", "format": "double" }, "fees": { "type": "number", "format": "double" }, "commissionRate": { "type": "number", "format": "double" } }, "additionalProperties": false }, "PriceComponentsResponseDto": { "type": "object", "properties": { "glPremium": { "type": "number", "format": "double" }, "propertyPremium": { "type": "number", "format": "double" }, "totalPremium": { "type": "number", "format": "double" }, "fees": { "type": "number", "format": "double" } }, "additionalProperties": false }, "StringStringIEnumerableIDictionaryIApiResponse": { "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": "object", "additionalProperties": { "type": "array", "items": { "type": "string" }, "nullable": true }, "nullable": true } }, "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 }, "WildfireReport": { "type": "object", "properties": { "distanceToHighRisk": { "type": "string", "nullable": true }, "distanceToHighRiskInMiles": { "type": "string", "nullable": true, "readOnly": true }, "riskLevel": { "type": "string", "nullable": true }, "riskScore": { "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": "Location" }, { "name": "Quotes" }, { "name": "Agent Contacts" }, { "name": "Reference Resources" } ] }