Magidoc

getOpportunityRepPerformance
Query

Per-owner sales performance: open count, pipeline value, won and lost counts, win rate, and new pipeline created, sorted by pipeline value, plus workspace totals. When both periodStart and periodEnd are set, won/lost use close date and new pipeline uses creation date within that window.

Access: workspace members with CRM access.

Arguments

#

workspaceId

ID !
Non-null

periodStart

periodEnd

ownerIds

[ID !]

types

typeIds

Business type option ids from the workspace's business type setting (settings.crmFieldOptions.opportunityType).

Response

#

Returns OpportunityRepPerformance !.

Example

#