Create a Section for a Life Stage for a Firm
Headers
-
Content-Type string
-
Accept string
Path parameters
-
The uuid of the life stage section.
POST /api/v1/expenditure-structure/section
curl \
-X POST https://api.plannrcrm.com/api/v1/expenditure-structure/section \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"Current Lifestyle"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "Current Lifestyle"
}
Response examples (200)
{
"name": "House Keeping",
"uuid": "be37c8cd-d751-4592-bbe9-88d1b8db0e6a",
"fields": {
"name": "Electricity",
"uuid": "6fa900a6-e0ae-4f24-ad1e-a8313dd6b923",
"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"
}