Developers

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

  1. Getting Odd 200 Response when creating new contact

    I am currently able to pull list of contacts and specific contacts successfully through the API; but am having an odd issue when creating a contact.

    I get a 200 OK response but the returned JSON does not return expected fields such as "FirstName" and "LastName", it isntead lists "RequestID" and "RequestURL".

    I don't see any documentation about such fields; can anyone point me in the right direction of what to do with these fields or what they are for? I've attached a screenshot of the JSON response I am receiving.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. 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).

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  3. How to Encode Quotes in PHP for API

    I'm using PHP to create a new event via the API just fine. However if the Name of the event has single or double quotes or an ampersand sign, these get converted to utf8 unicode in the published WA event. I can't figure out what PHP encoding WA needs in the POST/PUT for the Name to get a properly decoded result in the WA admin. I've tried htmlentities(), htmlspecialchars(), and json_encode() to no avail.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  4. Need to create a bio page for board members.

    I need help understanding options to create a bio page for board members part of a nonprofit. Please help me understand the tools available to create a Biography page for key members. Thanks.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Using Lightbox with WA

    Anybody using lightbox for photo display on a WA site? Mine was working, now it's not and I don't know where to start troubleshooting it. Any help appreciated!
    TIA!
    -Mike

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  6. customised forms

    We need add Job Opportunities form in our website for other members to add. For same job opportunities members can apply for. What is the best solution to achieve this in wild apricot? Please let us know.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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:


    1. Any number of additional (optionally-defined) content types can be established by a site administrator


    2. 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
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  8. centre the menu

    Is there any way to centre the menu on the page

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. GET, PUT, and POST for blog content

    I would like to be able to retrieve, update, and create blog posts via the API.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  10. 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
    John

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  11. List of failed email contacts

    How do I get a list of contacts who cannot be emailed to? We have a large list and nearly 8,000 who are bounced emails, but I cannot see a way to remove them. We are getting charged for the extra contacts but are unable to remove them.

    Technical support have not responded to queries, does anyone here have an idea?

    Thanks
    John

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  12. Cancel Registration API

    We need to be able to cancel registrations via the API. The only option currently is to delete the registration, which is far from ideal since there is no longer any record of the registration in WA, and no way to restore the registration manually.

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  13. 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.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  14. Sending email via API

    I'm trying to use the send email API call - https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricotpublicapi/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": [

    {
    
    &quot;Id&quot;: 0,
    &quot;Type&quot;: &quot;IndividualRecipient&quot;,
    &quot;Name&quot;: &quot;test&quot;,
    &quot;Email&quot;: &quot;&lt;HIDDEN&gt;&quot;
    }

    ],
    "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…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  15. Export discussion forum database

    Export Discussion forum data to a csv file or xml

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  16. 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.

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
  17. How to drive the saggerhub api

    Hi. It appears that I should be able to use swaggerhub to pull data from my WA database with the API, but I can't figure out how to do this because the code in the code window of swagger is 'read only'. I can see that I have to change it so that it points to my WA site, and although I have an option to enter API key to authenticate, there seems no way to change the site. Help appreciated

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    I have to admit, authorization with login/password through swaggerhub stopped working. Authorization with API key (2-nd in a list) still works.

    I can recommend to use one of these options:
    1 POSTMAN – is a great tool to work with API. It is possible to import swagger description.

    2 Use our test tool at API browser. It is a web application located at https://api.wildapricot.org/ui/home/requestoauthtoken

  18. 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

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
  19. Changing CSS, text and translation with Wild Apricot Text Manager

    The Wild Apricot Text Manager (WATM) is a Javascript library included with every Wild Apricot website that NewPath Consulting designs.

    https://www.newpathconsulting.com/2018/11/introducing-the-wild-apricot-text-manager.html

    WATM can be used by any Wild Apricot administrator to manage and replace nearly every piece of system text in Wild Apricot. You can also use it to change CSS for any class or ID.

    WATM can be used also to create a multi-lingual Wild Apricot website without the need to create duplicate pages, page templates or events. WATM currently supports a maximum of 2 languages. A list of replaceable elements is included in the easy-to-edit Excel configuration file.…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. API for non admin users

    Hello

    I have added a page within WA website and I have added Dimitri example (https://gist.github.com/DmitriySmirnov/0beda14e93bed7b5dc2f)

    But it does not work for non-admin users, someone could help me please?

    Regards

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base