These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question

Does EventFunction and EventResource REST endpoints work for POST in 20.2/2017 with latest Service Pack?

Does EventFunction and EventResource REST endpoints work for POST in 20.2/2017 with latest Service Pack? Documentation for 20.3.44 was added at but it's not documented for 2017 https://developer.imis.com/reference/eventfunction https://developer.imis.com/reference/eventresource

Where did /api/QueryDefinition go?

In iMIS 2017, I can call `/api/QueryDefinition/7feb7da5-3eac-4f11-abb2-291c14cf5aca` and get the definition of that query (so that I know what parameters to pass when I call it). In iMIS 20.3.x, when I call this endpoint I get `503 Service Not Available: There is no service defined for QueryDefinition`. Am I doing something wrong, or did this API contract change between iMIS versions? How can I get a query definition for iMIS Professional (200) and iMIS Enterprise (20.3/20.4)?

After Gift Added to cart Invoice is missing CartId remains the same

We add an invoice to the cart and push the member to a gift (standard) ipart with the "Add to cart" button. When the gift is added, the Invoice is removed from the cart, but the CartId is the same (we can see this in postman). No errors are presented.

ArgumentFault error when trying to add new comboparty

I am writing an iPart that accepts individual and company information from a visitor and uses that to create a new comboparty. As a start, I have copied the code line for line from the documentation page at https://developer.imis.com/docs/organization. I have modified it slightly to place text that would have been written to the console to display in a label. I have also modified the customertypecode to match the type we want to create. When I run the code I am receiving the following error (with stack trace): ArgumentFault: An error occurred. Please contact the administrator. at Asi.Soa.ClientServices.EntityServiceCommonServiceProxy.Add(Object entity) at Asi.Soa.ClientServices.EntityManager.Add(Object entity) at Asi.Soa.ClientServices.EntityManager.Add[T](T entity) at MCLEiParts.CodeTest.AddComboParty() My first guess is that I am not passing all required fields. I tried adding email but still receive the error. Is it possible we have configured more required fields and the system is simply enforcing that? If so, where do I check to determine which fields are required? I also want to enable login for this comboparty. How do I do that? Thank you for your help.

SSO client application does not require user to log in.

Hello, I have an SSO client application configured in RISE and it is working successfully, retrieving correctly a refresh-token for the user that was previously logged in iMIS cloud. However, after the user is logged out, I make a call again to SSO client application in order to get the iMIS login page. Rather than that, I am getting (Image 1) error page for a seconds and after that it redirects to the “Login redirect Url” with a refresh token for a GUET user. I have picked up the option “Content requires user to log in” to expect the login page comes up for an anonymous user, but looks like it does not work. (see Image 2) Do you know if this is an SSO client application BUG? Or do I missed some configuration? Any help would be appreciate. Regards Roberto.

Is there a way to change a username (via API) without automatically sending the user an email?

Hello, the MembershipWebService has a ChangeUsername function (with parameters for the old username and new username), and this works fine. However, it automatically sends an email to the user notifying them of the update, and including their new automatically-generated password in PLAINTEXT. (This is for 20.2.64.8807.) We've been asked to not send the email at all, if possible. The use case is that we are importing data into iMIS with some people supplying a new email address (we use email as username). If we have to send the email, we'd at least like to customize it or have it not send the new password in plaintext, and instead include a link for resetting the password. My guess is that the web service implementation is calling the AsiMembershipProvider.ChangeUsername overload that only takes old and new usernames as parameters, which then calls the other ChangeUsername function, passing true for the sendChangeEmail parameter value. Ideally, we'd like the web service to implement ChangeUsername(string oldUsername, string newUsername, bool sendChangeEmail), so we can specify whether or not we want to send the email. Do you have any suggestions for how to not send the email? Is there a REST endpoint for changing username? I haven't been able to find one. Any advice on how to not send the automatic email or to change it so it doesn't include the password would be great. Thanks, Jamal

SourceCodes: Add/Create with REST

Is there a REST endpoint that allows creation of SourceCodes, or automatic upload of a sourceCode file

Custom Join/Renew process in the Cloud

We would like to bundle together membership dues and additional items like event registrations while also adding in special pricing on specific conditions. Could a ComboOrder rest call solve this? In addition, we would like to set up a prorate rule for new members only so if they pay 7 months after the fiscal month then advance the renewal date to end of next fiscal.

Partial Payment of Invoice Through SDK

Hi all, We'd like to support partial invoice payments on our website, as only full payments are allowed currently. If I try to process a partial payment however, I get the following message back from iMIS: "Error: Order total exceeds payment amount". I gather from this error that iMIS won't allow partial payments of invoices using the SDK, and that we must process these manually. Does anyone have any suggestions to get this working? Cheers, Jordan.

SSO - Refresh Token Expiration

I set up a client application with a refresh token expiration set to 10080 (7 days in minutes). I retrieved a refresh token yesterday evening, used it a few times to get access tokens. For some reason that token shows it is expired today. Is the expiration set in the client application not used? When testing I was able to use a refresh token multiple times to retrieve several different access tokens. I saw a question related to this, but I did not really see a clear answer.