OPPORTUNITIES

Put Opportunities Data

Changed on

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/

Request

  • Base URL: https://api.myaltimate.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.myaltimate.com/opportunities/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

x-tenantstring required

Request body

user_idinteger nullable
start_datestring date-time nullable
end_datestring date-time nullable

Response

Successful Response

okboolean required

Changes