Get all Life Stages for a Firm

GET /api/v1/life-stage

Response includes all expenditure life stages for a firm along with their associated expenditure fields in a JSON object.

Responses

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

      Additional properties are allowed.

GET /api/v1/life-stage
curl \
 -X GET https://api.plannrcrm.com/api/v1/life-stage \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "name": "Current Lifestyle",
      "uuid": "\"c538220f-6bcd-4112-834b-632a0e82fe33",
      "end_age": "28",
      "position": "1",
      "sections": {
        "name": "House Keeping",
        "uuid": "be37c8cd-d751-4592-bbe9-88d1b8db0e6a",
        "fields": "App\\Http\\Resources\\LifeStageFieldResource",
        "position": "1",
        "created_at": "2023-06-16T15:25:06+01:00",
        "updated_at": "2023-06-16T15:25:06+01:00"
      },
      "start_age": "21",
      "created_at": "2023-06-16T15:25:06+01:00",
      "updated_at": "2023-06-16T15:25:06+01:00"
    }
  ]
}