CommRep(
    int RepID,
    string Var 
)

Get a commission metric report for a Rep for all commission months.

Request

Request Data:

  • (int) RepID (required) – Identify the Rep to Report on
1
2
3
{
    "RepID" : <int>
}

Response

Returns a list of commission month value pairs.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    "Result": {
        "Values": [
            {
                "Run"        : <string>,
                "NetBilled"  : <double>,
                "SalesComm"  : <double>,
                "GrossComm"  : <double>,
                "GrossProfit": <double>,
                "Referral"   : <double>
            }
        ]
    }
}

Errors

  • “User lacks permission”