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

Discussions

Ask a Question
ANSWERED

How to send password reset link to the iMIS user?

I want to send password reset link to the iMIS user. I am not able to find any any API regarding this. However, I found discussion link (https://developer.imis.com/discuss/5cacf97daedb00003ec44895) which says it is not available yet. But last comment was made 2 year ago in that discussion. So, do we have the API now. Also, I tried the "/asicommon/services/membership/membershipwebservice.asmx/RequestPasswordReset" web service through Postman, but getting error "You must authenticate with the web service before you can request a password reset." Unable to proceed further. Any help is appreciated. Thanks
ANSWERED

Write to a standalone table or UD table as guest with Rest API

Hi, it appears you need to have a token of a logged in staff user to set a value in a standalone table and to set a ud field record for another user. Is there a way to write to a standalone or guest on behalf when not logged in using the rest API? Thanks, Brian.

How to pass filters which are nested in Endpoint?

``` "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts", "PersonName": { "$type": "Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts", "LastName": "MANAGER", "FullName": "MANAGER" }, "AdditionalAttributes": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "CustomerTypeDescription", "Value": "Staff" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "IsMemberRecord", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "CustomerTypeCode", "Value": "STAFF" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "IsMember", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "IsInactiveMember", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "AllowAdvanceRenewal", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "JoinDate", "Value": "0001-01-01T00:00:00" } ] }, "Addresses": { "$type": "Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts", "AdditionalLines": { "$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts", "$values": [] }, "Address": { "$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts", "AddressId": "649416", "VerificationStatus": 0 }, "AddresseeText": "MANAGER\r\n", "AddressPurpose": "Home Address", "CommunicationPreferences": { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "default" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "mail" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "bill" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "ship" } ] }, "FullAddressId": "649416", "Salutation": { "$type": "Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts", "SalutationMethod": { "$type": "Asi.Soa.Membership.DataContracts.PartySalutationMethodSummaryData, Asi.Contracts", "PartySalutationMethodId": "main" }, "Text": "MANAGER" } } ] }, "AlternateIds": { "$type": "Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.AlternateIdData, Asi.Contracts", "Id": "2", "IdType": "Id" } ] }, "Emails": { "$type": "Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts", "Address": "[email protected]", "EmailType": "_Primary", "IsPrimary": true } ] }, "FinancialInformation": { "$type": "Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts" }, ``` This is not a complete JSON Question: Search for Parties by IDs: `https://{{URL}}/api/party?PartyID=2` Search for Parties by lastname: `https://{{URL}}/api/party?lastname=eq:smith` That is all fine because those are direct properties under Name. The real problem is if I have to search by a property which is nested like IsMemberRecord How do I do it? Many properties like Status, properties under AdditionalAttributes are nested This URL does not work: `https://{{URL}}/api/party?IsMemberRecord=eq:false` It gives back this validation error as response ``` {"$type":"Asi.Soa.Core.DataContracts.ValidateResultsData, Asi.Contracts","IsValid":false,"ValidationResults":{"$type":"Asi.Soa.Core.DataContracts.ValidationResultsData, Asi.Contracts","Errors":{"$type":"Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.ValidationResultData, Asi.Contracts","Message":"In the query, IsMemberRecord is not a known property name."}]},"Warnings":{"$type":"Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts","$values":[]}}} ```

Import Past Event Registrations into Cloud iMIS

Hi @CesarEpino, I have noticed so many of your answers, we just moved to Cloud iMIS in July/August and during that time of keeping both old and cloud iMIS running concurrently, we would like to see if there is a streamlined way to import just the key data points of the missing event transactions during this time. If you could provide me with an easy way to do this, that would be very helpful. Leo Fredette, MAIA

Can we intergrate RISE pages in iframe on othe MVC site?

I want to add pages created in RISE to be implemented in my MVC site. But it is not working. Below is the iframe code which i am using. <iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="http://imis.legion-aux.org/TESTIMIS/iSamples/Donor/Donate/Donate.aspx" style=" border: 0;width: 1200px;height: 200px;"></iframe> Directly opening the URL "http://imis.legion-aux.org/TESTIMIS/iSamples/Donor/Donate/Donate.aspx" is working fine. But in iframe, the body of the iframe is empty. Any ideas if i am implementing it in wrong way. Thanks
ANSWERED

Certification Program Enrollment with soap api

We are running IMIS2017. Our developers have been successful in calling soap API. However in our version of the API we have been told that certificationprogramregistration is not available. Any suggestions on how we can create and update certification program registrations?

REST Endpoint similar to Membership Endpoint "GetRolesWithLogin"

Hi ASI, I am developing a secured tool where a user is presented with a login screen to use the tool. But this tool is meant to be used by staff users only. Is there any rest endpoint where I can check if the credentials work? If worked, I can save the bearer token in local storage/cookie and use it for other REST Operations. Questions: Q1: How to validate if the credentials are of a sysadmin role or a person is a staff/full user? Q2: How to check if credentials didn't work at all? Any help with SOAP is also welcomed and appreciated! Although SOAP is going to be phased out, currently, we have those in the environment where this tool is going to be used.

Adding Company Admin Relationship

Hello, I have been following this posting on the discussion thread located here: https://developer.imis.com/discuss/5bd09fa65990600041f5563b I am trying to do something very similar, but am getting a response of "Does not have required permission. (0)" When I try to make that request via Postman. I am using a very similar JSON request as well, though I did not remove some fields from the Contact because I did not see how they would be required (if they are I will add them back). Does a certain type of user have to make this request in order for it go through? I made sure to already get an access token from the API. Judging from the discussion thread linked above is this the correct endpoint I am suppose to make the request to? https://imistour3947.imiscloud.com/api/CsRelationship (our demo instance) Here is the JSON string I am using for the request. { "$type": "Asi.Soa.Membership.DataContracts.GroupMemberData, Asi.Contracts", "MembershipDetails": { "$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailData, Asi.Contracts", "GroupMemberDetailId": "ORGRELATIONSHIP-18013:18052", "Stage": { "$type": "Asi.Soa.Membership.DataContracts.GroupStageData, Asi.Contracts" }, "IsActive": true, "Role": { "$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts", "RoleId": "COMPANYADMINISTRATOR", "Name": "Company Administrator" } } ] }, "Group": { "$type": "Asi.Soa.Membership.DataContracts.GroupSummaryData, Asi.Contracts", "GroupId": "ORGRELATIONSHIP-18013", "Description": "Organizational Relationship", "ParentIdentity": { "$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts", "EntityTypeName": "Party", "IdentityElements": { "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values": ["18013"] } }, "GroupClass": { "$type": "Asi.Soa.Membership.DataContracts.GroupClassSummaryData, Asi.Contracts", "GroupClassId": "ORGRELATIONSHIP", "Name": "Organization", "Description": "" }, "StatusCode": "A" }, "Party": { "$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts", "PartyId": "18052", "Id": "18052" } } I removed most of the properties from the Party object and just left the contact's ID. And for the Group I removed the name of the company. Do you have any suggestions as to how I should move forward?

REST API: Get Application Date/Time

Is there a REST call that can return the database time, similar to the asi_GetAppDatetime() SQL function? Or if not that, perhaps something that would return the System.Database.TimeZoneOffset value from the SystemConfig table, so we could calculate it ourselves? I'd have sworn there was something for this, but can't seem to locate it. Thanks!

Panel Editor breaks integration

Hi, have a client integration that is breaking whenever client uses a Panel Editor - even just to add a field (already existing) to a screen when neither are being used in the integration. Error was happening when we tried logging users in via WebServices. Error message: "Object reference not set to an instance of an object". https://www.pama.ca/AsiCommon/Services/Membership/MembershipWebService.asmx?op=LoginUserAndProvideCookies