Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
108 results found
-
api create event reminder emails
I am already using the following WA API to create events programmatically (we create several hundred events per year):
POST /accounts/{accountId}/eventsHowever, I can't figure out how to create these events with the following emails already configured:
- Registration Confirmation Email
- Registration Cancellation Email
- Registration Reminder 1 (scheduled for 1 day before event)
I've looked through the API information on this webpage (https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/7.15.0#/), but I can't seem to find the appropriate attributes in the data model.
Does anyone what attributes need to be set for these 3 emails to be configured for my events?
Thank you in advance for…
7 votes -
Additional, Administrator-defined, Optionally-searchable Content Types
Think it would be quite useful to have the ability to (optionally) define additional "Content Types", i.e., types other than the default set already provided (Page contents, Blogs, Forums, Events, & Public Member profiles).
This capability would add an important, new dimension to the site wide Search Gadget, and would provide a user-configurable means to manage the scope of a user's search capability, by role!
Such that:
Any number of additional (optionally-defined) content types can be established by a site administrator
These optionally-defined content types can be administrator-selected for inclusion/exclusion: (a) By role and (b) In the site search Gadget’s…
7 votes -
Is anyone at Wild Apricot listening?
I find it concerning that there are no comments on any of these postings from anyone on the development team at Wild Apricot, other than for the very few ideas that have been implemented.
I am sure that all the developers out there would like to know that the postings have been reviewed and get some idea of the likelihood of the suggestions being implemented.
This is particularly important for postings that are identifying behaviour that is, in fact, a bug.5 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 votes
Dmitry Smirnov
responded
You 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.
-
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 -
API Report to include event cancellations
The website provides a method to export all registrants. This report includes cancelled registrants, and those registrants are marked as such.
I have a need to provide a list of all event registrants (including cancellations) to the various event organizers on a regular basis. I am currently using the "Events.EventRegistrations" API. However, it does not include the cancelled registrants. Is there a way I can include the cancelled registrants via an API? The "Export Registrants" report on the website will do this, but I need to automate this process.
4 votes -
API endpoint to edit or add access groups to a selected member
Is there an available API endpoint to edit or add access groups to a selected member? From what I've understood in the documentation the API endpoint available is to retrieve the access groups or the access group of a member. But there is no endpoint to edit or add access groups to a target member.
4 votes -
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 -
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
John4 votes
Dmitry Smirnov
responded
API cannot do it.
-
Monthly list of new users
I am attempting to create a google doc for our Printing/Mail vendor to easy grab info on the members that renwed or signed up in the last 30 days. The idea is the vendor would just open this share google doc once a month, run the report, export the data.
I am using your example from: https://github.com/WildApricot/ApiSamples/tree/master/GoogleScript
function getCardData(){
Logger.clear();var ui = SpreadsheetApp.getUi();
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var urls = urlBuilder();var token = getToken(ui, urls.getAuthServiceUrl());
var accountId = getDataFromApi(urls.getAccountsListUrl(), token)[0].Id;
var filter = '\'Renewal date last changed\' ge 2017-10-01 AND \'Mebership Status\' eq Active'
var query = getDataFromApi(urls.getCardDataUrl(accountId,…4 votes -
Admin API for Event Cancellation
I see a non-admin API for cancelling Event Registrations. However, we need an admin API with this capability. We do not want registrants cancelling their own registrations, but we need an API to allow admins to do this.
3 votes -
current token does not provide access to scope 'contacts_me'
I'm trying to simply create software that pulls our contact list. I'm using the API key I've created, I granted full-access. Whenever I try, in Postman, to pull account or contacts, I get "current token does not provide access to scope 'contacts_me'. HTTP 403. I thought the whole point of using the API key is that I get full access, what am I missing?
3 votes -
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=trueparameter I still get a thumbnail image back.3 votes
Dmitry Smirnov
responded
API 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.
-
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 -
Orders-products vs Payments?
Hi Everyone,
I would like to integrate shop orders and payments with an external platform, this means whenever a user buys a digital product through the store, the content is unlocked in the external platform.
I'm digging around the API and found a complete API for payments and invoices but, unfortunately, payments and invoices don't have any relationship with orders and products.
Are this unimplemented methods of the API?
Thanks in advance for any response
3 votes -
Single sign on for Moodle
Has anyone successfully setup single sign in authentication between WA and a Moodle installation? Looking for some guidance/assistance. Thanks in advance -
3 votes -
Event creation via API cannot set all fields
I am creating Events using the API and cannot see how the following fields can be set (I can set these as an Administrator in the website) .....
Show registrants who want to be listed
to everyone
to members only
Include pending registrationsAlso I cannot see how the schedule for email announcements and reminders for an Event can be set via the API?
3 votes
Team Mobile
responded
Status update in case someone new will see this topic:
The section “Show registrants who want to be listed” have been added to API already.Schedule for email announcements and reminders can’t be set via API at the moment.
As a workaround, you could create a template event on the web, set the start date in the distant future and all settings you need. Then you can clone it via POST request:
api.wildapricot.org/v2/rpc{AccountId}/CloneEvent
The request body should be like this:
{“EventId”: 123456} -
API Event Registrations - Support filters beside list of ID's ?
Does anyone know if the event registration call supports filters other than the list of ID's mention on the help page.
Events can be filtered much like contacts but it does not specify for event registrations.
I want to limit the list of registrations returned for a contact to only those today or later.
3 votes
Team Mobile
responded
It is not possible in current version of API.
-
New API Pagination - Performance Degradation
The pagination requirement in the upcoming API release requires multiple API calls in place of one.
I did a test integration on one of our custom javascript operations that queries events and currently returns about 1300 records, which takes about 2 seconds (already slow by modern standards - by the way I am running a very fast internet connection). With the limitation of 100 records per query, it now requires 13 iterations at 2 seconds a piece for a total of just under 30 seconds. This is obviously unacceptable.
I have attached a code snippet to illustration what I am…2 votes -
API Timeout
Hi, I have a script that fetches the contactId for each person in the database and then gets the details of each person. The rate limit for the "contact by identifier" is 120 per minute. I seem to be getting some time out errors every now and then. I am wondering if this is due to the rate limit. I have the request set for 2 requests per second. Sometimes after 600 records or so it starts to timeout. My script is set up to retry the ID after 5 seconds. It will go through a max of 3 retries…
2 votes
- Don't see your idea?