Update the custom expenditures setting across all uuids Run in API Explorer
Ask AI
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)
{}