YM REST Services

<back to all web services

DuesTransactions

Requires Authentication
Requires any of the roles:admin, oauthadmin
The following routes are available for this service:
GET/Ams/{ClientID}/DuesTransactionsReturn all Dues Transactions for a given criteria.
DuesTransactions Parameters:
NameParameterData TypeRequiredDescription
DateFromqueryDateTime?No
PageSizequeryintNo
PageNumberqueryintNo
OffSetqueryintNo
BaseDto Parameters:
NameParameterData TypeRequiredDescription
UsingRedisformboolNo
AppInitTimeformDateTimeNo
ServerIDformstringNo
BaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
ClientIDformintNo
ResponseStatusformResponseStatusNo
BypassCacheformboolNo
DateCachedformDateTimeNo
DeviceformDeviceNo
DuesTransactionsResponse Parameters:
NameParameterData TypeRequiredDescription
DuesTransactionsListformList<DuesTransactionData>No
DuesTransactionData Parameters:
NameParameterData TypeRequiredDescription
TransactionIDformintNo
StatusformstringNo
ClosedByformstringNo
PaymentTypeformstringNo
DateSubmittedformDateTimeNo
DateScheduledformDateTimeNo
DateProcessedformDateTimeNo
AmountformdoubleNo
BalanceDueformdoubleNo
WebsiteMemberIDformintNo
ConstituentIDformstringNo
DateMemberSignupformDateTimeNo
MemberPrimaryGroupformstringNo
TitleformstringNo
FirstNameformstringNo
MiddleNameformstringNo
LastNameformstringNo
SuffixformstringNo
EmailformstringNo
OrganizationformstringNo
MembershipRequestedformstringNo
CurrentMembershipExpDateformDateTimeNo
CurrentMembershipformstringNo
CardNameformstringNo
CardTypeformstringNo
CardNumberformstringNo
CardMonthformstringNo
CardYearformstringNo
CurrentMemberOrganizationformstringNo
CurrentMemberAddress1formstringNo
CurrentMemberAddress2formstringNo
CurrentMemberCityformstringNo
CurrentMemberStateformstringNo
CurrentMemberProvinceformstringNo
CurrentMemberPostalCodeformstringNo
CurrentMemberCountryformstringNo
BillingPhoneformstringNo
BillingAddress1formstringNo
BillingAddress2formstringNo
BillingCityformstringNo
BillingStateformstringNo
BillingPostalCodeformstringNo
BillingCountryformstringNo
ReferenceNumberformstringNo
PromotionalCodeformstringNo
MemberCommentsformstringNo
AdminCommentsformstringNo
InvoiceNumberformintNo
TermsformstringNo
MemberTypeformstringNo
BillingOrganizationformstringNo
MemberAPIGUIDformstringNo
InvoiceDateformDateTimeNo
PurchaseOrderNoformstringNo
NextInstallmentDateformDateTimeNo
NextInstallmentAmountformdoubleNo
TotalInstallmentPaymentsToDateformdoubleNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Ams/{ClientID}/DuesTransactions HTTP/1.1 
Host: ws.yourmembership.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"DuesTransactionsList":[{"TransactionID":0,"Status":"String","ClosedBy":"String","PaymentType":"String","DateSubmitted":"0001-01-01T00:00:00.0000000","DateScheduled":"0001-01-01T00:00:00.0000000","DateProcessed":"0001-01-01T00:00:00.0000000","Amount":0,"BalanceDue":0,"WebsiteMemberID":0,"ConstituentID":"String","DateMemberSignup":"0001-01-01T00:00:00.0000000","MemberPrimaryGroup":"String","Title":"String","FirstName":"String","MiddleName":"String","LastName":"String","Suffix":"String","Email":"String","Organization":"String","MembershipRequested":"String","CurrentMembershipExpDate":"0001-01-01T00:00:00.0000000","CurrentMembership":"String","CardName":"String","CardType":"String","CardNumber":"String","CardMonth":"String","CardYear":"String","CurrentMemberOrganization":"String","CurrentMemberAddress1":"String","CurrentMemberAddress2":"String","CurrentMemberCity":"String","CurrentMemberState":"String","CurrentMemberProvince":"String","CurrentMemberPostalCode":"String","CurrentMemberCountry":"String","BillingPhone":"String","BillingAddress1":"String","BillingAddress2":"String","BillingCity":"String","BillingState":"String","BillingPostalCode":"String","BillingCountry":"String","ReferenceNumber":"String","PromotionalCode":"String","MemberComments":"String","AdminComments":"String","InvoiceNumber":0,"Terms":"String","MemberType":"String","BillingOrganization":"String","MemberAPIGUID":"String","InvoiceDate":"0001-01-01T00:00:00.0000000","PurchaseOrderNo":"String","NextInstallmentDate":"0001-01-01T00:00:00.0000000","NextInstallmentAmount":0,"TotalInstallmentPaymentsToDate":0}],"DateFrom":"0001-01-01T00:00:00.0000000","PageSize":0,"PageNumber":0,"OffSet":0,"UsingRedis":true,"AppInitTime":"2024-05-03T04:46:15.5457256-04:00","ServerID":"WS-4-7-585","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":"2024-05-03T05:56:49.2309618-04:00","Device":"Desktop"}