Workday Adaptive Planning API Configuration
Request
POST https://api.fivetran.com/v1/connections
{ "group_id": "group_id", "service": "workday_adaptive", "trust_certificates": true, "trust_fingerprints": true, "run_setup_tests": true, "paused": false, "pause_after_trial": false, "sync_frequency": 1440, "data_delay_sensitivity": "NORMAL", "data_delay_threshold": 0, "daily_sync_time": "14:00", "schedule_type": "auto", "connect_card_config": { "redirect_uri": "https://your.site/path", "hide_setup_guide": true }, "proxy_agent_id": "proxy_agent_id", "private_link_id": "private_link_id", "networking_method": "Directly", "hybrid_deployment_agent_id": "hybrid_deployment_agent_id", "destination_configuration": { "virtual_warehouse": "virtual_warehouse" }, "destination_schema_names": "SOURCE_NAMING", "config": { "reports": [ { "include_zero_rows": true, "sync_descendant_levels": true, "version_sync_strategy": "SYNC_SELECT_VERSIONS | SYNC_ALL_AND_NEW_VERSIONS", "sync_descendant_accounts": true, "level_sync_mode": "SYNC_ALL_LEVELS", "selected_levels": [ "string" ], "selected_accounts": [ "string" ], "account_sync_mode": "SYNC_ALL_ACCOUNTS", "versions": [ "string" ], "currency": "string", "accounts": [ { "flag": true, "id": "1,false" } ], "table": "string", "levels": [ { "flag": true, "id": "string" } ], "dimensions": [ "string" ] } ], "password": "string", "instance_code": "string", "login": "string", "schema": "schema_name" } }
Config parameters
| Name | Description |
|---|---|
reports | Custom Report |
reports[0].include_zero_rows | Include zero rows in the table sync. |
reports[0].sync_descendant_levels | Flag to indicate if descendant levels should be included for the selected levels. |
reports[0].version_sync_strategy | Version sync strategy for the table, SYNC_ALL_AND_NEW_VERSIONS or SYNC_SELECT_VERSIONS. |
reports[0].sync_descendant_accounts | Flag to indicate if descendant accounts should be included for the selected accounts. |
reports[0].level_sync_mode | Level sync mode for the table. Options: SYNC_ALL_LEVELS (sync all levels) or SELECT_SPECIFIC_LEVELS (sync selected levels only). |
reports[0].selected_levels | List of level IDs to sync when levelSyncMode is SELECT_SPECIFIC_LEVELS. |
reports[0].selected_accounts | List of account IDs to sync when accountSyncMode is SELECT_SPECIFIC_ACCOUNTS. Each ID should be in the format: <accountId>,<isAssumption> (e.g., 1,false). |
reports[0].account_sync_mode | Account sync mode for the table. Options: SYNC_ALL_ACCOUNTS (sync all accounts) or SELECT_SPECIFIC_ACCOUNTS (sync selected accounts only). |
reports[0].versions | List of versions to sync for the table, if versionSyncStrategy is SYNC_SELECT_VERSIONS. |
reports[0].currency | List of currencies to sync for the table, if applicable. |
reports[0].accounts | List of accounts to sync for the table, if applicable. |
reports[0].accounts[0].flag | Flag to indicate if descendants are included or not. |
reports[0].accounts[0].id | Account ID and isAssumption flag (true or false) are separated by a comma. The isAssumption flag indicates whether the account is used for assumptions. |
reports[0].table | Table name to be synced. |
reports[0].levels | List of levels to sync for the table, if applicable. |
reports[0].levels[0].flag | Flag to indicate if descendants are included or not. |
reports[0].levels[0].id | Level ID to sync. |
reports[0].dimensions | List of dimensions to sync for the table, if applicable. |
password | User password |
instance_code | Instance code for Workday Adaptive Planning. |
login | User email address |
schema (required) | Destination schema name. Schema name is permanent and cannot be changed after connection creation |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the
loginandpasswordparameters in the request.POST https://api.fivetran.com/v1/connections{ "service": "workday_adaptive", "group_id": "group_id", "config": { "login": "string", "password": "string" } } By using the Connect Card or the Fivetran dashboard.