Access groups

access-groups-accountREAD-ONLY

The access groups on the caller's account: who may charge on the account's private charge points and at what price. Returns groups shared with the whole account plus the caller's own private groups; another user's private groups are never returned. Per group: name, type (cards or users), authorization mode, visibility (Shared or Private), the number of charge points it is attached to, and its members (up to 100, with the full count) with card number, hashed RFID uid, name, price type, price per kWh with its currency, and whether they are billed. Use it for "who has access to my chargers"; for "why can this card charge here" pass the card number or RFID uid as card, which returns only the groups holding that card.

Schema
Input1
cardstring
Output3
countintegerREQUIRED
accessGroupsobject[]REQUIRED
namestringREQUIRED
typeenumREQUIRED
authorizationModeenum | nullREQUIRED
visibilityenumREQUIRED
memberCountintegerREQUIRED
membersobject[]REQUIRED
typeenumREQUIRED
namestring | nullREQUIRED
uidHashstring | nullREQUIRED
visualNumberstring | nullREQUIRED
wrongEntryTypeboolean | nullREQUIRED
priceTypeenum | nullREQUIRED
pricePerKwhnumber | nullREQUIRED
currencystring | nullREQUIRED
nonBillablebooleanREQUIRED
membersTruncatedbooleanREQUIRED
chargePointCountintegerREQUIRED
reasonstring | nullREQUIRED
access-groups-charge-pointsREAD-ONLY

The charge points the caller can see (same scope as charge-points-summary, up to 50), each with the access groups attached to it: name, type, visibility (Shared or Private), authorization mode, member count, and the connectors it applies to (null means the whole charge point). Use it for "which access groups are on this charger" and "why can someone charge here". Member counts only; call access-groups-account for who is in each group. A colleague's Private group is never returned, only counted in hiddenGroupCount. Pass identifier to ask about one charge point.

Schema
Input1
identifierstring
Output5
chargePointScopeenum | nullREQUIRED
totalChargePointsintegerREQUIRED
truncatedbooleanREQUIRED
chargePointsobject[]REQUIRED
identifierstringREQUIRED
namestring | nullREQUIRED
evseIdstring | nullREQUIRED
ocppIdentitystring | nullREQUIRED
connectivityStatestring | nullREQUIRED
locationobject | nullREQUIRED
namestring | nullREQUIRED
addressstring | nullREQUIRED
citystring | nullREQUIRED
accessGroupCountintegerREQUIRED
accessGroupsobject[]REQUIRED
namestringREQUIRED
typeenumREQUIRED
visibilityenumREQUIRED
authorizationModeenum | nullREQUIRED
memberCountintegerREQUIRED
connectorIdsinteger[] | nullREQUIRED
hiddenGroupCountintegerREQUIRED
reasonstring | nullREQUIRED