v5
latestOpenAPI 3.1.02026-08-081,0211,3082.1 MBOPPORTUNITIES
Put Opportunities Data
Update opportunities data in both PostgreSQL and ClickHouse databases and OS(TODO: to be removed).
Args: db: Database session for PostgreSQL access auth: Authentication token containing user info tenant: Tenant identifier tenant_alias: Alias for the tenant opportunities_data_request: Request containing opportunity changes client: OpenSearch client for legacy updates (TODO: to be removed) clickhouse_client: ClickHouse client for updating global_opportunities_aggregated table is_operation_allowed: Flag indicating if operation is allowed for tenant
Returns: StandardResponse with status and optional message
post/opportunities/
Headers
x-tenantstring required
Request body
Response
Successful Response