Skip to main content
GET
Get a salesperson's performance metrics

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The salesperson identifier

Sorgu Parametreleri

period
enum<string> | null

The reporting period for won, lost and converted leads. Defaults to last_30_days. Active leads and potential value are always the current snapshot.

Mevcut seçenekler:
last_7_days,
last_30_days,
last_90_days,
this_year,
all,
custom,
null
from
string<date> | null

Custom period start date (Y-m-d, tenant-local, inclusive). Used when period is custom; omitted means unbounded.

to
string<date> | null

Custom period end date (Y-m-d, tenant-local, inclusive). Used when period is custom; must not be before from.

Yanıt

success
string
gerekli
data
object
gerekli