Get All Reports

GET /api/v1/report

Query parameters

  • Filter by a comma separated list of UUIDs.

  • Exact filter for type of report to return

  • list of adviser uuids to filter reports created by these accounts

  • sort string

    Field to sort by. Valid fields are [updated_at, created_at, name, report_type_id]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/report
curl \
 -X GET https://api.plannrcrm.com/api/v1/report \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "name": "rmar-report-2024-11-20T13:24:04+00:00",
      "uuid": "7017f533-9d62-4460-a634-1a536d759541",
      "files": [
        {
          "firm": "App\\Http\\Resources\\FirmResource",
          "name": "Welcome to Plannr",
          "size": "21691783",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "type",
          "uuid": "ff21c441-8a6e-4cf0-afcb-2366bd4f9c7d",
          "parent": "Object",
          "status": "uploaded",
          "account": "App\\Http\\Resources\\AccountResource",
          "filename": "Welcome to Plannr.pdf",
          "progress": "100",
          "extension": "pdf",
          "created_at": "2024-11-20T13:24:04+00:00",
          "updated_at": "2024-11-20T13:24:04+00:00",
          "folder_name": "folder 2",
          "uploaded_at": "2024-11-20T13:24:04+00:00",
          "download_url": "https://plannr.valet/file/36e66de8-cb1a-4bff-bd42-e96811898c8e/download",
          "last_modified": "2024-11-20T13:24:04+00:00",
          "original_created_at": "2024-11-20T13:24:04+00:00"
        }
      ],
      "folder": {
        "name": "Important Documents",
        "path": "Codepotato/Important Documents",
        "slug": "important-documents",
        "uuid": "61c4f2c6-4d06-4e41-8c6c-90149db3ab1c",
        "depth": 5,
        "files": "App\\Http\\Resources\\FileResource",
        "owned": false,
        "parent": "App\\Http\\Resources\\FolderResource",
        "folders": "App\\Http\\Resources\\FolderResource",
        "parents": "App\\Http\\Resources\\FolderResource",
        "children": "App\\Http\\Resources\\FolderResource",
        "created_at": "2024-11-20T13:24:04+00:00",
        "updated_at": "2024-11-20T13:24:04+00:00",
        "files_count": 8,
        "clients_read": true,
        "participants": "App\\Http\\Resources\\FolderParticipantResource",
        "clients_write": true,
        "folders_count": 5,
        "is_root_folder": true,
        "is_pseudo_folder": true,
        "is_system_folder": true,
        "participants_count": 3,
        "show_client_permissions": true
      },
      "status": "complete",
      "progress": 100,
      "created_at": "2024-11-20T13:24:04+00:00",
      "created_by": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "493cae57-2674-4e4a-bf77-1cd3686810d4",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:04+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:04+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:04+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:04+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:04+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:04+00:00"
      },
      "updated_at": "2024-11-20T13:24:04+00:00",
      "report_type_id": "rmar"
    }
  ]
}