End point

GET https://[API-BASE-URL]/v2/sites/[SITE_ID]/accountingCodes

Description

Returns the labels and values of the two accounting codes associated with a site, when applicable.

Parameters

Sample

GET https://public.leagueapps.io/v2/sites/43590/accountingCodes

{
    "acccountingCode1": {
        "label": "Class",
        "values": [
            "03Boys:Flamengo",
            "03Boys:Fury",
            "03Boys:Gremio",
            "03Girls:Charge",
            "04Boys:Clash",
            "04Girls:Rockers",
            "EC:Equipment",
            "EC:Apparel"
        ]
    },
    "acccountingCode2": {
        "label": "Income Account",
        "values": [
            "Online Registration: Club Payments",
            "Online Registration: Camp Payments",
            "Online Registration: Tournaments Payments",
            "Online Registration: eCommerce"
        ]
    }
}

Data dictionary