api.reports.referred_by
POST /reports/referredBy— ACPortal
Python
api.reports.referred_by(*, data: ReferredByReportRequest | dict) -> list[ReferredByReport]
CLI
ab reports referred_by [--data ...]
POST /reports/referredBy.
Args:
data: Referred-by report payload with date range filters.
Accepts a :class:ReferredByReportRequest instance or a dict.
Request model: :class:ReferredByReportRequest
Request body — ReferredByReportRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Range start date (ISO 8601) |
|
|
no |
Range end date (ISO 8601) |
|
|
no |
Page number |
|
|
no |
Items per page |
|
|
no |
Sort config {sortByField: int, sortDir: bool} |
Response
Returns a list of List[ReferredByReport].
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Referral source |
|
|
no |
Referral contact name |
|
|
no |
Referral category |
|
|
no |
Quote date |
|
|
no |
Booked date |
|
|
no |
Revenue amount |
|
|
no |
Profit amount |
|
|
no |
Customer name |
|
|
no |
Job display ID |
|
|
no |
Industry type |
|
|
no |
Customer zip code |
|
|
no |
Intacct sync date |
|
|
no |
Total record count |