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

Discussions

Ask a Question
ANSWERED

Update Renew months using REST API

Is there a way to update the Renew_months field in the Name_Fin table using the REST API? We have tried it using the Party API with no luck. Any help is appreciated. Thank you!

User ID of actual user is not being reflected in Change Logs when profile changes are made by that user on our website

We recently moved our website from Rise to Word Press. I note that when members update their profiles on our website, the User ID being reflected in our Change Logs is the one setup by our web developers (i.e. User ID of the dedicated Full User account) and NOT the User ID of the actual member when he/she logged in. Is it possible to have the member's User ID reflected on our change logs? If so, can you please advise how do we go about doing this?

How do I upload a multipage site to iMIS cloud?

The iPart approach described here https://developer.imis.com/docs/developing-a-client-based-ipart, only works for SPA (single page architecture). We have a simple site with subfolders that we want to upload. This site is HTML documentation for our JSON/ REST spec that is auto-generated from Bitbucket. Ideally, we'd want to establish a CI/CD pipeline so the documentation is output to a specified endpoint in iMIS. However, we're happy to zip it up and unzip at the specified location. Is there a way to do that in iMIS Cloud?

Single Sign On crashes when adding a Add client application

Hello, I'm trying to implement single sign on available in IMIS but I'm facing a problem at my first step which is to register the my client application. Below is the error I got from IIS event viewer. Could somebody help me ? Thank you ! Event code: 3005 Event message: An unhandled exception has occurred. Event time: 8/10/2020 1:05:33 PM Event time (UTC): 8/10/2020 5:05:33 PM Event ID: 0768e998a4064c44b0111230048bb09f Event sequence: 233 Event occurrence: 8 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/iMIS-1-132415128602011782 Trust level: Full Application Virtual Path: /iMIS Application Path: C:\ASI\iMIS\net\ Machine name: DC-IMISWEB-APP Process information: Process ID: 6268 Process name: w3wp.exe Account name: IIS APPPOOL\iMISApp1 Exception information: Exception type: ObjectValidationException Exception message: Max record count exceeded at Asi.Business.Contact.Contact.OnPreCommit() at Asi.Business.Contact.Individual.OnPreCommit() at Asi.Business.BusinessContainer.CommonPreCommitActions(Int32 accGroupId, BusinessItem item, Int32 modGroupId, DataServer server, DataRowState newState) at Asi.Business.BusinessContainer.InsertItem(BusinessItem item, DataServer server, Int32 accGroupId, Int32 modGroupId, Boolean controllerCommit) at Asi.Business.BusinessContainer.CommitItemInternal(DataServer server, BusinessItem item, Int32 accGroupId, Int32 modGroupId, Boolean acceptChanges, Int32 accGroupIndex) at Asi.Business.BusinessContainer.CommitItem(BusinessItem item, Boolean acceptChanges) at Asi.Business.BusinessContainer.CommitItem(BusinessItem item) at Asi.Business.BusinessItem.Commit() at Asi.Business.BusinessItem.Save() at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.AddAccount(ContactController contactController, String clientName, AsiMembershipProvider provider, String clientSecret) at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.SaveClientApplication(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: https://dc-imisweb-app.cba.org:443/iMIS/AsiCommon/Controls/Shared/SecurityAdmin/ClientApplication.aspx?WebsiteKey=4243d9e2-e91e-468c-97c2-2046d70c1e1a&hkey=166b7451-43a6-42f2-b3ad-8bdb6ce04124 Request path: /iMIS/AsiCommon/Controls/Shared/SecurityAdmin/ClientApplication.aspx User host address: 10.200.254.134 User: MANAGER Is authenticated: True Authentication Type: Application Thread account name: IIS APPPOOL\iMISApp1 Thread information: Thread ID: 140 Thread account name: IIS APPPOOL\iMISApp1 Is impersonating: False Stack trace: at Asi.Business.Contact.Contact.OnPreCommit() at Asi.Business.Contact.Individual.OnPreCommit() at Asi.Business.BusinessContainer.CommonPreCommitActions(Int32 accGroupId, BusinessItem item, Int32 modGroupId, DataServer server, DataRowState newState) at Asi.Business.BusinessContainer.InsertItem(BusinessItem item, DataServer server, Int32 accGroupId, Int32 modGroupId, Boolean controllerCommit) at Asi.Business.BusinessContainer.CommitItemInternal(DataServer server, BusinessItem item, Int32 accGroupId, Int32 modGroupId, Boolean acceptChanges, Int32 accGroupIndex) at Asi.Business.BusinessContainer.CommitItem(BusinessItem item, Boolean acceptChanges) at Asi.Business.BusinessContainer.CommitItem(BusinessItem item) at Asi.Business.BusinessItem.Commit() at Asi.Business.BusinessItem.Save() at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.AddAccount(ContactController contactController, String clientName, AsiMembershipProvider provider, String clientSecret) at Asi.WebRoot.AsiCommon.Controls.Shared.SecurityAdmin.ClientApplicationDisplay.SaveClientApplication(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Nesting Scheduler under RiSE site

I'm trying to 'nest' the scheduler as an application under a separate site in IIS. I'm pretty sure this is what ASI hosting does for the cloud clients. I'm looking to set up www.abc.org/API to get to REST API for a 20.2.26 (2015 Q4) client, who does not have a wildcard cert or a unique subdomain for the default site in IIS. running into duplicate connectionStrings error and when I try to `<clear />` prior, I get invalid web.config because of a missing section declaration (different sections based on where I tried to place the `<clear />`). I've tried to <remove> the data source, but get "The section is marked as being protected, but it does not have the correct format. It should contain only the `<EncryptedData>` child node." Any suggestions?
ANSWERED

Rest API to fetch username of party

I want to fetch the username of the user. There is customer tab in a member record, if you click on User Credentials along the bottom, a screen will come up with their username. But is there any Rest API to fetch the username. Thanks

Add a member to committee with Activity?

Hi, Is it possible to add a member to a committee using the activity API endpoint? Or do we have to make a post with groups? If so, how would you make a post for adding a contact to the committee with the groupmember endpoint? In older versions of iMIS, a member could be added to a committee by adding an activity record. Kind regards, Julie
ANSWERED

Custom Table update via API

Hello, We have 2 custom tables that we use to store various pieces of information about our Members. One is called 'Info' the other is 'Application'. The application table stores information about the Member Application Process. I have been able to successfully update the 'Info' table without problem, but I simply cannot update the Application no matter what I try. Doing a GET: /api/Application?PartyId=25 returns: { "$type": "Asi.Soa.Core.DataContracts.PagedResult`1[[Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts]], Asi.Contracts", "Items": { "$type": "System.Collections.Generic.List`1[[Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts]], mscorlib", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts", "EntityTypeName": "Application", "PrimaryParentEntityTypeName": "Party", "PrimaryParentIdentity": { "$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts", "EntityTypeName": "Party", "IdentityElements": { "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values": [ "25" ] } }, "Properties": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "ACCEPTANCE", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPLICATION_RECEIVED" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPROVAL_SENT" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPROVAL1_RECEIVED" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPROVAL2_RECEIVED" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPROVED1", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "APPROVED2", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "BOARD_APPROVED" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "BOARD_SENT" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "PartyId", "Value": "25" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "MEM_NUMBER1", "Value": { "$type": "System.Int32", "$value": 0 } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "MEM_NUMBER2", "Value": { "$type": "System.Int32", "$value": 0 } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "MEM_TYPE" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "PAY_METHOD" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "SUP_EMAILS", "Value": { "$type": "System.Boolean", "$value": false } }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "SUPPORTER1", "Value": "9999" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "SUPPORTER2", "Value": "8888" } ] } } ] }, "Offset": 0, "Limit": 100, "Count": 1, "TotalCount": 1, "NextPageLink": null, "HasNext": false, "NextOffset": 0 } I'm simply trying to update the 'SUPPORTER1' & 'SUPPORTER2' fields, but I cannot get the API to do so. What I've tried: POST: /api/Application?PartyId=25 This returns: An error occurred. Please contact the administrator. PUT: /api/Application?PartyId=25 This returns: { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "The requested resource does not support http method 'PUT'." } PATCH: /api/Application?PartyId=25 This returns: { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "The requested resource does not support http method 'PATCH'." } Removing the partyId query string: POST: /api/Application This returns: An error occurred. Please contact the administrator. PUT: /api/Application { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "The requested resource does not support http method 'PUT'." } PATCH: /api/Application { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "The requested resource does not support http method 'PATCH'." } Adding the PartyId as a URL segment: POST: /api/Application/25 This Returns: An error occurred. Please contact the administrator. PUT: /api/Application/25 This Returns: An error occurred. Please contact the administrator. PATCH: /api/Application/25 { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "The requested resource does not support http method 'PATCH'." } What is the correct way of doing this??

DLL issue

Could not load file or assembly 'Asi, Version=20.2.26.3211, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Stack trace at Asi.iBO.DataServer.Dispose(Boolean disposing) at Asi.iBO.DataServer.Dispose() at Asi.iBO.SystemConfig.CSystemConfig.Refresh(String connectionString) at Asi.iBO.SystemConfig.CSystemConfig..ctor(String connectionString) at Asi.iBO.iboAdmin.InitializeSystem(String connectionString) at AST_Web_Services.Wrappers.AmsWrapper.InitializeAms() in

REST Endpoint to extract Panel Sources(Fields and DataTypes) not Panel Data

Hi ASI Folks, Are there any available endpoints to extract a list of all Panel Sources and the information about field types and data types and length? Addon: Is there a way to create/update Panel Source using REST, like adding a new field to a Panel Source?