Get all valuations

GET /api/v1/plans/{plan_uuid}/valuations/{subAccount}

Path parameters

Query parameters

  • Filter by a comma separated list of UUIDs.

  • sort string

    Field to sort by. Valid fields are [valued_at]. Negative sign to denote DESC. Defaults to 'valued_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/plans/{plan_uuid}/valuations/{subAccount}
curl \
 -X GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/valuations/subAccount \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "uuid": "e1c42659-2787-4b03-9266-144de6a9ac94",
      "value": {
        "amount": {
          "example": "4000",
          "description": "Money amount at their lowest denominator (for example: pennies)"
        },
        "currency": {
          "example": "GBP",
          "description": "Currency of the money"
        },
        "formatted": {
          "example": "£40.00",
          "description": "Money amount formatted with currency"
        }
      },
      "valued_at": "2024-11-20T13:24:03+00:00",
      "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": "ddb55cc2-e752-498d-99be-0c79feaabe20",
        "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"
      }
    }
  ]
}