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
  • Deleted Record [LIST]
  • Request
  • Parameters
  • Response
  • Fields
  1. README
  2. README

Deleted Records

Deleted Records Documentation

Deleted Record [LIST]

Deleted Record [LIST]

Request

Endpoint

GET /api/v2/deleted_records
Content-Type: application/vnd.api+json

Body

Parameters

Filters

account_list_id

Type string

Description Filter by account_list_id

Required No

since_date

Type date

Description Filter by deleted_at date

Required No

types

Type string

Description Filter by deletable_type; Comma separated titlecase value e.g Contact,Activity

Required No

Response

Headers

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

Body

{
  "data": [
    {
      "id": "a54be36f-1c35-46dc-91e2-b3bc8327875b",
      "type": "deleted_records",
      "attributes": {
        "created_at": "2022-01-12T17:18:38Z",
        "deletable_id": "6fc2197c-6f5b-4ccf-93ac-6d204069986f",
        "deletable_type": "Contact",
        "deleted_at": "2022-01-11T00:00:00Z",
        "deleted_from_id": "c8c7a949-4126-48b5-bfa8-5c20ded08b6e",
        "deleted_from_type": "AccountList",
        "updated_at": "2022-01-12T17:18:38Z",
        "updated_in_db_at": "2022-01-12T17:18:38Z"
      },
      "relationships": {
        "deletable": {
          "data": {
            "id": "6fc2197c-6f5b-4ccf-93ac-6d204069986f",
            "type": "contacts"
          }
        },
        "deleted_from": {
          "data": {
            "id": "c8c7a949-4126-48b5-bfa8-5c20ded08b6e",
            "type": "account_lists"
          }
        },
        "deleted_by": {
          "data": {
            "id": "968a8fca-8ea1-42c8-a487-8da61d8a0e6c",
            "type": "people"
          }
        }
      }
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total_count": 1,
      "total_pages": 1
    },
    "sort": null,
    "filter": {
    }
  }
}

Fields

data

Type [Deleted Record]

Description An array of Deleted Record Objects

PreviousBulkNextOrganizations

Last updated 3 years ago