opportunityEvents
Fetch opportunity events, with optional filtering.
Arguments
Input fields for retrieving opportunity events.
Returns
TimelineEventConnectionExamples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query OpportunityEvents(
$after: String,
$before: String,
$first: Int,
$input: OpportunityEventsQueryInput!,
$last: Int
) {
opportunityEvents(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last
) {
edgeCount
edges {
...TimelineEventEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": OpportunityEventsQueryInput,
"last": 10
}
Response
{
"data": {
"opportunityEvents": {
"edgeCount": 38,
"edges": [TimelineEventEdge],
"pageInfo": PageInfo,
"totalCount": 71
}
}
}