Skip to content

Developers

Mostly about Wild Apricot API. Feel free to share examples of your code!

203 results found

  1. How to create a upload file button in WA website

    I created a website using WA, and this is our company's portal. When our members sign in to this website, they can download our Excel file sample and need to fill it. After that, they will upload back, and we can download it to check the Excel file. How can we do that? Using API? Thank you!

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Automatically change footer year

    Never forget to change your footer (c) Year!
    Here's a simple way to automate it:
    1- edit page template
    2- add custom html gadget
    3- open gadget> click on the Edit Code button on left side nav
    4- click save and never deal with that again 🙂
    *Note edit Nicasio Design text to make it your own...
    © Nicasio Design <span id="year"></span></p>
    <!-- JS before /body -->
    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. AccessLevel

    Creating a separate request based on a comment in another one: "Please also add the “AccessLevel” filter for events"
    <a href="https://www.seegra.in/neet-repeaters/">Seegra best NEET-AIIMS medical coaching center for NEET repeaters</a>

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Contact API Never Returns Contacts

    We are using the API get Contacts API query. Sometimes and intermittently our query returns the Contacts as expected but more often enters a state where it never returns the results. Below are logs of both cases. Our question for the failed case : "what API call do we need to make to retrieve the Contact results?"

    Here is the sequence when the call returns the contacts successfully. We assume that we should call the ResultUrl from the first response to receive the list of contacts and that approach does return the data :-

    Start API CALL, path: https://api.wildapricot.org/v2/accounts/<id>/contacts…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Dmitry Smirnov responded

    There are 2 options:

    1. If you need data immediately, then you may add a parameter $async=false to the initial query. With this flag API returns a list immediately. If your number of contacts is below 500 it is a reasonable option.

    2 Another option is to do exactly what you do, but wait for several seconds between API calls.

    No matter what option you prefer, I’d recommend using $select parameter to read only the fields you actually need. It will significantly improve performance.

    Here is an example:

    GET https://api.wildapricot.com/v2.2/Accounts/183112/Contacts/?$async=false&$select='First name’,‘Last name’,‘Renewal due’

  5. Developer Newsletter or Digest

    Does WA send out any sort of developer newsletter or digest that summarizes all recent changes? Ideally it would also highlight activity on the forums (new ideas, top 10 ideas, etc).

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. All Events API not returning all data

    Hi, I am calling all the events and get all the data up until 'tags', but the swaggerhub documentation shows that details, description, etc. I know all of this can be accessed through the /events/{event_id}, but then if I am querying all the upcoming events and need the details, I am then looping through and performing 20+ api calls, which seems redundant. I was curious if you can retrieve the details, description, etc via the /events/ api, or if the documentation has it listed incorrectly. Thanks.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Contacts API query that filters also on having (or not) a specific Membership Level

    Trying to get a list of members that does not have the membership level 'Commitee member'. This query of course works:

    https://api.wildapricot.org/v2.2/accounts/ACCOUNTID/Contacts?$async=false&$filter=(Status eq 'Active')AND(Archived eq false)

    .. and gets me the +220 contacts that I expect, but this does not work:

    https://api.wildapricot.org/v2.2/accounts/ACCOUNTID/Contacts?$async=false&$filter=(Status eq 'Active')AND(Archived eq false)AND(MembershipLevel ne 'Committee member')

    Looking at the response from the preceding query.. the following is an example of a response:

    ////
    {
    "Contacts": [
    {
    "FirstName": "NAME",
    "LastName": "LASTNAME",
    "Email": "EMAIL",
    "DisplayName": "NAME LASTNAME",
    "Organization": "",
    "ProfileLastUpdated": "2017-11-16T00:10:13.337+11:00",
    "MembershipLevel": {
    "Id": 679139,
    "Url": "https://api.wildapricot.org/v2.2/accounts/<ACCOUNTID>/MembershipLevels/679139",
    "Name": "Committee member"
    },
    .
    .
    ////

    How can…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. 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}​/events
    

    However, 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…

    6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Extend non-admin API to allow filtering of events

    The non-admin API returns a list of all events that the current user has registered for. While I can filter the results to show only future events, it would be nice if the API did this for me. The admin API allows this by letting me specify the StartDate.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. API Observing Privacy Settings

    We are using the API https://api.wildapricot.org/v2/accounts/\(id)/contacts to get the list of contacts.

    We use User login + password authentication for the API call.

    If we use an admin account for the API authentication we get all fields for each contact, even fields that the contact has marked as "No access" in privacy. If we use a regular user account for the authentication we get immediately an HTTP 403 unauthorized status to even run the query.

    So the question: how do we set up the authentication for this API call so that the query only returns contact fields that the contact…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. Batch request does not support member api ?

    Tried below payload

    [
    {
    "Id": "profile",
    "Order": 0,
    "PathAndQuery": "/v2.2/accounts/{{accountId}}/contacts",
    "Method": "GET"
    },
    ]

    But get this response

    [
    {
    "RequestId": "profile",
    "HttpStatusCode": 400,
    "HttpReasonPhrase": "Request path does not look like valid API request",
    "ResponseData": null
    }
    ]

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. How to get a list of file that have been uploaded to the server in code.

    Getting some content provided to keep the website up to date is difficult as they are not overly technical, I'd like to write a script in a custom html widget to look into a folder <yourwebsite>/resources/Documents/<foldername> and a return a list of the files that currently exist in the folder. The aim is for pictures and pdf's to be listed and then the script creates the html to display the images with a link to the pdf.

    This means users will only need to upload files and the site will auto publish them

    Can this be done via the API,…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. WA-Google Workspace Sync

    This project is a sync for core organizational data between WA and Google Workspace (formerly G Suite).

    Specifically, WA needs to keep Workspace (Admin Console) updated with any changes to the active member list, and add members to appropriate groups. Further, all event changes within WA need to be synced with an organizational Google Calendar.

    A Google Cloud service account has already been generated to enable server-to-server flow, and programmatic OAuth 2 has been implemented for each applicable Workspace app (e.g., Calendar). However, OAuth with WA has not been established, and the calls needed for syncing have not been found.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Major problems with HTML Emails

    We have been constructing the email module in to the JAB Creations web platform for the past few months. Some of our users receive email from WA and it has been having major problems that our automated systems simply can not fix:

    • We do not support center, font and other obsolete element.
    • We do not support align attribute to center an element directly or to adjust the text-align of child content.
    • We do not support any obsolete HTML attributes that have long been replaced by CSS (align, cell-padding, cell-spacing, height, width, etc).

    Our platform has obsoleted all versions of Internet…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base