Forecast
Add a revenue stream to the forecast
post/companies/{companyId}/forecast/{forecastId}/streams
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
companyId, string uuid required
forecastId, string uuid required
Headers
X-Median-App-Surface, 'qa'
Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.
Request body
Create Forecast Stream Input required
type, 'subscription' | 'usage' | 'license' | 'onetime' | 'services_hours' | 'services_retainer' required
label, string required
position, integer
drivers, object required
Discriminated driver fields for the stream type; validated against DRIVER_BOUNDS
Response
Created stream
object required
success, boolean
data, Forecast Stream
Changes
No recorded changes to this operation across all 110 revisions of this API.