Get some stats

GET /global/statistics/{month}/{year}

Retrieve some stats about the database on the month and year specified

Path parameters

  • month integer(int64) Required

    Month

    Minimum value is 1, maximum value is 12.

  • year integer(int64) Required

    Year

    Minimum value is 2010, maximum value is 2030.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • text_sent integer
    • text_charge string
    • active_people integer
    • total_people integer
    • emails_sent integer
    • login_total integer
    • api_users integer
    • login_types array[object]
      Hide login_types attribute Show login_types attribute object
      • name string
    • packages object

      Additional properties are allowed.

      Hide packages attributes Show packages attributes object
      • crm boolean
      • giftaid boolean
      • finance boolean
      • events boolean
      • docs boolean
    • usage object

      Additional properties are allowed.

      Hide usage attributes Show usage attributes object
      • emails boolean
      • text boolean
      • roster boolean
      • library1 boolean
      • forms boolean
      • giftaid boolean
    • success boolean
GET /global/statistics/{month}/{year}
curl \
 --request GET 'https://YOURSITE.infoodle.com/apiv2/global/statistics/{month}/{year}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "text_sent": 3245,
  "text_charge": "12.34",
  "active_people": 3902,
  "total_people": 4023,
  "emails_sent": 12341,
  "login_total": 18,
  "api_users": 10,
  "login_types": [
    {
      "name": "string"
    }
  ],
  "packages": {
    "crm": true,
    "giftaid": false,
    "finance": "finance",
    "events": true,
    "docs": true
  },
  "usage": {
    "emails": true,
    "text": true,
    "roster": false,
    "library1": false,
    "forms": false,
    "giftaid": true
  },
  "success": true
}