Update a Section for a Life Stage for a Firm

PUT /api/v1/expenditure-structure/section/{lifeStageSection_uuid}

Path parameters

application/json

Body Required

  • name string Required

    The name of the Expenditure Life Stage Section.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      uuid of the Expenditure Life Stage Section

    • name string

      The name of the Expenditure Life Stage Section. This is the name that will be displayed to the client.

    • position string

      The expected position of the Expenditure Life Stage Section in any listing of the Expenditure Life Stage Section. The first Expenditure Life Stage Section should have a position of 1, the second 2, etc.

    • fields object

      The fields associated with the Expenditure Life Stage Section.

      Additional properties are allowed.

    • timestamp of when the Expenditure was created

    • timestamp of when the Expenditure was updated

PUT /api/v1/expenditure-structure/section/{lifeStageSection_uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v1/expenditure-structure/section/dc329ca6-bf88-43ad-a398-b2507569c941 \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Children \u0026 Grandchildren Expenses"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Children & Grandchildren Expenses"
}
Response examples (200)
{
  "name": "House Keeping",
  "uuid": "be37c8cd-d751-4592-bbe9-88d1b8db0e6a",
  "fields": {
    "name": "Electricity",
    "uuid": "00eae2f7-8310-494c-b71f-bb21768cf19e",
    "section": "Housekeeping Expenses",
    "created_at": "2024-11-20T13:23:59+00:00",
    "updated_at": "2024-11-20T13:23:59+00:00"
  },
  "position": "1",
  "created_at": "2023-06-16T15:25:06+01:00",
  "updated_at": "2023-06-16T15:25:06+01:00"
}