Recommendations

Update a recommendation

Changed on
patch/companies/{companyId}/recommendations/{id}

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required
id, string uuid required

Request body

UpdateRecommendationInput required
priority, 'HIGH' | 'MEDIUM'
category, string
title, string
summary, string
details, object nullable
action, string nullable
investmentCents, integer nullable
expectedAnnualReturnCents, integer nullable
currency, string

Accepted case-insensitively and normalized to uppercase by the server.

timeframe, string nullable
confidencePct, number nullable
dataSource, string nullable
status, 'pending' | 'active' | 'completed' | 'dismissed'
dismissedReason, string nullable
sourceRefs, RecommendationSourceRefInput[]

Response

Recommendation updated

RecommendationResponse required
success, boolean
data, Recommendation

Changes

    • warning

      added the new superseded enum value to the data/status response property for the response status

    • breaking

      the category request property's minLength was increased from 0 to 1

    • breaking

      the summary request property's minLength was increased from 0 to 1

    12 more changes in this revision