Opportunity Management
Prediction Management
Prediction Management provides functionality to manage predictions related to opportunities within the system. This service enables operations such as creating predictions and recalculating scores based on opportunity data.
Prediction Operations
Prediction Operations provide tools to create and manage predictions for opportunities, including generating predictive outcomes and recalculating scores.
Prediction Operations - Create Prediction POST /v1/api/prediction/create/{client_id}
| Resource URL | /v1/api/prediction/create/{client_id} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description |
|---|---|
| client_id | Path parameter: ID of the client |
| Input JSON | Prediction details JSON object (request body). See PredictionBase schema for details. |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Prediction Operations - Recalculate Score PUT /v1/api/prediction/recalculate_score
| Resource URL | /v1/api/prediction/recalculate_score |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description |
|---|---|
| opportunity_id | Query parameter (required): ID of the opportunity |
| client_id | Query parameter (required): ID of the client |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |