GET v/1/Rest/Public/{client_domain}/PeerToPeer/Donations/{microsite_id}
Get a list of donations for the specified microsite.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
microsite_id |
the microsite id. |
string |
Required |
client_domain | string |
None. |
Body Parameters
None.
Response Information
Resource Description
a list of donations.
GetPeerToPeerDonationsResponseName | Description | Type | Additional 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:32.5519786-05:00", "Amount": 2.1, "Contact": { "Type": 1, "Name": "sample string 1", "Id": 2 }, "Id": 3 }, { "Date": "2024-12-22T12:15:32.5519786-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:32.5519786-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:32.5519786-05:00</Date> </TransactionSummary> </Transactions> </GetPeerToPeerDonationsResponse>