Update a data source account
curl --request PUT \
--url https://app.herondata.io/api/data_source_accounts/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"is_enabled": true
}'
{
"account_id": "202348",
"anomaly_score": 200,
"balances": [
{
"closing_amount": 25000.45,
"currency": "USD",
"date": "2022-01-01"
}
],
"currency": "USD",
"end_date": "2022-01-31",
"heron_id": "dso_ha9uoam3whm2uQzyLVSaxS",
"institution_name": "Chase",
"is_enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"name": "Checking Account",
"num_transactions": 120,
"number": "123456789",
"owner_name": "John Doe",
"reference_id": "account-202348",
"start_date": "2022-01-01",
"transactions_match_balances": true,
"type": "Checking"
}
Ok
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://app.herondata.io/api/data_source_accounts/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"is_enabled": true
}'
{
"account_id": "202348",
"anomaly_score": 200,
"balances": [
{
"closing_amount": 25000.45,
"currency": "USD",
"date": "2022-01-01"
}
],
"currency": "USD",
"end_date": "2022-01-31",
"heron_id": "dso_ha9uoam3whm2uQzyLVSaxS",
"institution_name": "Chase",
"is_enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"name": "Checking Account",
"num_transactions": 120,
"number": "123456789",
"owner_name": "John Doe",
"reference_id": "account-202348",
"start_date": "2022-01-01",
"transactions_match_balances": true,
"type": "Checking"
}
Update a data source account
curl --request PUT \
--url https://app.herondata.io/api/data_source_accounts/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"is_enabled": true
}'
{
"account_id": "202348",
"anomaly_score": 200,
"balances": [
{
"closing_amount": 25000.45,
"currency": "USD",
"date": "2022-01-01"
}
],
"currency": "USD",
"end_date": "2022-01-31",
"heron_id": "dso_ha9uoam3whm2uQzyLVSaxS",
"institution_name": "Chase",
"is_enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"name": "Checking Account",
"num_transactions": 120,
"number": "123456789",
"owner_name": "John Doe",
"reference_id": "account-202348",
"start_date": "2022-01-01",
"transactions_match_balances": true,
"type": "Checking"
}
Ok
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://app.herondata.io/api/data_source_accounts/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"is_enabled": true
}'
{
"account_id": "202348",
"anomaly_score": 200,
"balances": [
{
"closing_amount": 25000.45,
"currency": "USD",
"date": "2022-01-01"
}
],
"currency": "USD",
"end_date": "2022-01-31",
"heron_id": "dso_ha9uoam3whm2uQzyLVSaxS",
"institution_name": "Chase",
"is_enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"name": "Checking Account",
"num_transactions": 120,
"number": "123456789",
"owner_name": "John Doe",
"reference_id": "account-202348",
"start_date": "2022-01-01",
"transactions_match_balances": true,
"type": "Checking"
}