GET /salespersons/{id}/commissionReport
Produces a salesperson commission report for the salesperson ID specified.
Roles that can access this endpoint are Users.
Parameters
| name |
description |
type |
default |
type |
| id |
the ID of the salesperson for whom the report is run |
path
|
|
String
|
| reportType |
S - Summary, D - Detailed |
query
|
|
String
|
| dateType |
B - Bill Date, D - Delivery Date, anything else - Ship Date |
query
|
|
String
|
| startDate |
the start of the date range for the specified date type |
query
|
t |
Date
|
| endDate |
the end of the date range for the specified date type |
query
|
t |
Date
|
Result
Response
of type:
application/pdf
a response object containing the salesperson commission report in PDF format
Try It Out
Request