POST
/
accounting
/
company_info
/
all
curl --request POST \
  --url https://api.rootfi.dev/accounting/company_info/all \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "take": 10,
  "skip": 0,
  "orderBy": {
    "base_currency": "asc"
  },
  "filter": {
    "name": {
      "eq": "Rootfi Technologies Pvt Ltd"
    }
  }
}'
{
  "data": {
    "data": [
      {
        "rootfi_id": 3732,
        "rootfi_company_id": 1672,
        "rootfi_organisation_id": 1,
        "rootfi_updated_at": "2023-10-25T13:39:29.649Z",
        "rootfi_integration_type": "ZOHO_BOOKS",
        "rootfi_created_at": "2023-10-25T13:39:29.650Z",
        "platform_id": "8635772_SB1",
        "name": "Rootfi Technologies Pvt Ltd",
        "legal_name": "Rootfi Technologies Pvt Ltd",
        "tax_number": null,
        "registration_number": null,
        "base_currency": "GBP",
        "fiscal_start_at": "2000-12-31T18:30:00.000Z",
        "org_created_at": null,
        "updated_at": "2023-03-31T03:34:00.000Z"
      }
    ],
    "total_count": 1
  },
  "request_timestamp": "2023-10-25T13:39:29.650Z",
  "response_timestamp": "2023-10-25T13:39:29.650Z",
  "request_id": "b1b9c0a0-4b1a-11ec-9b2b-0242ac130003"
}

The Company Info Data Model is designed to simplify the management and retrieval of company-related information across various accounting platforms.

curl --request POST \
  --url https://api.rootfi.dev/accounting/company_info/all \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "take": 10,
  "skip": 0,
  "orderBy": {
    "base_currency": "asc"
  },
  "filter": {
    "name": {
      "eq": "Rootfi Technologies Pvt Ltd"
    }
  }
}'

Authorizations

api_key
string
header
required

Body

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

Response

200 - application/json
data
object
required
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

request_id
string
required

The unique ID of the request