cURL
curl --request GET \ --url https://api.rampartcorporation.com/v2/opportunity \ --header 'Authorization: Bearer <token>' \ --header 'x-client-id: <x-client-id>'
{ "spendAnalyzed": 500000, "savingsFound": 75000, "savingsPercentage": 15, "opportunities": [ { "id": "123-456-789", "category": "MRO", "sourceVendor": { "name": "Fastenal", "domain": "fastenal.com" }, "annualSpend": 132196, "targetVendor": { "name": "Grainger", "domain": "grainger.com" }, "annualSavings": { "amount": 19168, "percentage": 14.5 }, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:30:00Z" } ] }
Retrieve a list of all savings opportunities for the authenticated client.
Bearer authentication header of the form Bearer <API_KEY>.
Bearer <API_KEY>
Client ID for authentication
Successfully retrieved opportunities summary with aggregated data
Total amount of spend analyzed
500000
Total potential savings found
75000
Overall savings percentage
15
List of individual opportunities
Show child attributes