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
1
2
3
{
   "Run": <string>
}

Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    "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”