POST
/
accounting
/
tracking_categories
/
all
curl --request POST \
  --url https://api.rootfi.dev/accounting/tracking_categories/all \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "take": 10,
  "skip": 0,
  "orderBy": {
    "name": "asc"
  },
  "filter": {
    "name": {
      "eq": "Test Name"
    }
  }
}'
{
  "data": {
    "data": [
      {
        "has_children": false,
        "name": "Test Name",
        "parent_id": "5000000000000279512",
        "platform_id": "5000000000000279513",
        "raw_data": {
          "Active": true,
          "FullyQualifiedName": "France:City in France",
          "Id": "5000000000000279513",
          "MetaData": {
            "CreateTime": "2023-04-11T02:52:31-07:00",
            "LastUpdatedTime": "2023-04-11T02:52:31-07:00"
          },
          "Name": "City in France",
          "ParentRef": {
            "value": "5000000000000279512"
          },
          "SubClass": true,
          "SyncToken": "0",
          "domain": "QBO",
          "sparse": false
        },
        "rootfi_company_id": 123,
        "rootfi_created_at": "2023-10-26T16:14:59.685Z",
        "rootfi_id": 123,
        "rootfi_integration_type": "QUICKBOOKS_SANDBOX",
        "rootfi_organisation_id": 1,
        "rootfi_updated_at": "2023-10-26T16:14:59.673Z",
        "status": "ACTIVE",
        "updated_at": "2023-01-17T00:00:00.000Z"
      }
    ],
    "total_count": 1
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2023-10-27T05:05:28.522Z",
  "response_timestamp": "2023-10-27T05:05:28.522Z"
}

Authorizations

api_key
string
headerrequired

Body

application/json
filter
object
orderBy
object
skip
integer | null
take
integer | null

Response

200 - application/json
data
object
required
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server