Skip to main content
GET
/
view-specific
/
{policyId}
/
assets
{
  "data": [
    {
      "type": "<string>",
      "id": "<string>",
      "lastModifiedAt": "<string>",
      "createdAt": "<string>",
      "status": "ASSET_CREATED",
      "policyId": "<string>",
      "customFields": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "name": "<string>",
      "createdOnBranch": true,
      "editedOnBranch": true,
      "startedAt": "<string>",
      "stoppedAt": "<string>",
      "cancelledAt": "<string>",
      "externalAssetId": "<string>",
      "quote": {
        "id": "<string>",
        "entityId": "<string>",
        "provider": {
          "id": "<string>",
          "version": "<string>"
        },
        "rates": [
          {
            "id": "<string>",
            "rate": 123,
            "inputs": [
              {
                "id": "<string>",
                "value": "<string>"
              }
            ]
          }
        ],
        "totalPremium": {
          "amountPreFeesAndTaxes": 123,
          "fees": [
            {
              "id": "<string>",
              "chargeType": "ONE_TIME",
              "amount": 123,
              "brokerageFirmId": "<string>"
            }
          ],
          "totalFees": 123,
          "amountWithFeesPreTaxes": 123,
          "taxes": [
            {
              "id": "<string>",
              "chargeType": "ONE_TIME",
              "amount": 123
            }
          ],
          "totalTaxes": 123,
          "amountWithFeesAndTaxes": 123
        },
        "components": [
          {
            "id": "<string>",
            "type": "PREMIUM",
            "premium": {
              "amountPreFeesAndTaxes": 123,
              "fees": [
                {
                  "id": "<string>",
                  "chargeType": "ONE_TIME",
                  "amount": 123,
                  "brokerageFirmId": "<string>"
                }
              ],
              "totalFees": 123,
              "amountWithFeesPreTaxes": 123,
              "taxes": [
                {
                  "id": "<string>",
                  "chargeType": "ONE_TIME",
                  "amount": 123
                }
              ],
              "totalTaxes": 123,
              "amountWithFeesAndTaxes": 123
            },
            "chargeType": "ONE_TIME"
          }
        ],
        "options": {
          "tier": "<string>",
          "excess": "<string>",
          "assetId": "<string>",
          "perils": [
            {
              "id": "<string>",
              "option": "<string>"
            }
          ],
          "brokerageFees": [
            {
              "brokerageFirmId": "<string>",
              "fee": 50
            }
          ]
        },
        "basePrice": 123
      },
      "proratedQuote": {
        "id": "<string>",
        "entityId": "<string>",
        "provider": {
          "id": "<string>",
          "version": "<string>"
        },
        "rates": [
          {
            "id": "<string>",
            "rate": 123,
            "inputs": [
              {
                "id": "<string>",
                "value": "<string>"
              }
            ]
          }
        ],
        "totalPremium": {
          "amountPreFeesAndTaxes": 123,
          "fees": [
            {
              "id": "<string>",
              "chargeType": "ONE_TIME",
              "amount": 123,
              "brokerageFirmId": "<string>"
            }
          ],
          "totalFees": 123,
          "amountWithFeesPreTaxes": 123,
          "taxes": [
            {
              "id": "<string>",
              "chargeType": "ONE_TIME",
              "amount": 123
            }
          ],
          "totalTaxes": 123,
          "amountWithFeesAndTaxes": 123
        },
        "components": [
          {
            "id": "<string>",
            "type": "PREMIUM",
            "premium": {
              "amountPreFeesAndTaxes": 123,
              "fees": [
                {
                  "id": "<string>",
                  "chargeType": "ONE_TIME",
                  "amount": 123,
                  "brokerageFirmId": "<string>"
                }
              ],
              "totalFees": 123,
              "amountWithFeesPreTaxes": 123,
              "taxes": [
                {
                  "id": "<string>",
                  "chargeType": "ONE_TIME",
                  "amount": 123
                }
              ],
              "totalTaxes": 123,
              "amountWithFeesAndTaxes": 123
            },
            "chargeType": "ONE_TIME"
          }
        ],
        "options": {
          "tier": "<string>",
          "excess": "<string>",
          "assetId": "<string>",
          "perils": [
            {
              "id": "<string>",
              "option": "<string>"
            }
          ],
          "brokerageFees": [
            {
              "brokerageFirmId": "<string>",
              "fee": 50
            }
          ]
        },
        "basePrice": 123
      }
    }
  ],
  "pageInfo": {
    "first": true,
    "last": true
  },
  "totalCount": 123,
  "currentPage": 123,
  "totalPages": 123
}

Path Parameters

policyId
string
required

Query Parameters

count
number
default:10

the number of items to return

page
number
default:1

the page to retrieve

whenAt
string

Optional: the whenAt datetime

simulatedAt
string

Optional: the simulatedAt datetime

branchId
string

Optional: the branchId

Response

data
object[]
required

the list of items in the page

pageInfo
object
required

the page info

totalCount
number
required

the total number of items

currentPage
number
required

the current page

totalPages
number
required

the total number of pages