Skip to content

Developers

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

196 results found

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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

    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)
  6. 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

    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

    9 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. API Send Email - Cannot specify Reply to Address

    I have been able to create and send emails via the API using a POST to /rpc/{accountId}/email/SendEmail. However, I have not found a way to change the default reply to address (the default is support@wildapricot.com).
    Is there a way to specify a Reply To address similar to the option available when drafting an email on the website?
    Thanks, Paul

    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)
  8. add past event presentations

    How to add past event presentations? Let's say I store them in a folder Presentations\2019-11-01. How to modify a past event page that it will display the pdf files stored in this folder?

    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)
  9. 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

    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

    21 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. Fetch UserID to drive custom content

    I want to surface information from an external source that's specific to the current user's WA UserID (aka MemberID). Is it possible to determine programatically who's logged in (without GETting via API?). The javascript for this app will reside on WA and surface an external resource (probably a Google Sheet).

    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)
  11. Deactivate

    I would like to be able to deactivate a member through the API. Deactivating a pending membership is possible through /rpc/{accountId}/RejectPendingMembership, but that doesn't seem to be intended for existing memberships.

    I tried sending a PUT to /rpc/Accounts/{accountId}/Contacts/{member_id} with 'MembershipEnabled: false', as well as setting FieldValues like "Member", "SuspendedMember", and "Membership enabled", but this returned a 400 error.

    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)
  12. Example snippets for using webhooks?

    Hi,
    is it possible to get example of using webhooks? ie what data is sent? What return codes etc are required?
    Thanks,
    Russell

    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)
  13. Export discussion forum database

    Export Discussion forum data to a csv file or xml

    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)
  14. Search Results by State

    It seems that when setting a contact/member's address you can choose for the "State" field either the full state name or the standard two-character abbreviation.

    When adding the "State" field to a Member Directory search, you have to search specifically for EITHER the state name or abbrevation.

    It seems to me that there should be an option (or perhaps it should be by default) that the results returned for any one particularly state should include BOTH those contacts with the state name and state abbreviation.

    Why would you ever want to have separate database stores for the two different naming…

    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)
  15. Sending email via API

    I'm trying to use the send email API call - https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/2.1.0#/Emailing.Operations/SendEmail but not having any luck.

    I've tried from the API browser and via a Google Apps script. In both, I just get a 400 error.

    I'm POSTing to https://api.wildapricot.org/v2.1/rpc/<ACCOUNT>/email/sendemail, with this as my body:
    {
    "Subject": "test email",
    "Body": "test email",
    "Recipients": [
    {
    "Id": 0,
    "Type": "IndividualRecipient",
    "Name": "test",
    "Email": "<HIDDEN>"
    }
    ],
    "EventId": <EVENTID>
    }

    (account, email and event id have been hidden). Each time, I get a 400 error: Parameter is required: EmailDraftParam.
    The swagger documentation doesn't mention a "EmailDraftParam". What am I doing wrong?

    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

    6 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)
  16. Combine Reorder pages, Position in menu & Page template selections into a single admin window

    It is time to combine/merge the following site pages admin functions into a single admin window within the Website admin tab. Currently each website & system page has to be edited individually when moving the page into or out of the website menu system and when changing assigned page template. This can be time consuming when trying to move large volumes of pages in or out of the menu system or when changing templates. The Reorder pages function only allows the movement of page that are already in the menu system and doesn't account for any page not in the…

    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)
  17. How Where to to store and retrieve custom data, for a custom member group sign up sheet

    Description of project:
    Members sign up for an activity on a list, once signed up activity is not visible to other members. Admin page that allows admin to see all who have signed up and create to activities to add to the list.

    Member views:

    Page for specific member group. this page will be list of available activities/item for these group members to select. one member can been associated to an item on the list. Once an item has been selected by a member of this specific group only the member who selected the item can see the item with…

    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

    6 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)
  18. change system page colors

    How can I change the color of menu items on system pages? For example, the current color is blue; I want to change it to red.

    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)
  19. Single Sign On Very simple Ruby on Rails snippet

    Hello,
    I have been able to implement bare bones Wild Apricot single sign on steps in a blank Ruby on Rails project, thanks to Wild Apricot support! Please find attached a redacted and commented version of the code here for anyone who is trying to do similar with their own custom web app. This snippet prints out the ID of the user who is signed in.
    Cheers!

    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)
  20. WaApi.py ApiObject.__str__() and __repr__() throw TypeError ... is not JSON serializable

    I'm looking at the Python example code, specifically WaApi.py and ApiObject.init(). Lines 161-173 here:

    https://github.com/WildApricot/ApiSamples/blob/master/python/WaApi.py

    The str() and repr() methods on lines 175-179 throw a TypeError: {...} is not JSON serializable.

    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)
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base