Update the custom expenditures setting across all uuids
Headers
-
Content-Type string
-
Accept string
Body Required
-
An ordered array of Expenditure Life Stage Section UUID’s.
-
has_custom_expenditures boolean
Whether the Expenditure Life Stage Section accepts custom expenditures.
POST
/api/v1/expenditure-structure/section/set-custom-expenditure
curl \
-X POST https://api.plannrcrm.com/api/v1/expenditure-structure/section/set-custom-expenditure \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"section_uuids":["7b80cdcd-0ded-4dab-9e61-519ce3a8774b","bce65b09-4a35-4164-9a0d-c7d84f628ade","f115aaac-4205-4b96-b33d-9939e485e403","fdbc3c7b-efa6-494d-af39-5e592b297318","8696a53d-cd15-489f-8e55-2dc5a1bc4787"],"has_custom_expenditures":"true"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"section_uuids": [
"7b80cdcd-0ded-4dab-9e61-519ce3a8774b",
"bce65b09-4a35-4164-9a0d-c7d84f628ade",
"f115aaac-4205-4b96-b33d-9939e485e403",
"fdbc3c7b-efa6-494d-af39-5e592b297318",
"8696a53d-cd15-489f-8e55-2dc5a1bc4787"
],
"has_custom_expenditures": "true"
}