Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
203 results found
-
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 -
/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 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 -
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 -
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 -
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 -
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 -
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 -
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 -
captcha
I want to disable Captcha security on the subscription form. Is there any way to do so? I have checked the Admin setting panel, but, it is not feasible in that way. So, I would appreciate any idea.
2 votes -
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.
-
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 -
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 -
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 -
How to get payment instruction via API
As an admin user, we can set the payment instruction in the payment setting page in Wild Apricot dashboard. However, it seems there is no way to get the payment instruction from API.
I found that the payment instruction appear in response of GET /events/{{eventid}} but for GET /membershipLevels/{{membershipLevelid}}, this field seems missing.
1 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 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.
-
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 -
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.
- Don't see your idea?