Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
102 results found
-
[Bounty] How to register guests using the Member Api (v1)?
It looks like registering guests is available through the Admin API v2. However I need to register guests using the Member API which I believe comes only in v1.
I am using a javascript application on WA page: https://gethelp.wildapricot.com/en/articles/1705-working-with-api-from-javascript
Note that for some reason in the example above the v2 (admin?) API is used to query from javascript. However when I try this as a member I get a 403 error. It does work with the member API though.
Am I missing something? I you think you can help please get in touch. There is a potential bounty available.
1 voteDmitry Smirnov respondedThere is nothing to do with API versions. Member API does not support guest registrations.
-
How to map radio button or multiple choice field for add contact via api
I have the contact form with different text box fields and radion buttons and multiple-choice values. i need to add these form entries in my Wild Apricot Contact list via API.
I have mapped successfully string and single-line text fields. but not able to map the like radio button fields and checkbox fields. please can you help me out this? i am using node.js to send API requests.
2 votes -
Events API StartDate filtering only returning first event, not all events?
Hi, I have two events on a single date, yet calling the Events API and filtering on that date only returns one of the events?
The code snippet:
$("#listSessionButton").click(function(){ api.apiRequest({ apiUrl: api.apiUrls.events({ $filter: "StartDate eq 2020-03-01", idsOnly: 1 }), method: "GET", success: function (data, textStatus, jqXhr) { console.table(data) alert(data.EventsIdentifiers);
The results:
EventsIdentifiers 3743709
Object
EventsIdentifiers: Array(1)
0: 3743709
length: 1The events in the GUI attached.
Thanks very much
Kevin1 vote -
How do we get fullSize images from the Picture API?
I'm having trouble fetching full size images from the Pictures API. If I use the
fullSize=true
parameter I still get a thumbnail image back.3 votesDmitry Smirnov respondedAPI returns the best quality it can find. If you upload images through API or a mobile app, then a high quality image is stored as well as a smaller one. But if you upload an image through the web interface, then system does not keep a larger image.
-
Receipt email should be sent automatically once payment is created via API
If there is an option to create a new payment via the API then it would make sense that an automatic receipt email should be sent out as well or at least the option whether to trigger this or not.
We have created our custom payment integration using the APIs because our local payment gateway provider is not supported. After the payment is completed the API registers the payment in WA towards the specified invoices.
We were surprised that the member does not get a receipt email and that it has to be manually done which partly defeats the purpose…
1 vote -
Wildapricot hosting code to access the API
The webpage here: https://gethelp.wildapricot.com/en/articles/182 suggests that we can access wildapricot API's from wildapricot hosted web pages. ("Wild Apricot's APIs can be accessed from a 3rd-party server or application, or from a Wild Apricot site page. For information on differences between the two, see API access options.")
However the API access options page (https://gethelp.wildapricot.com/en/articles/484) only talks about access from a 3rd-party site, and, this request, says we can't run PHP on the wildapricot site: https://forums.wildapricot.com/forums/308926-designers/suggestions/8821459-inserting-php-pages#comments
So how can we host 'code' on the wildapricot servers that can access the API please?
We would like to write some custom…
5 votesDmitry Smirnov respondedYou cannot host server-side code on Wild Apricot servers. But if you plug some JS code into pages of WA website, then this JS can access API.
-
Add invoice id or event registration id into event email template
We cannot integrate with any of the available online payment providers as none of them are supported in our country.
What I thought to do is use provide the users a link to a third-party code that would use WildApricot APIs to retrieve and update invoice information and that would integrate with our payment providers.
The link would need to include some information about what the user is trying to pay and the most natural thing would be to include the invoice id or event registration id in the link query parameters so that the third-party code can use the…
1 vote -
Integrate members into searchable directory on wordpress
I have an active member list of 750 members that I would like to export to a Wordpress. The WA site will remain. The Wordpress site would focus on matching members to customers, and I would need a search feature that could search by zip. Is there aa wild apricot partner that has done this? I’m looking to hire.
Mike
1 vote -
API Send Email - Cannot specify Reply to Address
I have been able to create and send emails via the API using a POST to /rpc/{accountId}/email/SendEmail. However, I have not found a way to change the default reply to address (the default is support@wildapricot.com).
Is there a way to specify a Reply To address similar to the option available when drafting an email on the website?
Thanks, Paul2 votes -
Check in member to an event using event registrations API
Knowing the eventID and memberID, it would be ideal if the API could allow me to check that member into that eventregistation.
2 votes -
Wild Apricot Auth w/Mobile (Specifically React Native)
So we're working on a mobile app for our members at ITEA. Rather than create yet one more account on yet one more app, this app will hit the Wild Apricot API, acquire an auth token based on a member's email and password, and then send back the user's information via the contacts/me endpoint. One login; two platforms. Makes sense.
We're running into some hurdles with the auth API for mobile. Specifically, I'm using React Native and a package called react-native-app-auth to handle the OAuth process. This package in turn uses the AppAuth SDK for iOS and Android.
Hurdles:
1)…
1 voteDmitry Smirnov responded1. Never tried it internally, but oAuth service itself works well with all our mobile apps and many other services.
2. No, we only support HTTPS. But if you open the login window in a WebView, then you can intercept requests with onNavigationStateChange. If interception works, then you can use any domain name for redirect (ie “https://localhost” or “https://mycustomapp”)
3. No plans so far.
-
Custom field that a member can only view from a Wild Apricot restricted webpage using the API from JavaScript
I would like the ability to create a membership database field that a logged-in member can view from a Wild Apricot restricted webpage using the API from JavaScript. Administrators with Membership manager access would be able to view and edit this field.
2 votes -
How to Encode Quotes in PHP for API
I'm using PHP to create a new event via the API just fine. However if the Name of the event has single or double quotes or an ampersand sign, these get converted to utf8 unicode in the published WA event. I can't figure out what PHP encoding WA needs in the POST/PUT for the Name to get a properly decoded result in the WA admin. I've tried htmlentities(), htmlspecialchars(), and json_encode() to no avail.
1 vote -
Implementing my own payment gateway: is that possible?
I'm planning to implement my own payment gateway integration (to Omise, a kind of Stripe for South East Asia).
The plan is to make a "micro-service" that displays the payment page and then push payments to WA Payments Admin API.
Any red flags? Thanks
5 votes -
GET, PUT, and POST for blog content
I would like to be able to retrieve, update, and create blog posts via the API.
1 vote -
Add waitlist count to Events API call
The Events API returns information about all or selected events. The returned data includes ConfirmedRegistrationsCount and RegistrationsLimit. It would be very helpful to have the API call also return the count of people on the waitlist.
The Export registrants option in the Admin section doesn't include registration limits.
Currently, I have to fetch each event and count the number of people on the waitlist for each event. That's a lot of loops. We have a few hundred events to mung.4 votes -
Deactivate
I would like to be able to deactivate a member through the API. Deactivating a pending membership is possible through /rpc/{accountId}/RejectPendingMembership, but that doesn't seem to be intended for existing memberships.
I tried sending a PUT to /rpc/Accounts/{accountId}/Contacts/{member_id} with 'MembershipEnabled: false', as well as setting FieldValues like "Member", "SuspendedMember", and "Membership enabled", but this returned a 400 error.
2 votes -
How to trigger password reset email?
I have implemented single sign on, but I want my login form to be able to trigger the password reset email (eg a "Forgotten Password?" link on the login form.
I can see that there is a way to do this manually via the back end, but I need a way to trigger this via the API.
Thanks
John3 votesDmitry Smirnov respondedAPI cannot do it.
-
v2.1 getEventDetails returns 404 for existing events
I have a list of event IDs that I need to verify still exist in WildApricot. For some of them, the call to /accounts/{accountId}/events/{eventId} returns a 404, even though I can search and find them in the admin UI (Events > Event List). I am not passing any filters to the API call.
Any ideas why the API returns a 404?
1 vote -
Add or update site content via API
We want to be able to update selected pages and content blocks via the API. For example, our finance committee creates a monthly report that we'd like to publish as an HTML page. Allowing us to PUT and POST content would be very helpful.
3 votes
- Don't see your idea?