HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Donations HTTP/1.1
Host: ws.yourmembership.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"fundId":0,"description":"String","invoice":{"date":"0001-01-01T00:00:00.0000000","shippingMethodId":0,"shippingMethodName":"String","shippingTax":0,"shippingTotal":0,"taxRate":0,"taxTotal":0,"totalAmount":0,"comment":"String","person":{"id":0,"organization":"String","firstName":"String","lastName":"String","middleName":"String","nameSuffix":"String","emailAddress":"String","primaryAddress":{"firstName":"String","lastName":"String","organization":"String","address1":"String","address2":"String","city":"String","location":"String","postalCode":"String","countryCode":"String","countryName":"String","areaCode":"String","phone":"String"},"username":"String","password":"String","isMember":false,"expirationDate":"String","currentMembershipAllowsMultipleOpenInvoices":false,"currentMembershipInvoiceIsOpen":false,"currentMembershipInvoiceAwaitingAutoBill":false,"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:43:15.8981433-05:00","Device":"Desktop"},"shippingAddress":{"firstName":"String","lastName":"String","organization":"String","address1":"String","address2":"String","city":"String","location":"String","postalCode":"String","countryCode":"String","countryName":"String","areaCode":"String","phone":"String"},"invoiceItems":[{"itemTypeId":"String","id":0,"shippingCost":0,"description":"String","customDescription":"String","taxRate":0,"taxGLCode":"String","quantity":0,"amount":0,"isProRated":false,"GLCode":"String","isModifier":false,"isDuesRule":false,"taxQBClass":"String","QBClass":"String","sku":"String","taxable":false,"autoPromoCodeAmount":0,"autoPromoCodeTitle":"String","salesDiscount":0,"AutoPromoCode":{"Id":0,"Title":"String","IsPercent":false,"Discount":0}}],"isNewMember":false,"taxGLCode":"String","taxQBClass":"String","shippingGLCode":"String","shippingQBClass":"String"},"quickCreating":false,"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:43:15.9138208-05:00","Device":"Desktop"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"donationId":0,"invoiceId":0,"invoiceGuid":"String","fundId":0,"description":"String","invoice":{"date":"0001-01-01T00:00:00.0000000","shippingMethodId":0,"shippingMethodName":"String","shippingTax":0,"shippingTotal":0,"taxRate":0,"taxTotal":0,"totalAmount":0,"comment":"String","person":{"id":0,"organization":"String","firstName":"String","lastName":"String","middleName":"String","nameSuffix":"String","emailAddress":"String","primaryAddress":{"firstName":"String","lastName":"String","organization":"String","address1":"String","address2":"String","city":"String","location":"String","postalCode":"String","countryCode":"String","countryName":"String","areaCode":"String","phone":"String"},"username":"String","password":"String","isMember":false,"expirationDate":"String","currentMembershipAllowsMultipleOpenInvoices":false,"currentMembershipInvoiceIsOpen":false,"currentMembershipInvoiceAwaitingAutoBill":false,"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:43:15.9138208-05:00","Device":"Desktop"},"shippingAddress":{"firstName":"String","lastName":"String","organization":"String","address1":"String","address2":"String","city":"String","location":"String","postalCode":"String","countryCode":"String","countryName":"String","areaCode":"String","phone":"String"},"invoiceItems":[{"itemTypeId":"String","id":0,"shippingCost":0,"description":"String","customDescription":"String","taxRate":0,"taxGLCode":"String","quantity":0,"amount":0,"isProRated":false,"GLCode":"String","isModifier":false,"isDuesRule":false,"taxQBClass":"String","QBClass":"String","sku":"String","taxable":false,"autoPromoCodeAmount":0,"autoPromoCodeTitle":"String","salesDiscount":0,"AutoPromoCode":{"Id":0,"Title":"String","IsPercent":false,"Discount":0}}],"isNewMember":false,"taxGLCode":"String","taxQBClass":"String","shippingGLCode":"String","shippingQBClass":"String"},"quickCreating":false,"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:43:15.9214846-05:00","Device":"Desktop"}