List cost and profit centers (departments)
documentedRetrieve cost/profit centers (departments).
GET /api/latest/clients/{clientname}/departmentsDepartmentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://service.runmyaccounts.com/api/latest/clients/{{$clientname}}/departments" \
-X GET \
-H "Accept: application/json" \
-H "X-RMA-KEY: {{RUNMYACCOUNTS_API_KEY}}"