Opportunity Management
Opportunity History Management
Opportunity History Management provides functionality to track and manage the historical changes and events related to opportunities within the system. This service enables CRUD (Create, Read, Delete) operations for opportunity history records.
Opportunity History Operations
Opportunity History Operations provide comprehensive management of historical data for opportunities, including creating, retrieving, and deleting history entries.
Opportunity History Operations - Create Opportunity History POST /v1/api/opportunities/history
| Resource URL | /v1/api/opportunities/history |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| opportunity_id | ID of the opportunity this history entry is associated with | Yes | String | N/A |
| message | Description of the historical event or change | Yes | String | N/A |
| meta_data | Metadata associated with the history entry | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Opportunity History Operations - Get Opportunity History by Opportunity ID GET /v1/api/opportunities/history/opportunity_id/{opportunity_id}
| Resource URL | /v1/api/opportunities/history/opportunity_id/{opportunity_id} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description |
|---|---|
| opportunity_id | Path parameter: ID of the opportunity |
| page_no | Query parameter (optional): Page number. Default: 1 |
| page_size | Query parameter (optional): Items per page. Default: 10, Max: 100 |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Opportunity History Operations - Read Opportunity History GET /v1/api/opportunities/history/{opportunity_history_id}
| Resource URL | /v1/api/opportunities/history/{opportunity_history_id} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description |
|---|---|
| opportunity_history_id | Path parameter: ID of the opportunity history record to retrieve |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Opportunity History Operations - Delete Opportunity History DELETE /v1/api/opportunities/history/{opportunity_history_id}
| Resource URL | /v1/api/opportunities/history/{opportunity_history_id} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Parameters
| Parameter | Description |
|---|---|
| opportunity_history_id | Path parameter: ID of the opportunity history record to delete |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |