CommAccount

CommAccount(
    int AgencyID
)

Get a commission metric report for an Account for all commission months.

Request

Request Data:

  • (int) AccountID (required) – Identify the Account to report on
{
    "AccountID": <int>
}

Response

{
    "Result": {
        "Values": [
            {
                "Run"        : <string>, // The run 
                "NetBilled"  : <double>,
                "SalesComm"  : <double>,
                "GrossComm"  : <double>,
                "GrossProfit": <double>,
                "Referral"   : <double>,
                "ReferralTo" : <double>
            }
        ]
    }
}

Errors

  • “User lacks permission”
  • “Account not found”