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":["2d3f628f-183c-425c-b963-535e4931c414","dfa52a7c-c1a3-4a04-88f2-368969a22a97","b29c7444-7c47-4a9b-b089-47cc9d8887fe"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "2d3f628f-183c-425c-b963-535e4931c414",
    "dfa52a7c-c1a3-4a04-88f2-368969a22a97",
    "b29c7444-7c47-4a9b-b089-47cc9d8887fe"
  ],
  "has_custom_expenditures": true
}
Response examples (204)
{}