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":["d6e8c041-f3f9-443d-be37-c0fe8b9dc4e0","22b91660-b8b0-407a-b173-8b8e8caec340","3c4200f9-45b3-4c14-b3d5-ee87e0154d6a"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "d6e8c041-f3f9-443d-be37-c0fe8b9dc4e0",
    "22b91660-b8b0-407a-b173-8b8e8caec340",
    "3c4200f9-45b3-4c14-b3d5-ee87e0154d6a"
  ],
  "has_custom_expenditures": true
}
Response examples (204)
{}