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.

      Additional properties are allowed.

    • 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.

      Additional properties are allowed.

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": "a7775a97-eb12-49f2-a8d2-0cce9eb8603e",
  "level": "info",
  "context": {
    "additional": "info"
  },
  "message": "Successfully updated valuation and holdings from provider feed.",
  "created_at": "2024-11-20T13:24:03+00:00",
  "updated_at": "2024-11-20T13:24:03+00:00",
  "sub_account": {
    "name": "John's ISA",
    "uuid": "535789a7-368e-418c-95ac-ecf38494bf3a",
    "created_at": "2024-11-20T13:24:03+00:00",
    "statistics": {
      "recent_growth": 100
    },
    "updated_at": "2024-11-20T13:24:03+00:00",
    "policy_number": "AVI-4837",
    "is_main_account": false,
    "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
    "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
  }
}