MPDX Developers
HomeHelp
Production
Production
  • Changelog
  • README
  • org_data_transfer
  • README
    • README
      • Account Lists
        • :Account List
        • Analytics
        • Chalkline Mail
        • Coaches
        • Designation Accounts
        • Donations
        • Donor Accounts
        • Entries
        • Financial Accounts
        • Imports
          • Csv
          • Google
          • Tnt
          • Tnt Data Sync
        • Invites
        • Mail Chimp Account
        • Merge
        • Notification Preferences
          • Bulk
        • Notifications
        • Pledges
        • Prayer Letters Account
        • Users
        • :account_list_id
          • Donations
        • :account_list_id
          • donations
            • Bulk
      • README
        • Impersonation
        • Organizations
        • Resets
      • Announcements
      • Appeals
        • Appeal Contacts
          • Bulk
        • Excluded Appeal Contacts
          • Bulk
      • Background Batches
      • Batch
      • Coaching
        • Answer Sets
        • Answers
        • Questions
      • Constants
      • Contacts
        • Addresses
        • Alma Mater Names
        • Analytics
        • Bulk
        • Church Names
        • Duplicates
        • README
        • Exports
          • Mailing
        • Filters
        • Merges
        • Partner Giving Analysis Filters
        • People
          • Bulk
          • Email Addresses
          • Facebook Accounts
          • Linkedin Accounts
          • Merges
          • Phones
          • Relationships
          • Twitter Accounts
          • Websites
        • Referrals
        • Referrers
        • Tags
          • Bulk
      • Deleted Records
      • Organizations
        • Account Lists
          • Account List Coaches
          • Account List Users
          • Invites
        • Admins
        • Contacts
        • Impersonation
        • Invites
      • Public
        • Designation Accounts
          • Subscriptions
      • README
        • Activity Results
        • Appointment Results
        • Donation Histories
        • Donation Monthly Totals
        • Donor Currency Donations
        • Entry Histories
        • Expected Monthly Totals
        • Goal Progress
        • Monthly Giving Graph
        • Monthly Losses Graphs
        • Partner Giving Analysis
        • People With Anniversaries
        • People With Birthdays
        • Pledge Histories
        • Salary Currency Donations
        • Tag Histories
        • Year Donations
      • Tasks
        • Analytics
        • Comments
        • Filters
        • Tags
      • README
        • Analytics
      • User
        • Account List Coaches
        • Announcements
        • Authenticate
        • Devices
        • Google Accounts
          • Google Integrations
        • Key Accounts
        • Notifications
        • Options
        • Organization Accounts
Powered by GitBook
On this page
  • Monthly Losses Graph [GET]
  • Request
  • Response
  • Fields
  1. README
  2. README
  3. README

Monthly Losses Graphs

Monthly Losses Graphs Documentation

Monthly Losses Graph [GET]

Monthly Losses Graph [GET]

Request

Endpoint

GET /api/v2/reports/monthly_losses_graphs/99156120-a149-43e9-8b7b-9eb4f55939f2
Content-Type: application/vnd.api+json

Body

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": {
    "id": "reports::monthlylossesgraph",
    "type": "reports_monthly_losses_graphs",
    "attributes": {
      "account_list": {
        "id": "99156120-a149-43e9-8b7b-9eb4f55939f2",
        "name": "Yan ",
        "creator_id": "a88cc1ae-8c9a-4733-9e7c-d4c5d904300b",
        "created_at": "2022-01-13T06:18:41+13:00",
        "updated_at": "2022-01-13T06:18:41+13:00",
        "settings": {
        },
        "active_mpd_start_at": null,
        "active_mpd_finish_at": null,
        "active_mpd_monthly_goal": null,
        "salary_organization_id": "992d5c00-e9b8-42b5-b70d-c311477ce434",
        "primary_appeal_id": null,
        "notify_attempted_at": null,
        "notified_at": null,
        "locked_at": null
      },
      "created_at": "2022-01-12T17:18:41Z",
      "losses": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "month_names": [
        "Jan 2021",
        "Feb 2021",
        "Mar 2021",
        "Apr 2021",
        "May 2021",
        "Jun 2021",
        "Jul 2021",
        "Aug 2021",
        "Sep 2021",
        "Oct 2021",
        "Nov 2021",
        "Dec 2021",
        "Jan 2022"
      ],
      "updated_at": null,
      "updated_in_db_at": null
    },
    "relationships": {
      "account_list": {
        "data": {
          "id": "99156120-a149-43e9-8b7b-9eb4f55939f2",
          "type": "account_lists"
        }
      }
    }
  }
}

Fields

Attributes

account_list

Type Account List

Description The account list this report is for

created_at

Type date

Description The timestamp of when this resource was created

losses

Type [number]

Description The month-over-month losses each month

month_names

Type [string]

Description The name of each month

updated_at

Type date

Description The timestamp of when this resource was last updated

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

Relationships

account_list.data

Type Account List

Description The account list that this report belongs to

PreviousMonthly Giving GraphNextPartner Giving Analysis

Last updated 3 years ago