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

Get a list of donations for the current team you are on in P2P.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
client_domain

string

None.

Body Parameters

None.

Response Information

Resource Description

a 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-04-16T04:54:23.6565168-04:00",
      "Amount": 2.1,
      "Contact": {
        "Type": 1,
        "Name": "sample string 1",
        "Id": 2
      },
      "Id": 3
    },
    {
      "Date": "2024-04-16T04:54:23.6565168-04: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-04-16T04:54:23.6565168-04: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-04-16T04:54:23.6565168-04:00</Date>
    </TransactionSummary>
  </Transactions>
</GetPeerToPeerDonationsResponse>