Forecast
Revenue API Reference
Introduction
Authentication
Adapter
File Upload
Inbound
Stage Error
Transfer Accounting
Transfer Accounting Files
Revenue Jobs
Data Collection
Report Catalog
Report Runs
Report Files
BI Views
BI View Tasks
Journal Entries
Service Health
Journal Entry Lines
Schedules and Waterfall
Approval Workflow
Reference Data
Attachments
Templates and Exports
Revenue Contracts
Revenue Contract Lines
Revenue Holds
Contract Status
Apply and Release Holds
Revenue Deferral and Release
Cost Deferral and Release
Allocation
Lines and POBs
Contract Grouping
Variable Consideration
Impairment
Usage
Billing
Purpose
Regenerates the forecast revenue schedules of the revenue contract in real time.
When to use
- After a change to the contract (for example an edit or a hold release) when you need the forecast to be current immediately, without waiting for the scheduled job.
Behavior notes
No request body is needed. Errors from the revenue engine for this operation are returned as HTTP 200 with success: false and the generic message shown in the examples, not as 4xx/5xx responses.
Security
bearerAuth
- Productionhttps://one.zuora.com/revenue/services/v1/revenue-management/contracts/{rcId}/generate-forecast
curl -i -X POST \
https://one.zuora.com/revenue/services/v1/revenue-management/contracts/111442/generate-forecast \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-REV-BOOK-ID: 1' \
-H 'Zuora-Request-Id: b8f1c2d4-6e1a-4c7b-9d2e-0f3a5b7c9e11'Processed. success: true means the action completed; success: false means a business rule rejected it and message explains why.
true when the action completed. false when the revenue engine rejected it under a business rule; see message.
Unique ID generated for this request. Quote it when you contact Zuora Global Support.
Response
{ "success": true, "processId": "3f1c2a7e-9b4d-4c1e-8a55-2d6f0e9b1c11", "message": "Forecast Generated Successfully" }