Get all the provider feed logs for a given plan

GET /api/v1/plans/{plan_uuid}/provider-feed-logs

Path parameters

  • plan_uuid string Required

    uuid The UUID of the group scheme plan.

Query parameters

  • Filter by a comma separated list of sub account UUIDs.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, level]. 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 attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • The sub-account if the log was added to the sub-account level.

    • level string

      The level of the log. Available options: info, warning and error

    • message string

      The message of the log

    • context object

      Key-value store for additional information about the log.

GET /api/v1/plans/{plan_uuid}/provider-feed-logs
curl \
 -X GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/provider-feed-logs \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "uuid": "3a2bb8fd-231e-427b-b0b5-a0dcd47e1cc4",
  "level": "info",
  "context": {
    "additional": "info"
  },
  "message": "Successfully updated valuation and holdings from provider feed.",
  "created_at": "2024-10-16T11:10:16+01:00",
  "updated_at": "2024-10-16T11:10:16+01:00",
  "sub_account": {
    "name": "John's ISA",
    "uuid": "0ec6208a-d994-4e3d-adf5-ab7fcfad78bc",
    "created_at": "2024-10-16T11:10:16+01:00",
    "statistics": {
      "recent_growth": 100
    },
    "updated_at": "2024-10-16T11:10:16+01:00",
    "policy_number": "AVI-4837",
    "is_main_account": false,
    "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
    "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
  }
}