POST v/1/Rest/CEContext/{client_domain}/PeerToPeer/Donations

Get donations for the current microsite you are on.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
client_domain

string

None.

Body Parameters

None.

Response Information

Resource Description

list of donations.

GetPeerToPeerDonationsResponse
NameDescriptionTypeAdditional information
Transactions

Collection of TransactionSummary

None.

QueryRecordCount

integer

None.

Successful

boolean

None.

Error

PublicApiError

None.

Response Formats

application/json, text/json

Sample:
{
  "Transactions": [
    {
      "Date": "2024-12-26T10:42:40.3676477-05:00",
      "Amount": 2.1,
      "Contact": {
        "Type": 1,
        "Name": "sample string 1",
        "Id": 2
      },
      "Id": 3
    },
    {
      "Date": "2024-12-26T10:42:40.3676477-05:00",
      "Amount": 2.1,
      "Contact": {
        "Type": 1,
        "Name": "sample string 1",
        "Id": 2
      },
      "Id": 3
    }
  ],
  "QueryRecordCount": 1,
  "Successful": true,
  "Error": {
    "Code": 0,
    "Message": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<GetPeerToPeerDonationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <Message>sample string 1</Message>
    <Code>None</Code>
  </Error>
  <Successful>true</Successful>
  <QueryRecordCount>1</QueryRecordCount>
  <Transactions>
    <TransactionSummary>
      <Id>3</Id>
      <Amount>2.1</Amount>
      <Contact>
        <Id>2</Id>
        <Name>sample string 1</Name>
        <Type>Organization</Type>
      </Contact>
      <Date>2024-12-26T10:42:40.3676477-05:00</Date>
    </TransactionSummary>
    <TransactionSummary>
      <Id>3</Id>
      <Amount>2.1</Amount>
      <Contact>
        <Id>2</Id>
        <Name>sample string 1</Name>
        <Type>Organization</Type>
      </Contact>
      <Date>2024-12-26T10:42:40.3676477-05:00</Date>
    </TransactionSummary>
  </Transactions>
</GetPeerToPeerDonationsResponse>