Discussions
CRUD on Business Objects with REST calls
Any documentation and example on how to?
I can't figure out how this work: /api/CsGeneralLookupTables
GET seems to work
POST throws errors...
Posted by molivouth boulom over 5 years ago
Using REST to manage Subscriptions
How do we query Subscriptions records in iMIS through the RESTful API?
That is doing any CRUD operations.
I can't figure out how to POST against: /api/CsSubscriptions
And how about actual payments to be done against Subscriptions items?
Posted by Molivouth Boulom over 5 years ago
New records don't populate the CommunicationPreferences
When I create a new record (REST) with just the basics (name, member type, etc.) the communication preferences aren't saved into the profile. I have to go to the staff site, to the preferences page and save the record to push them in. What's the trick to get them to populate in the initial POST?
Thanks.
Posted by Jake Bound over 5 years ago
URL Encoding
I am making a get request to a multi instance panel with the following url:
https://imis.imiscloud.com/api/multi_ScholarshipOptions/~12345|2
But when I add the whole request to a content page the url is being encoded and the pipe turns into ascii %7C in the url and it returns a 404. Is there something I can do from the client side to fix this or is this an encoding problem on the server side?
Posted by Alex Lippincott over 5 years ago
Communication preferences and reasons
Looks like an API exists at https://developer.imis.com/docs/individual
with
CommunicationPreferences = new CommunicationPreferenceDataCollection
{
new CommunicationPreferenceData
{
Reason = "mail"
}
What are the reasons and can we get additional endpoint documentation?
Posted by Ian Wann over 5 years ago
REST API not automatically submitting changes to changelog?
Hello, I am migrating our applications to use the IMIS REST API and it looks like updates to fields are not being automatically logged to the change log as the desktop application does. Am I doing something wrong on my end, or do I need to manually log each update to the change log with REST? Is there a way to enable this functionality automatically?
Posted by Mike B over 5 years ago
Update All User's Roles
How can I add role to all of the users using Rest API?
Posted by Satinder over 5 years ago
Is there a way to force cached keys to rebuild
I have noticed sometimes when you create promo code. It's not always immediately available for use. You can use the interface to rebuild the system cache and the promo code will start working. Is there a way to do this?
Posted by Ross Austen over 5 years ago
Posting to Activity
I'm trying to make posts to Activity with the following request:
jQuery.ajax("https://imistour3747.imiscloud.com/api/Activity", {
type : "POST", data : {
"$type": "Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts",
"Properties": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "ACTIVITY_TYPE",
"Value": "MEETING"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "PartyId",
"Value": "23226"
}
]
}
},
contentType: "application/json",
headers: {"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value},
success: function(data){console.log(data);}
})
I'm going off the information in this discussion board https://developer.imis.com/discuss/5c4f173459c7d00020810d4b
But I always receive a 500 error, has anything changed with posting to activity in 20.3?
Posted by Alex Lippincott over 5 years ago
Is there a way to send a password reset link to a user?
According to this post (https://developer.imis.com/discuss/5b9ab7b7eac9630003bf6c46), there used to be an endpoint MembershipWebService and operation RequestPasswordReset. It seems like it has been removed now (https://developer.imis.com/discuss/5b95ef4206ca8a00031f14a8).
Is there any other way of doing this?
Posted by Emily over 5 years ago