Create a Section for a Life Stage for a Firm Run in API Explorer
Ask AI
POST
/api/v1/expenditure-structure/section
curl \
--request POST 'https://api.plannrcrm.com/api/v1/expenditure-structure/section' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{
"name": "Current Lifestyle"
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Current Lifestyle"
}
Response examples (200)
[
{
"uuid": "be37c8cd-d751-4592-bbe9-88d1b8db0e6a",
"name": "House Keeping",
"position": "1",
"fields": {
"uuid": "ab9ed3fd-7c4a-402e-864f-d5690b923e29",
"name": "Electricity",
"section": "Housekeeping Expenses",
"created_at": "2026-11-17T20:47:10+00:00",
"updated_at": "2026-11-17T20:47:10+00:00"
},
"created_at": "2023-06-16T15:25:06+01:00",
"updated_at": "2023-06-16T15:25:06+01:00"
}
]
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}