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":["65e7eccc-3bce-402e-b82a-c8ceb1d57626","7301546c-2e11-4fef-a2e5-0b4412038c6c","51ce998c-e326-4084-8bfd-3d279aa4d6c0"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "65e7eccc-3bce-402e-b82a-c8ceb1d57626",
    "7301546c-2e11-4fef-a2e5-0b4412038c6c",
    "51ce998c-e326-4084-8bfd-3d279aa4d6c0"
  ],
  "has_custom_expenditures": true
}
Response examples (204)
{}