# List spend categories List all spend categories Endpoint: GET /data-api/v1/catalog/spend_categories Security: authorization ## Response 200 fields (application/json): - `count` (integer) Record count Example: 1 - `data` (array) Example: [{"exportName":"export_foo_bar","id":"5D8B4B61BA2C56471268612D83903B6","name":"Application Led Outsourcing","nameTree":["Total IT","Total External IT","Services","Application Led Outsourcing"],"parentId":"1DF1C16E82351BD6ABC74D230191CD1E"}] - `data.exportName` (string, required) Spend category export name Example: "export_foo_bar" - `data.id` (any, required) A unique hexadecimal identifier for the desired field. Example: "1698C53EBC888758570396E0334965C1" - `data.name` (string, required) Spend category name Example: "Application Led Outsourcing" - `data.nameTree` (array, required) Spend category name tree Example: ["Total IT","Total External IT","Services","Application Led Outsourcing"] - `data.parentId` (string, required) Spend category parent ID Example: "1DF1C16E82351BD6ABC74D230191CD1E" ## Response 401 fields (application/json): - `errors` (array) - `errors.detail` (string, required) Example: "The token provided is not valid" - `errors.source` (object) - `errors.title` (string, required) Example: "Unauthorized" ## Response 422 fields (application/json): - `errors` (array, required) - `errors.detail` (string, required) Example: "null value where string expected" - `errors.source` (object, required) - `errors.source.pointer` (string, required) Example: "/data/attributes/petName" - `errors.title` (string, required) Example: "Invalid value"