Skip to content

List spend categories

Request

List all spend categories

Security
authorization
GET
/data-api/v1/catalog/spend_categories
curl -i -X GET \
  https://api.hginsights.com/data-api/v1/catalog/spend_categories \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Spend categories

Bodyapplication/json
countinteger

Record count

Example:1
dataArray of objects(SpendCategories)
Example:
[ { "exportName": "export_foo_bar", "id": "5D8B4B61BA2C56471268612D83903B6", "name": "Application Led Outsourcing", "nameTree": [], "parentId": "1DF1C16E82351BD6ABC74D230191CD1E" } ]
Response
{ "count": 1, "data": [ {} ] }