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": [
"670390a2-1d87-4e19-8e70-3617577a7771",
"8a01c046-a471-4922-a69f-6d7f397094bf",
"2cc168f6-99c9-4edf-ab5d-2dd268705ac7"
],
"has_custom_expenditures": true
}'
Request examples
{
"section_uuids": [
"670390a2-1d87-4e19-8e70-3617577a7771",
"8a01c046-a471-4922-a69f-6d7f397094bf",
"2cc168f6-99c9-4edf-ab5d-2dd268705ac7"
],
"has_custom_expenditures": true
}
Response examples (204)
{}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}