Younium API Configuration Lite
Request
POST https://api.fivetran.com/v1/connections
{ "group_id": "group_id", "service": "younium", "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": { "auth_environment": "younium-identity-server-sandbox.azurewebsites.net", "auth_type": "jwt_auth", "client_id": "your_client_id", "client_secret": "your_secret_key", "environment": "apisanbox", "jwt_environment": "api.us", "legal_entity_id": "your_younium_legal_entity_id", "password": "your_younium_password", "username": "your_younium_username", "schema": "schema_name" } }
Config parameters
| Name | Description |
|---|---|
auth_environment | Your Younium auth environment. Use this parameter only if you want the connection to authenticate using OAuth 2.0. |
auth_type | The authentication method you want to use for your connection. |
client_id | Client ID of the personal access token you want to use to generate the JWT token. Use this parameter only if you want the connection to authenticate using a JWT token. |
client_secret | Secret key of the personal access token you want to use to generate the JWT token. Use this parameter only if you want the connection to authenticate using a JWT token. |
environment | Your Younium API environment. Use this parameter only if you want the connection to authenticate using OAuth 2.0. |
jwt_environment | Your Younium API environment. Use this parameter only if you want the connection to authenticate using a JWT token. |
legal_entity_id | Your Younium legal entity ID. |
password | Your Younium password. Use this parameter only if you want the connection to authenticate using OAuth 2.0. |
username | Your Younium username. Use this parameter only if you want the connection to authenticate using OAuth 2.0. |
schema (required) | Destination schema name. Schema name is permanent and cannot be changed after connection creation |
Authorization
There are three ways to authorize this connector type:
- JWT Auth or OAuth 2.0: By specifying the
auth_typeas"jwt_auth or oauth2"in the request.POST https://api.fivetran.com/v1/connections{ "service": "younium", "group_id": "group_id", "config": { "auth_type": "jwt_auth or oauth2" } } - By specifying the values for the
auth_type,jwt_environment,client_id,client_secret,environment,auth_environment,username,passwordandlegal_entity_idparameters in the request.POST https://api.fivetran.com/v1/connections{ "service": "younium", "group_id": "group_id", "config": { "auth_type": "jwt_auth", "jwt_environment": "api.us", "client_id": "your_client_id", "client_secret": "your_secret_key", "environment": "apisanbox", "auth_environment": "younium-identity-server-sandbox.azurewebsites.net", "username": "your_younium_username", "password": "your_younium_password", "legal_entity_id": "your_younium_legal_entity_id" } } By using the Connect Card or the Fivetran dashboard.