Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
206 results found
-
JSON response for eventregistrations?eventId=434xxxx fails a json_decode test with NULL
I am querying now on the eventregistrations API and have the API query working through https://api.wildapricot.org/ui/home/RequestOAuthToken , but the result set fails a json_decode action with NULL - which I presume means it is not JSON structured. Not sure how to proceed with solving for this. I am running this through the php sample application, which works.. but when adapting to test for this eventregistrations query, the apparent JSON result fails the decode test and hence nothing is available to the foreach loop to extract the right information.
Running this query, which works fine..
https://l.facebook.com/l.php?u=https%3A%2F%2Fapi.wildapricot.org%2Fv2.2%2Faccounts%2F1234567890%2Feventregistrations%3FeventId%3D4344015%26fbclid%3DIwAR3fKL6K25MQZIrov9EYsXFhQVEzXKlPOzCDK7HxO0g7uEYdYRTy-6sHnGQ&h=AT1hreSFqkWarrlAM6Wfjd5qPxfJFJ_jTgzZ4vwNilh_OyC8eVdE1dw15Ab_ESS4gRo3ZudF6nWUQdqi6FCcIRDRjZTv4cGCpIh4ULxzTD9DWFJw0NgoyyXtU4ZrZTaToUYhN8o&__tn__=-UK-R&c[0]=AT0qQTLupLZd5d7sgyM9tb3J0rQ4JkLlK6SHLVNIbdCWpH8fFtgvHMjqT1uln6KtExBXEeDdnzEIozaPhA3jwQnEGwqT0code7yc6J38fMHF7nXFBAj1HpILaGi3uTjWCShzKR_V1p_kiZzqPdSdSA1Vjni20A3doSA
.. gives this response >…
1 vote -
SentEmailRecipients & Opened & ClickedLinks
Question about the results returned by SentEmailRecipients (https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/7.15.0#/Emailing.SentEmailRecipients/SentEmailRecipientList) - if a user clicks a tracked link in an email received from Wild Apricot, is the Opened flag also set to TRUE (even if the user disallows loading the code or pixel or whatever that's likely used to track email opens - or is this a non-issue [i.e., user cannot disable Wild Apricot tracking opening of email])?
Thank you.
1 vote -
Use API to update member's contactfield setting
/publicview/v1/accounts/{accountId}/contactfields
only allow get method.Is there any way to update the
Access
field of a contact field?
Without this api, it is impossible to allow user to edit their field privacy in 3rd party app.1 vote -
Continued Professional Development section in Member Portal
We are looking to add a section that will allow certain membership levels to monitor their Continued Professional Development. This will probably have to be via some custom code, but how can we implement this on the website? Each relevant member will need their own page with their own records, which they can add to, monitor etc. From what I can see, the current member portal doesn't allow much customisation at all. Thank you for any assistance/guidance you can offer.
1 vote -
birthday filter for member gadget
I am trying to display all of my members who have a birthday this month. There is no way to do this because there is no way to search for a birth month without the year using even advanced search. It is illogical to search for people who were born THIS YEAR. They would be at most 10 days old.
I have added a script to my birthday page that checks the date (I identify my gadget with a specific class and then search the dom and hide those dates whose month != to this one) but this is not…
1 vote -
/v2.1/accounts/335649/events/ unable to Sort on StartDate asc
So I'm doing a GET on this endpoint
/v2.1/accounts/335649/events/?$filter=IsUpcoming%20eq%20True&$sort=ByStartDate%20asc
And for the life of me it seems to ignore the ByStartDate asc part.
Any ideas ?
1 vote -
How to upload images for event descriptions
Administrators can insert images into the event description when editing an event. Wild Apricot stores those images in a resources/pictures folder.
When adding an event via the API, how can an image be uploaded to the resources/pictures folder?
1 vote -
Member Directory Gadget Customization Issue
I am encountering an issue within the Member Directory Gadget. The thing is, I have added a customization on my member directory gadget on this page: https://grn.global/Public-Members-Directory/
So in my code, I am trying to wrap every 3 <tr> element in the members table element which I was able to achieve in my code. It works at first load of the site when you visit after sometime and also if you hard reload the page. But if you just refresh it normally or if you're logged in(backend), its either the code doesn't work anymore, not loaded, or removed.
It would…
1 vote -
WA OAuth SSO Implementation for YM Careers
I'm trying to connect WA with YM Careers for OAuth SSO Implementation.
They asked for the below information, and I think I got most, but there are some things I'm not sure on. I should also add I'm not a programmer and trying to figure this out.
In the WA information it sounds like I might have to create an API, but not really sure if I do, and if so how I would even do that. Any assistance or guidance would be appreciated.
WA Website I've been trying to follow: https://gethelp.wildapricot.com/en/articles/200Auth URL:
I got this.Token URL:
I…1 vote -
Date filter on API events query broken
This URL - https://api.wildapricot.org/publicview/v1/accounts/<accountid>/events?%24filter=StartDate%20gt%202020-01-01 only returns events in the future even though there are 100's of events between 2020-01-01 and now (2020-10-19). According to the doc the filter should return every event after 2020-01-01.
1 vote -
How to format API event query with date filter in Swift?
I simply copy and paste the query sample from Swagger but get HTTP status code 400 (invalid request). How do I format dates for this query?
Also, why does the date in the example appear to have 3 digits for the month 011?
1 vote -
Rendering XML Feed from WA to WP website
Hi, I have successfully been able to use SwaggerHub to authenticate and return values (an events list from our Wild Apricot Db) into the SwaggerHub tool. Now, I am trying to render the results onto a WordPress webpage using an XML rendering plugin. However, that plugin requires a URL that ends in .xml... Unfortunately, I don't see where that is provided by SwaggerHub/Wild Apricot. I just get a URL that ends with /events. So, I am halfway there. Just need the final leg. Thanks!
1 vote -
Unable to parse EventDate in UpcomingEvents gadget
Currently an event date in the Upcoming Events gadget is dumped as a date string of 1 Oct 2021 8:30 AM (UTC-00:00)
This isn't user friendly.
<$it.EventDate$> doesn't offer any filtering options, and sadly something like <$it.EventDay$>/<$it.EventMonth$>/<$it.EventYear$> does not exist.
I've tried parsing the dates with jQuery, whilst this works fine in codepen tests it does not work in production on Wild apricot:
jQuery("div.date").each(function () {
var data = jQuery(this).html();
var arr = data.split(' ');
jQuery(this).html("<span class='day'>"+arr[0] + "</span><span class='month'>" + arr[1]+"</span><span class='year'>"+arr[2] +"</span>");
});Can I please get some advice on how to parse these dates so I can…
1 vote -
Contact Webhook triggering for Membership changes
I recently integrated our Wild Apricot instance with Salesforce using Integromat. It works great, but I am finding the Wild Apricot 'Contact created or updated' module triggers repeatedly from the Wild Apricot Webhook. This is consuming a large number of operations inside Integromat.
I'm not sure if this is a How To or a feature request. I'm listing several questions/ideas.
1) The Webhook is set-up in Wild Apricot to only send Contact changes. It still triggers the Integromat scenario when the renewal date changes and/or the membership level changes. Should the Webhook only trigger for Profile changes only?
2) In…
1 vote -
menu left
How can I override the Tinted Tiles theme to hover the sub-navigation items to the right instead of the left?
1 vote -
What is the best option managed or unmanaged hosting
I have an ecommerce website which is created on Magento framework and I am looking to launch it in the USA region. For this reason I have been looking towards the right hosting for Magento.
A friend of mine recommended me AWS server for the Magento hosting. But, I am confused whether, I go for the conventional unmanaged AWS server or the managed AWS server which is powered by Cloudways.
So, if there is anyone in the community who can help me take a decision. Below are the urls of both the hostings that I am referring to.
https://aws.amazon.com/websites/
https://www.cloudways.com/en/magento-hosting.php1 vote -
[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 can I pass logged in member's useid, name and email address to an embedded jotform javascript?
I am embedding a jotform into the wild apricot site to which I wish to pass the loggedin members's userid, name and email address so that the user doesn't not have to enter it again. Is it possible via simple URL parameters?
I am embedding the form via a simple javascript call
<script type="text/javascript" src="https://form.jotform.com/jsform/201402521458041"></script>
1 vote -
account level api access control
Is there a method of authentication that only allows selected account/member to use the api?
currently, reading the documentation, using the api key is not differentiable between accounts. Even with the username/password method, all accounts (who has access to the client id/secret) can access the api.
The only hack I can think of, which only works if there is a small number of accounts that need api access, is to set up a different api key/or client key-secret per account -- this is arguably a hack.1 voteDmitry Smirnov respondedThere is no way to control access to API on this level. If you do not want some people to access API, then do not share client secret with them (this is why it is called secret).
Anyway, when an admin or a member works with API, he cannot exceed his access level. It means that API will return only data available to this user through the web interface. -
Is there any way to hook into the page's onpageshow handler?
I'm trying to prototype a button that would enable me to switch between one of two languages on the website by using CSS, cookies and Javascript. I think I have some of it working except I need to be able to set the controls to the desired language when I visit a new page. I think I need to hook into the page's "onpageshow" event handler to make my calls there.
Does anyone know if there is a way to do this? If not, it'd be great if WA supplied hooks so we could make calls to the various page…
1 vote
- Don't see your idea?