---
title: "Retrive Submission By Date"
url: "https://apipartners.mosaicinsurance.com/apis/trident-sandbox-1/versions/063565b3-7d5d-4ebb-9e4e-ea5966a41579/operations/listPolicies"
---

> Full API specification: https://apipartners.mosaicinsurance.com/apis/trident-sandbox-1/versions/063565b3-7d5d-4ebb-9e4e-ea5966a41579.md

# Retrive Submission By Date

`GET` `/ai/submissionbydate`

Operation ID: `listPolicies`

Retrieves a list of submissions filtered by source (e.g., MEA), class of business (e.g., cyber), and date range. Returns submission summary information including insured, broker, underwriter, dates, and status flags.

## Query parameters

- `classOfBusiness` (string, required) - Class of business type. Accepted values: `cyber`, `PL01`, `FI01`.
- `fromDate` (string, date-time, optional) - Start timestamp for filtering submissions (YYYY-MM-DDTHH:MM:SS)
- `toDate` (string, date-time, optional) - End timestamp for filtering submissions (YYYY-MM-DDTHH:MM:SS)

## Header parameters

- `X-Origination-Source` (string, required) - Identifies the calling system or channel that originated this request. Used for traceability and auditing across the platform.
- `X-Audit-UserId` (string, required) - Identifier of the end user on whose behalf this request is made, recorded for audit trail purposes.

## Responses

- `200` - Submissions list retrieved successfully
- `400` - Bad request - invalid source or class of business
- `401` - Unauthorized - Invalid or missing authentication token
- `500` - Internal server error

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Trident APIs
  version: dev
servers:
  - url: https://apinonprod.mosaicinsurance.com
    description: Generated server url
paths:
  /ai/submissionbydate:
    get:
      security:
        - api_key: []
      tags:
        - Submission Data Extraction
      summary: Retrive Submission By Date
      description: Retrieves a list of submissions filtered by source (e.g., MEA),
        class of business (e.g., cyber), and date range. Returns submission
        summary information including insured, broker, underwriter, dates, and
        status flags.
      operationId: listPolicies
      parameters:
        - $ref: "#/components/parameters/XOriginationSource"
        - $ref: "#/components/parameters/XAuditUserId"
        - name: classOfBusiness
          in: query
          description: "Class of business type. Accepted values: `cyber`, `PL01`, `FI01`."
          required: true
          schema:
            type: string
            enum:
              - cyber
              - PL01
              - FI01
          example: cyber
        - name: fromDate
          in: query
          description: Start timestamp for filtering submissions (YYYY-MM-DDTHH:MM:SS)
          required: false
          schema:
            type: string
            format: date-time
          example: 2024-01-01T00:00:00
        - name: toDate
          in: query
          description: End timestamp for filtering submissions (YYYY-MM-DDTHH:MM:SS)
          required: false
          schema:
            type: string
            format: date-time
          example: 2024-12-31T23:59:59
      responses:
        "200":
          description: Submissions list retrieved successfully
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/SubmissionListItem"
              examples:
                Submissions List Example:
                  description: Submissions List Example
                  value:
                    - brokerCompany: Marsh USA LLC
                      activityExpiryDate: 2025-07-01
                      submissionId: CY01-20241015135400
                      insured: ""
                      activityEffectiveDate: 2024-07-01
                      creationDate: 2024-10-15 19:10:00
                      underwriter: Eric Kerr
                    - brokerCompany: Aon (Bermuda) Ltd
                      activityExpiryDate: 2024-11-30
                      submissionId: CY01-20231026100555
                      insured: Veritas Capital Group GP, LLC
                      activityEffectiveDate: 2023-11-30
                      creationDate: 2024-06-25 12:06:00
                      underwriter: ""
                    - brokerCompany: Strom Winds, Inc.,
                      activityExpiryDate: 2023-06-13
                      submissionId: "8563"
                      insured: U S Bancorp
                      activityEffectiveDate: 2022-06-13
                      creationDate: 2024-06-20 22:06:00
                      underwriter: Lopez, Daisy
        "400":
          description: Bad request - invalid source or class of business
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "401":
          description: Unauthorized - Invalid or missing authentication token
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
              examples:
                Authentication Error:
                  description: Authentication Error
                  value:
                    error:
                      code: "401"
                      message: Unauthorized
        "500":
          description: Internal server error
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
security:
  - api_key: []
components:
  parameters:
    XOriginationSource:
      name: X-Origination-Source
      in: header
      required: true
      description: Identifies the calling system or channel that originated this
        request. Used for traceability and auditing across the platform.
      schema:
        type: string
      example: S01x
    XAuditUserId:
      name: X-Audit-UserId
      in: header
      required: true
      description: Identifier of the end user on whose behalf this request is made,
        recorded for audit trail purposes.
      schema:
        type: string
      example: jsmith
  schemas:
    SubmissionListItem:
      type: object
      properties:
        brokerCompany:
          type: string
        creationDate:
          type: string
        underwriter:
          type: string
        activityExpiryDate:
          type: string
          nullable: true
        activityEffectiveDate:
          type: string
          nullable: true
        submissionId:
          type: string
        insured:
          type: string
      required:
        - brokerCompany
        - creationDate
        - submissionId
        - insured
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: "#/components/schemas/ErrorDetail"
    ErrorDetail:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  securitySchemes:
    api_key:
      type: apiKey
      name: x-api-key
      in: header
```
