Get the provenance event chain for a URR
GET https://api.suger.cloud/org/{orgId}/revenue/record/{partner}/{recordId}/events
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
partner | path | string | yes | Partner |
recordId | path | string | yes | Record ID |
Responses
200 — OK
Content-Type: application/json · Schema: RevenueRecordEventsResponse
RevenueRecordEventsResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
events | array<RevenueRecordEvent> | no |
RevenueRecordEvent fields:
| Field | Type | Required | Description |
|---|---|---|---|
occurredAt | string | no | |
raw | object | no | |
source | string | no | |
summary | string | no | |
type | string | no |
404 — Record not found
Content-Type: application/json
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X GET 'https://api.suger.cloud/org/{orgId}/revenue/record/{partner}/{recordId}/events' \
-H "Authorization: Bearer $SUGER_TOKEN" Response — 200
{
"events": [
{
"occurredAt": "string",
"source": "string",
"summary": "string",
"type": "string"
}
]
} Error — 404
{} View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.