CommReps(
string Run
)Get a Commission metric report for all Reps.
Request
Request Data:
- (string) Run(required) – Which Run to report:
- yyyymm – A commission run described in the year/month format
- yyyy – Commission runs for the year
- all – All commission runs
- this – The currently open run
- prev – The previous run
- closed – The most recently closed run
{
"Run": <string>
}Response
{
"Result": {
"Reps": [
{
"Rep" : <string>,
"RepID" : <int>,
"NetBilled" : <double>,
"SalesComm" : <double>,
"GrossComm" : <double>,
"GrossProfit": <double>,
"Referral" : <double>
},
// More reports for each rep
]
}
}Errors
- “Unrecognized Run parameter”
- “User lacks permission”
- "Call requires parameter: \"Run\" which was not found"
- "Run not found: <string>"
- "Invalid run: <string>"