Requires any of the roles: | admin, oauthadmin |
GET | /Ams/{ClientID}/DonationTransactions | Return all Donation Transactions for a given criteria. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DateFrom | query | DateTime? | No | |
PageSize | query | int | No | |
PageNumber | query | int | No | |
OffSet | query | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UsingRedis | form | bool | No | |
AppInitTime | form | DateTime | No | |
ServerID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DonationTransactionsList | form | List<DonationTransactionData> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TransactionID | form | int | No | |
Status | form | string | No | |
ClosedBy | form | string | No | |
PaymentType | form | string | No | |
DateSubmitted | form | DateTime | No | |
DateScheduled | form | DateTime | No | |
Amount | form | double | No | |
BalanceDue | form | double | No | |
Fund | form | string | No | |
FundCode | form | string | No | |
WebsiteMemberID | form | int | No | |
ConstituentID | form | string | No | |
PrimaryGroup | form | string | No | |
FirstName | form | string | No | |
MiddleName | form | string | No | |
LastName | form | string | No | |
form | string | No | ||
HomeAddress1 | form | string | No | |
HomeAddress2 | form | string | No | |
HomeCity | form | string | No | |
HomeState | form | string | No | |
HomeProvince | form | string | No | |
HomePostalCode | form | string | No | |
HomeCountry | form | string | No | |
HomeAreaCode | form | string | No | |
HomePhone | form | string | No | |
CardName | form | string | No | |
CardType | form | string | No | |
CardNumber | form | string | No | |
CardMonth | form | string | No | |
CardYear | form | string | No | |
BillingAddress1 | form | string | No | |
BillingAddress2 | form | string | No | |
BillingCity | form | string | No | |
BillingState | form | string | No | |
BillingProvince | form | string | No | |
BillingPostalCode | form | string | No | |
BillingCountry | form | string | No | |
BillingAreaCode | form | string | No | |
BillingPhone | form | string | No | |
ReferenceNumber | form | string | No | |
DonorComments | form | string | No | |
AdminComments | form | string | No | |
InvoiceNumber | form | int | No | |
Terms | form | string | No | |
BillingOrganization | form | string | No | |
Organization | form | string | No | |
MemberAPIGUID | form | string | No | |
InvoiceDate | form | DateTime | No | |
DonationFundCode | form | string | No | |
CustomFormDataSet | form | List<CustomFormDataSetItem> | No | |
CustomFormDataSetAttachments | form | List<Dictionary<String,String>> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Values | form | List<string> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Ams/{ClientID}/DonationTransactions HTTP/1.1 Host: ws.yourmembership.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DonationTransactionsList":[{"TransactionID":0,"Status":"String","ClosedBy":"String","PaymentType":"String","DateSubmitted":"0001-01-01T00:00:00.0000000","DateScheduled":"0001-01-01T00:00:00.0000000","Amount":0,"BalanceDue":0,"Fund":"String","FundCode":"String","WebsiteMemberID":0,"ConstituentID":"String","PrimaryGroup":"String","FirstName":"String","MiddleName":"String","LastName":"String","Email":"String","HomeAddress1":"String","HomeAddress2":"String","HomeCity":"String","HomeState":"String","HomeProvince":"String","HomePostalCode":"String","HomeCountry":"String","HomeAreaCode":"String","HomePhone":"String","CardName":"String","CardType":"String","CardNumber":"String","CardMonth":"String","CardYear":"String","BillingAddress1":"String","BillingAddress2":"String","BillingCity":"String","BillingState":"String","BillingProvince":"String","BillingPostalCode":"String","BillingCountry":"String","BillingAreaCode":"String","BillingPhone":"String","ReferenceNumber":"String","DonorComments":"String","AdminComments":"String","InvoiceNumber":0,"Terms":"String","BillingOrganization":"String","Organization":"String","MemberAPIGUID":"String","InvoiceDate":"0001-01-01T00:00:00.0000000","DonationFundCode":"String","CustomFormDataSet":[{"Name":"String","Values":["String"]}],"CustomFormDataSetAttachments":[{"String":"String"}]}],"DateFrom":"0001-01-01T00:00:00.0000000","PageSize":0,"PageNumber":0,"OffSet":0,"UsingRedis":true,"AppInitTime":"2025-01-15T08:15:52.7673613-05:00","ServerID":"WS-5-99-907","ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T08:54:35.9299251-05:00","Device":"Desktop"}