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":["e1fc8096-5c37-499d-b925-3176ea479b80","8dfb88e7-6a59-4770-884f-96b40472d4a5","a6afe775-4857-4f82-9301-a8f78666dce7"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "e1fc8096-5c37-499d-b925-3176ea479b80",
    "8dfb88e7-6a59-4770-884f-96b40472d4a5",
    "a6afe775-4857-4f82-9301-a8f78666dce7"
  ],
  "has_custom_expenditures": true
}
Response examples (204)