Update the custom expenditures setting across all uuids Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "PlannrCRM MCP server": {
    "url": "https://apidocs.plannrcrm.com/mcp"
  }
}

Close
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
  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • message string Required

      A human-readable description of the error.

    • errors object

      Validation messages keyed by the field that failed.

      Hide errors attribute Show errors attribute object
      • * array[string] Additional properties
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":["99e2cb4d-660a-4271-ba99-7ab8536316a8","de625d45-caa2-46bd-ac5b-226792fb06f4","58c5cfe5-ef24-4e0f-98ad-2a567c6725bc"],"has_custom_expenditures":true}'
Request examples
{
  "section_uuids": [
    "99e2cb4d-660a-4271-ba99-7ab8536316a8",
    "de625d45-caa2-46bd-ac5b-226792fb06f4",
    "58c5cfe5-ef24-4e0f-98ad-2a567c6725bc"
  ],
  "has_custom_expenditures": true
}
Response examples (204)
{}
Response examples (422)
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is invalid."
    ]
  }
}