POST /api/v1/expenditure-structure/section/set-custom-expenditure
application/json

Body

  • section_uuids array[string(uuid)] Required

    An ordered array of Expenditure Life Stage Section UUID’s.

  • has_custom_expenditures boolean

    Whether the Expenditure Life Stage Section accepts custom expenditures.

Responses

  • 204 application/json
POST /api/v1/expenditure-structure/section/set-custom-expenditure
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/expenditure-structure/section/set-custom-expenditure' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"section_uuids":["705f68f3-0aa3-4858-8a40-c8986ceb9679","5aa59690-eb9b-4447-8bf8-bfa4d257df93","fe832608-74b9-485a-bf08-589c73c324c8"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "705f68f3-0aa3-4858-8a40-c8986ceb9679",
    "5aa59690-eb9b-4447-8bf8-bfa4d257df93",
    "fe832608-74b9-485a-bf08-589c73c324c8"
  ],
  "has_custom_expenditures": true
}
Response examples (204)
{}