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

Discussions

Ask a Question

custom IQA ReST resonse format example for person

We are trying to use a custom IQA to synchronize data between iMIS and our XenForo Forums. I do not have an example of the structure that is returned. It is invoked with the username of the person whose data is being requested. The query uses a custom iBO. I can look at the results of the IQA query in XML and other formats, but not the json file.
ANSWERED

Task Type from TaskDefinition BO

There is a standard BO called TaskDefinition which contains the list of PA Tasks, how can I know if the task is a Scheduled Task or Alert Display from that BO if used in an IQA.

API Request Successful but no Data returned

I'm running into an issue on select environments where I make a Get request and it does not show any errors but no data is returned. I have tried multiple endpoints but nothing seems to work. I have seen this before but it randomly just starts working but that's not a great answer. Here is one of the requests I was attempting, any insight is greatly appreciated. jQuery.ajax( "/api/Party?limit=1" , { type: "GET", headers: { "RequestVerificationToken": document.getElementById("__RequestVerificationToken").value }, "dataType": "json", "contentType": "application/json" });
ANSWERED

Updating a party field clears out other party data?

Hi, We are making a simple update to party to update an individual's email address. Our email address update goes through, but we are seeing other data cleared out/deleted at the time of the update such as Informal Name, Work Phone, Co Id,etc even though we are not making updates to those fields . Has anyone else encountered this issue? Below is our party call. var q = jQuery.ajax(url + "/api/Party/23280", { type: "PUT", headers: { "RequestVerificationToken": document.getElementById("__RequestVerificationToken").value }, "dataType": "json", "contentType": "application/json", "data": JSON.stringify({ "$type": "Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts", "PersonName": { "$type": "Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts", "FirstName": "Quackie", "InformalName": "", "LastName": "Chan", "FullName": "" }, "PartyId": 23280, "Id": 23280, "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 }] } }) });

Updating security??

Having trouble finding the right endpoints for updating a user security profile in iMIS cloud (20.3.90.44742). I want to: - change someone from full user to public user and/or - change an expiration date - mark them as disabled Have tried /UserSecurity, it doesn't return the expiration date. /User doesn't seem to allow PUT updates (or a valid _execute option). What am I missing? Thanks much.
ANSWERED

GroupMember endpoint filters

Hello, Looking at the API endpoint: https://developer.imis.com/reference/groupmember And wondering what filtering options are available? For example: How do we find a specific Relationship (table) record? It seems we can query on both iMIS ID and Target iMIS ID from: https://developer.imis.com/reference/groupmember#findrelationships Is it also possible to narrow down the search with Relationship Type and/or Reciprocal Relationship Type? Also when a relationship can be reciprocal (for instance: Work with) we would need to send two queries to check both ways, correct? Or is there a way around that? Similarly with committees (Activity table) how can we narrow down the search? By committee product code? By committee position code? By term dates? Thank you, Molivouth.
ANSWERED

How to pass multiple records in REST API POST method?

Hi team, I would like to create multiple records in my JSON object to insert multiples records at the same time using REST API POST. Is that possible? Please see the example below, which changes I should do in order to add more records (example diff PartyIds)? Thanks in advance, Chris. { "$type":"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts", "EntityTypeName":"My_Table_Transactions", "PrimaryParentEntityTypeName":"Party", "Properties":{ "$type":"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values":[ { "$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name":"Card_Number", "Value":"1111 1111 1111 1125" }, { "$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name":"PartyId", "Value":"232323" }, { "$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name":"Import_Filename", "Value":"testFile.csv" } ] } }
ANSWERED

How to erase a contact?

Hi, I notice there is a DELETE Operation on the Person endpoint, however when testing that method it doesn't do the same thing as the UI does when you "Erase this Contact". What is the appropriate way to perform this "Erase this Contact" process? Additionally, I imagine there are bad things that can happen if you straight up DELETE Person that has existing corelating data (e.g. orders). Does the DELETE Operation handle/check for this? If not, what are the best practices/processes that should be taken with this? Thanks.
ANSWERED

Deleting a company administrator

I'm able to add company admins and members using the rest API for organization relationships. However deleting it has been a challenge for me and the only reference I can find is available at https://developer.imis.com/docs/working-with-committees#section-deleting-a-committee-member. This may work on committees but I haven't had any luck with the organization relationship. Below is the JSON string I use to post to /api/GroupMember/ { "MembershipDetails": { "$values": [ ] }, "GroupMemberId": "ORGRELATIONSHIP-159:23280", "Group": { "GroupId": "ORGRELATIONSHIP-159", "Description": "Organizational Relationship", "ParentIdentity": { "EntityTypeName": "Party", "IdentityElements": { "$values": ["159"] } }, "GroupClass": { "GroupClassId": "ORGRELATIONSHIP", "Name": "Organization", "Description": "" }, "StatusCode": "A" }, "Party": { "PartyId": "23280", "Id": "23280" }, "IsActive": true } Can this be done or is it a current limitation of the API?
ANSWERED

Make a donation with tribute

Hi there, I am trying to make a donation with a tribute using the following endpoint. https://developer.imis.com/reference/donationpremium#postdonationpremium I get the error response "An error occurred. Please contact the administrator." Any idea what is going on there? Does anyone have a body request? Thank you in advance