Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
12 results found
-
500 Internal Server Error
I have JavaScript that use the Member API on my site. They’ve been working for more than a year and have been unchanged for months. Suddenly I’m getting a 500 Internal Server Error on those pages. Is this a known error? Has the API changed? The scripts use an Ajax call using the format here https://gethelp.wildapricot.com/en/articles/1705-working-with-api-from-javascript . This is CRITICAL as the pages are on pages that deal with time sensitive and important organizational business. Any help is welcome.
1 vote -
HTTP 404 bad request for oAuth token
I have html page to get email and password from user and i want to send these criedentials to this url (https://oauth.wildapricot.org/auth/token) with the help of ajax request. i am getting bad request error from server. my request is $.ajax({
type: 'POST',
url: 'https://oauth.wildapricot.org/auth/token',
data: "grant_type=password&username=testim@test.com&password=123456&scope=auto",
dataType: "text",
contentType: 'application/x-www-form-urlencoded; charset=utf-8',
xhrFields: {
withCredentials: true
},
//crossDomain: true,
headers: {
'Authorization': "Basic " + window.btoa(settings.clientId + ':' + settings.clientSecret),
"Content-Type": "application/json"
},
//beforeSend: function (xhr) {
//},
success: function (result) {
var token = result;
},
//complete: function (jqXHR, textStatus) {
//},
error: function…1 vote -
TLS 1.2 and HTTP/1.1 Upgrade
What is the status of the TLS 1.2 and HTTP/1.1 Upgrades coming on June 30th 2018? Is Wild Apricot ready? Are there any actions we as users need to take to insure integration with services such as PayPal?
1 vote -
Anyone having problems getting 502 (bad gateway) response from API?
I am continually getting 502 responses from the API but they are inconsistent. Some requests go through without a problem but at another time, the same request that worked, say 20min ago returns a a 502. I am trying to isolate the problem but i don't know where to start. I have not changed anything in the header, url, or the url parameters. It seems the API just stops processing my requests.
I'm using Postman and I have also written some PHP scripts based on the PHP samples provided on Github.
Has anyone had this experience? I would like to…
1 vote -
API documentation
Trying to find the API documentation. I'd like to know if there's an API allowing posting a auto-created newsletter draft for editing and sending.
1 votehttps://help.wildapricot.com/display/DOC/Wild+Apricot+admin+API
There is no API for newsletters. -
can I reset (increase) the "registration limit" once the limit is reached and the signup disabled?
reset (increase) the "registration limit" once the limit is reached and the signup disabled?
My event was set at 20. It registration was disabled when the limit was reached. In the registration type window, I have now increased the limit to 30. That is confirmed on the screen. However the system is advising that the registration is still disabled as the original 20 was reached. It is not "resetting" to the new higher value. How can I get it to reset?
1 vote -
How do I get all common fields and member fields?
I'm using the PHP Sample Code, but can't figure out how to get the member fields from the call to the Contacts api. I did a var_dump and there appears to be several arrays. Do I iterate through each array or should I be making a call to the membershiplevel api? Please advise. Thanks in advance.
1 voteArchived due to no activity for 1 year.
-
Is it possible to use the $count function to count members?
Is it possible to use the $count directive with $filter to count number of members (rather than contacts)? Here's my google apps script call below. I get this error:
Request failed for https://api.wildapricot.org/v2/accounts/210450/contacts?$count&$filter='Member%20eq%20true' returned code 400. Truncated server response: {"code":"Search","message":"Failed to build expression tree. Multiple expression roots: Argument:Member eq true"} (use muteHttpExceptions option to examine full response)
I think I may have to iterate through a get all contacts call instead and count them manually, but I am not sure how to do that.
function getMemberCount()
{Logger.clear();
var urls = urlBuilder();
var ui = SpreadsheetApp.getUi();
var sheet =…1 voteThere was no activity for 5 months. We archive this thread.
Alex, if you’d like to share your code, feel free to reopen this idea or make a new one. -
how do I import and export data through API
Does anyone has done a data sync between Apricot and another data source such as your own database? the API only handle one piece of info at a time and there is no data flow chart for us to understand how adding a new member works from end to end. such as a bundle api or the chain of the API call to achieve this.
1 vote -
HTTP 403 Response from request for oAuth token
Hi,
When I try to get an oAuth token I get a http 403 response from the wild apricot service.
I am using the following:
URL: https://oauth.wildapricot.org/auth/token
Post parameters: grantType=authorizationcode&code=c189e8da588321ca0317be0c78860fe4&clientid=tlccvWebsite&redirecturi=http://localhost/wa-ssotest/AuthServlet&scope=contactsme
Content-Type: application/x-www-form-urlencoded
Authorization: Basic with base64 endoded credentials
The request os a POST request.Any help to resolve this would be much appreciated!
Thx,
Heidi1 vote -
Looking for developer with Google Aps Script experience
Looking for help with an application using GAS and the WA API we are developing. Please email me at stephenattcme.org if interested.
1 vote -
Reading Evenfs and Members lists using API v1
Hello.
THe reason I'm asking about this is that I need to retrieve data from Events and Members lists into a MS Access database. As per what I've read
in another post, API v2 returns data in Json only, and Access VBA doesn't have adequate tools for processing Json lists. But when I try to read events information from my application (similar way I read the Contacts list), I get the error message "Forbidden".
If it's not possible to access this data using API v1, can anyone please send the piece of code for authenticating and further reading data using…1 voteWhile API v1 is still supported, all new features are added to later versions only.
- Don't see your idea?