Update a Field for a Life Stage Section for a Firm

PUT /api/v1/expenditure-structure/field/{lifeStageField_uuid}

Path parameters

application/json

Body Required

Responses

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

      uuid of the Life Stage Field.

    • name string

      The name of the Life Stage Field.

    • section string

      The parent Life Stage Section of Field. Example: "Housekeeping Expenses"

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

PUT /api/v1/expenditure-structure/field/{lifeStageField_uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v1/expenditure-structure/field/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":"Electricity","life_stage_section_uuid":"dcf0-484e-a0c5-08590fe89a84-f6aa1670"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Electricity",
  "life_stage_section_uuid": "dcf0-484e-a0c5-08590fe89a84-f6aa1670"
}
Response examples (200)
{
  "name": "Electricity",
  "uuid": "6c00ba3d-21db-4129-837d-d63ea39b5932",
  "section": "Housekeeping Expenses",
  "created_at": "2024-11-20T13:23:59+00:00",
  "updated_at": "2024-11-20T13:23:59+00:00"
}