List Funds
This request returns a list of all funds, with their associated IDs.
REST
Request
https://api.neoncrm.com/neonws/services/api/donation/listFunds?userSessionId=[session id]
Response
{
"listFunds": {
"operationResult": "SUCCESS",
"responseMessage": "3 records were found.",
"responseDateTime": "2013-02-21T03:36:23.192-06:00",
"funds": {
"fund": [
{
"id": 11,
"name": "Benefit Concert"
},
{
"id": 13,
"name": "Education"
},
{
"id": 18,
"name": "F1'"
}
]
}
}
}
SOAP
Request
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
<soapenv:header>
<soapenv:body>
<neon:listfundsrequest>
<usersessionid>T1361753723533</usersessionid>
</neon:listfundsrequest>
</soapenv:body>
</soapenv:header>
</soapenv:envelope>
Response
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:listfundsresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
<operationresult>SUCCESS</operationresult>
<responsemessage>3 records was found.</responsemessage>
<responsedatetime>2013-02-24T20:10:47.430-06:00</responsedatetime>
<funds>
<fund>
<id>11</id>
<name>Benefit Concert</name>
</fund>
<fund>
<id>13</id>
<name>Education</name>
</fund>
<fund>
<id>18</id>
<name>F1'</name>
</fund>
</funds>
</ns2:listfundsresponse>
</soap:body>
</soap:envelope>
Response Parameters
Name | Required | Description |
---|---|---|
fund.id | Yes | Fund ID |
fund.name | Yes | Fund Name |