Get a document pack

GET /api/v1/document-pack/document-pack/{id}

Path parameters

  • id string Required

    The ID of the document pack.

Responses

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

      Additional properties are allowed.

GET /api/v1/document-pack/document-pack/{id}
curl \
 -X GET https://api.plannrcrm.com/api/v1/document-pack/document-pack/id \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "name": "John's ISA",
      "uuid": "96e9dbf5-d004-4392-b099-7f5db0fd7d20",
      "created_at": "2025-01-17T11:18:31+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2025-01-17T11:18:31+00:00",
      "policy_number": "AVI-4837",
      "is_main_account": false,
      "active_portfolio": {
        "name": "Risky Portfolio",
        "uuid": "26995088-0d8f-43b3-8d1b-eb22d3a071e1",
        "created_at": "2025-01-17T11:18:31+00:00",
        "updated_at": "2025-01-17T11:18:31+00:00",
        "is_proposed": true,
        "proposed_at": "2025-01-17T00:00:00+00:00"
      },
      "latest_valuation": {
        "uuid": "87f1159e-403e-4bf3-b7df-b0dbaf6d19de",
        "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": "2025-01-17T11:18:31+00:00",
        "created_at": "2025-01-17T11:18:31+00:00",
        "updated_at": "2025-01-17T11:18:31+00:00",
        "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
      }
    }
  ]
}