POST
/
passthrough
curl --request POST \
  --url https://api.rootfi.dev/passthrough \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data": {
    "method": "GET",
    "headers": {},
    "path": "/Accounts",
    "data": {},
    "params": {}
  }
}'
{
  "data": {
    "Accounts": [
      {
        "AccountID": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
        "AddToWatchlist": false,
        "BankAccountNumber": "00000000",
        "BankAccountType": "BANK",
        "Class": "ASSET",
        "CurrencyCode": "INR",
        "EnablePaymentsToAccount": false,
        "HasAttachments": false,
        "Name": "Test Name",
        "ReportingCode": "ASS",
        "ReportingCodeName": "Assets",
        "ShowInExpenseClaims": false,
        "Status": "ACTIVE",
        "TaxType": "NONE",
        "Type": "BANK",
        "UpdatedDateUTC": "/Date(1687428464087+0000)/"
      }
    ],
    "DateTimeUTC": "2021-01-01T00:00:00Z",
    "Id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
    "ProviderName": "Example",
    "Status": "OK"
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2021-01-01T00:00:00Z",
  "response_timestamp": "2021-01-01T00:00:00Z"
}

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
integer
required

The company ID

data
object
required

Response

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

data
object
required