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

Get donations for the provided team within the microsite you are on in P2P.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
team_id

the id of the team to get donations for.

string

Required

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-12-22T12:15:42.3353539-05:00",
      "Amount": 2.1,
      "Contact": {
        "Type": 1,
        "Name": "sample string 1",
        "Id": 2
      },
      "Id": 3
    },
    {
      "Date": "2024-12-22T12:15:42.3353539-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-22T12:15:42.3353539-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-22T12:15:42.3353539-05:00</Date>
    </TransactionSummary>
  </Transactions>
</GetPeerToPeerDonationsResponse>