Skip to main content

SuccessResponse_GroupUsage

successboolean
Constant value: true
data object

The monthly statement of a sponsored group.

monthstringrequired

The Europe/Paris calendar month.

Possible values: Value must match regular expression ^\d{4}-(0[1-9]|1[0-2])$

group objectrequired
idintegerrequired
namestringrequired
monthlyQuotanumber | nullnullablerequired
suspendedAtstring,null<date-time>nullablerequired
suspensionKind objectrequired
oneOf
GroupSuspensionKind (string)

How a sponsored group's sponsored access is suspended. temporary can be lifted with DELETE /groups/{group_id}/suspension. permanent is final: it cannot be lifted and the group's sponsored access cannot be restored, the sponsor creates a new group. A temporary suspension can be upgraded to permanent, the reverse is refused.

Possible values: [temporary, permanent]

totals objectrequired
requestsintegerrequired

Sponsored requests of the month.

amountnumberrequired

What they cost the sponsor.

currencystringrequired
Example: EUR
percentagenumber | nullnullablerequired

Share of the monthly quota, rounded to 2 decimals. null without a quota, 100 for a quota of zero.

organizations object[]required
  • Array [
  • organizationIdinteger | nullnullablerequired

    The client organization, null when the sponsor's fee names none.

    organizationNamestring | nullnullablerequired

    null when the fee names no organization.

    requestsintegerrequired
    amountnumberrequired
    perUserHiddenstring | nullnullablerequired

    "fewer-than-3-users" when the organization had fewer than three distinct users in the month: users is then empty, only the organization total is given. null otherwise.

    Possible values: [fewer-than-3-users, null]

    users object[]required
  • Array [
  • userstringrequired

    Pseudonym: stable per person and per sponsor, not linkable across sponsors, not traceable to a person.

    Possible values: Value must match regular expression ^user-[0-9a-f]{10}$

    requestsintegerrequired
    amountnumberrequired
  • ]
  • ]
  • SuccessResponse_GroupUsage
    {
    "success": true,
    "data": {
    "month": "string",
    "group": {
    "id": 0,
    "name": "string",
    "monthlyQuota": 0,
    "suspendedAt": "2024-07-29T15:51:28.071Z",
    "suspensionKind": "temporary"
    },
    "totals": {
    "requests": 0,
    "amount": 0,
    "currency": "EUR",
    "percentage": 0
    },
    "organizations": [
    {
    "organizationId": 0,
    "organizationName": "string",
    "requests": 0,
    "amount": 0,
    "perUserHidden": "fewer-than-3-users",
    "users": [
    {
    "user": "string",
    "requests": 0,
    "amount": 0
    }
    ]
    }
    ]
    }
    }