Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
206 results found
-
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 -
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 votesTeam Mobile respondedIt is not possible in current version of API.
-
Auction from within WA
My club conducts an annual auction which supports both silent and live components. Has anyone created an auction plugin or software that would integrate the Wild Apricot contact database and allow an auction to be administered from within the website?
3 votesFrank respondedAs far as we know, no one has created this kind of plugin or integration.
-
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 -
Contacts API filter by FieldValues
I want to be able to retrieve contacts based on the value of a custom contact field.
I have been testing using the Swagger interface.
The following filters return errors:
Filter: member eq true and 'testfield' eq '12345'
Filter: member eq true and testfield eq '12345'
Error: Operator Equal is not supported for attribute testfieldFilter: member eq true and substringof('testfield', '12345')
Error: Operator Like is not supported for attribute testfieldThe 'testfield' attribute seems to be valid, however the filters are not supported.
I could load all the contacts and filter them but isn't that wasting WA resources?Any…
2 votes -
Retrieve registrant AND guest data with single API call?
I'm using the GET /accounts/{accountId}/eventregistrations API to retrieve the list of registrants. I also have a large number of guests. The only way to retrieve detailed guest info is to make individual calls to the registrant API, find whether they have any guests then make individual calls for each guest.
Is there any way to use a single API call to retrieve all registrant and guest info in one call, to speed things up and make fewer calls, maybe using $filter? Based on the SWAGGER API reference it doesn't seem possible, but doesn't hurt to ask.
2 votes -
Find events by API where reminder email schedules have not been set up
We would like to find upcoming events where reminder e-mails have not been created. We find that we have a lot more no shows when that happens. Right now an admin has to go through and click on each event by name to see if this was done, and it is quite time consuming for our number of events. I have used the API successfully for other items; but I do not see the data attributes for the e-mail reminders in the API.
2 votes -
SSL Issue
Common names for WA Issued SSL have been switched to *.wildapricot.org and not that of the custom domains. THIS IS CRITICAL PLEASE ADDRESS.
2 votes -
Having trouble authenticating in Postman
I'm working on authenticating in Postman for an upcoming project and this is what I'm sending:
POST /auth/token HTTP/1.1
Host: oauth.wildapricot.org
Authorization: Basic {{API KEY GOES HERE}}
Content-Type: application/x-www-form-urlencoded
Content-Length: 40granttype=clientcredentials&scope=auto
But I'm consistently getting a 401 Unauthorized error with this output:
{
"error": "invalidclient",
"errordescription": null,
"error_uri": null
}I'm able to retrieve a token using the tool at https://api.wildapricot.org/ui/home/RequestOAuthToken and make calls using the API browser but, since I'm working on an integration with an existing application, I really need to be able to make a call on my own. Any hints on…
2 votes -
Payment and invoice allocation
I have posted some payments via the payments API with the following JSON:
{
"Value": 0.65,
"DocumentDate": "2022-12-18",
"Invoices": [ {"id": 002049} ],
"Tender": {"id": 1038048},
"Contact": {"id": 12345678},
"Comment": "Test Payment to allocate to invoice",
"PaymentType": "InvoicePayment"
}
The invoice number is correct (and has to be 0 justified otherwise the API fails), the payment is correctly entered in Wild Apricot but the response returns <AllocatedValue>0.0000</AllocatedValue>
As a result, the payment needs to be manually settled in Wild Apricot against that same invoice.
I expected the provision of the invoice number would automatically settle the payment. Did I miss…2 votes -
How to handle payment for new member application through API
We would like to create a custom membership application using the API, that allows people to become members and pay via credit card to instantly become members, and therefore gain access to the website.
Looking through the API docs, I'm unsure what the process is for creating a new member, and to retrieve the payment link to allow them to pay as part of the application process. The public non-admin API requires a wild apricot member to be logged in, right? So is processing a new application via the admin API possible?
Any help or guidance would be much appreciated,…
2 votes -
Events filter Isupcoming doesn't work
Using the following base:
https://api.wildapricot.org/v2.1/Accounts/Events?I can successfully list ALL events, or filter the list by Name using substringof, but...
The following filters don't work:
'$filter' => 'EndDate lt 2022-12-31'
'$filter' => 'IsUpcoming eq true'
'$filter' => 'IsUpcoming eq True'What gives?
2 votes -
Modify a group's membership via the API
Currently the only way to clear a group's membership is via the web interface. To do this same thing via the API, I have to go through each member and modify their groups list. It would be great if I could just set the group's ContactIds parameter to [] (an empty array)
2 votes -
How to add a Registrant to a Waitlist using the API?
I have a C# application that successfully adds registrants to an existing event. However, I have been unable to add registrants to the Waitlist when the event has reached its limit.
The following documentation on the web shows how to add registrations to an event:
However, I have been unable to locate similar documentation for adding to the Waitlist. Does anyone know how to add new registrants to an Event's Waitlist?
Appreciate any assistance.
2 votes -
Integromat/WA: Have a scenario to generate Events. Want the EndTime to be blank and it always gets populated.
This is a question, not an idea. Where do I post a question? Anyway. I'm using Integromat to generate WildApricot events from Excel spreadsheet. I want the Event EndTime to be blank and it always gets populated no matter what I try. (I've tried to use "empty", "space", "false"... It seems this input should be a boolean. Any help or pointing to documentation on how to populate these fields would be appreciated.
2 votes -
Cannot display profile photo on member only page
I am using the public API to show the photos of members who have birthdays in a particular month. The page is restricted so that only members can view. I am able to get and display the names and birthdays of members. I am also able to get a link to their profile picture (https://api.wildapricot.org/publicview/v1/accounts/XXXXXX/Pictures/name_of_file.png) however, I am unable to display that photo on the page. It appears as a broken image link and I get an error that says "401 (Invalid credentials. Access to API not allowed.)" I am not sure why this is happening. Does anyone…
2 votes -
Contacts API: filter non-members
How do I access non-members using the Contacts API. I have already tried '&$filter=Member ne true' but that seems to just return a list of all the contacts including members that have a membership associated to their account.
2 votes -
Check for Logged In user on external site
Is there a way to create an if statement in an external site that checks for a logged in user? e.g.
{if user=logged-in} Custom Content {/if}
Can this be achieved with Webhooks or the API or Javascript?
Has anybody got any experience with this?Regards
Simon2 votes -
Contact API Returns Dataset or Status
Sometimes the v2.2 API calls (done via API token and auth built on the PHP class from your sampleApplication.php on GitHub) to get a specific Contact returns the user's fieldset, and sometimes it returns an object with a State of either 'Waiting' or 'Complete'.
I've tried adding ?$async=false but it doesn't seem to change anything. Matter of fact, when I added $async=false&$select='First name','Last name' (as mentioned here in the forums, previously) I got a 400 bad request.
It seems like sometimes the API kicks butt and returns everything I need instantly, but other times it sends a Status of either…
2 votes
- Don't see your idea?