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":["a1805b37-0489-4e5a-86ea-167842964eeb","893ae99e-1a8d-41cf-bb43-d7c8d99ec846","b8c38279-c96c-425d-84de-b11adc8a581e"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "a1805b37-0489-4e5a-86ea-167842964eeb",
    "893ae99e-1a8d-41cf-bb43-d7c8d99ec846",
    "b8c38279-c96c-425d-84de-b11adc8a581e"
  ],
  "has_custom_expenditures": true
}
Response examples (204)