List Donations
This request is used to retrieve a list of donation transaction records.
Use this to formulate a search request by defining the search terms and the output columns. Results are paginated, but the page size can be defined in your request. Also, a combination of search parameters uses AND logic. You cannot search [parameter 1 = this] OR [parameter 2 = this] using this request.
This sample request searches for any donations that match the specified donor last name. It returns the columns Account ID, Donation ID,Donation Date,Donation Note,Donation Status and User Full Name.
REST
Request
https://api.neoncrm.com/neonws/services/api/donation/listDonations?responseType=json&userSessionId=[sessionId]&outputfields.idnamepair.id=&outputfields.idnamepair.name=Account%20ID&outputfields.idnamepair.id=&outputfields.idnamepair.name=Donation%20ID&outputfields.idnamepair.id=&outputfields.idnamepair.name=Donation%20Date&outputfields.idnamepair.id=&outputfields.idnamepair.name=Donor%20Note&outputfields.idnamepair.id=&outputfields.idnamepair.name=Donation%20Status&outputfields.idnamepair.id=&outputfields.idnamepair.name=Full%20Name%20(F)&outputfields.idnamepair.id=&outputfields.idnamepair.name=Donation%20Amount&searches.search.key=Last%20Name&searches.search.searchOperator=EQUAL&searches.search.value=Hickman
Response
{
"listDonations": {
"operationResult": "SUCCESS",
"responseDateTime": "2013-02-22T00:44:03.387-06:00",
"page": {
"currentPage": 1,
"pageSize": 10,
"totalPage": 1,
"totalResults": 1
},
"searchResults": {
"nameValuePairs": {
"nameValuePair": [
{
"name": "Account ID",
"value": 96480
},
{
"name": "Donation Date",
"value": "1999-03-03"
},
{
"name": "Donation Status",
"value": "SUCCEED"
},
{
"name": "Donation Amount",
"value": 15
},
{
"name": "Donor Note"
},
{
"name": "Full Name (F)",
"value": "Valerie Hickman"
},
{
"name": "Donation ID",
"value": 10101
}
]
}
}
}
}