Discussions
Updating a person's organization
How would I update a person's organization via REST?
Posted by Julie over 5 years ago
How to update a specific activity record
Hi,
How do you update a specific activity record. For example, I want to update note in activity where Activity Type = call and transaction_date = 04/03/2019.
Kind regards,
Julie
Posted by Julie over 5 years ago
REST API .vs. STAFF WEBSITE functionality - GENDER
Hi,
How can I set Gender to NULL using REST API
I have tried the following without success.
- tried lower case null without quotes . . . same effect – no change in gender although it appears that it updated.
- I tried camel case Null without quotes . . . I get http 400
- I tried upper case NULL without quotes . . . I get http 400
- I tried lower case null with quotes “null” . . . same effect – no change in gender although it appears that it updated.
- I tried empty value with quotes “” . . . same effect – no change in gender although it appears that it updated.
Posted by JoeC over 5 years ago
Can I query transactions?
I'm trying to query transactions on a client's imis instances, but I'm not having any luck
20.2.64.8598: https://www2.ispe.org/Asi.Scheduler_TESTiIMIS/api/transaction/826269
20.2.65.9655: https://www2dev.ispe.org/Asi.Scheduler_IMIS/api/transaction/817229
The 8598 system reports "Not Implemented"
The 9655 system reports "An error occurred. Please contact the administrator."
The developer site has very little about this endpoint. Is it supposed to work?
Posted by Larry Allen over 5 years ago
How to maintain/develop iMIS angular ipart
Hi,
I think I've read somewhere on this discussion board that there will be 'starter packs' for iparts, just like the .net visual studio template that still exists.
Is any of this already available?
What im looking for more specifically is how do i go from building my app in for example Visual Studio Code to testing it in our on premise iMIS without having to build/bundle it in a zip/deploy etc... manually.
Hopefully there is someone who can share how they do this.
Thanks,
Rick
Posted by Rick P over 5 years ago
Fundraising
https://developer.imis.com/v1.0.1/reference/donation-payments has no information, and the swagger is incomplete. For example, the Transaction object has several loosely typed properties.
Is there a place where I can get more information?
Posted by Larry Allen over 5 years ago
Query iMIS System version
Is it possible, via SOAP or REST, to ask an iMIS instance what version it is?.
Posted by Larry Allen over 5 years ago
Posting ChangeLog entry via API?
Hello, I'm trying to post to the IMIS changelog via REST API and keep getting and exception(OperationNotSupportedFault):
POSTURL: https://IMISURL/Asi.Scheduler_iMIS_TEST/api/ChangeLog
OperationNotSupportedFault: : at Asi.Soa.Core.Domain.ChangeLog.UpdateFromDataContract(Object dataContract) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Core\Domain\ChangeLog\ChangeLog.cs:line 121
at Asi.Soa.Core.Domain.DataContractTranslator.UpdateEntityFromDataContract(Object contract, Object updateEntity) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Core\Domain\Repository\DataContractTranslator.cs:line 146
Is there something wrong with my data format?
{
"$type": "Asi.Soa.Core.DataContracts.ChangeLogData, Asi.Contracts",
"ActionType": 1,
"ChangeDate": "2018-12-18T13:27:11",
"ChangedByUserId": "DEVELOPMENT",
"Changes": {
"$type": "Asi.Soa.Core.DataContracts.ChangePropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.ChangePropertyData, Asi.Contracts",
"NewValue": "2/16/1988",
"OriginalValue": "2/16/1990",
"PropertyName": "Name.BIRTH_DATE"
}
]
},
"Identity": {
"$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",
"EntityTypeName": "Party",
"IdentityElements": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"200343"
]
}
}
}
Posted by Mike B over 5 years ago
Posting to a multi instance panel
Hi,
We are trying to POST to a multi instance panel and we are getting mixed results where sometimes our requests work and other times it doesn't. When we do get an error, we see a 403 response. We think it has something to do with the ID, as it seems posting to certain IDs work but others don't. However, we haven't seen consistent results either.
What should we be doing to avoid an error?
Example where it works:
jQuery.ajax("https://njcaastaging.imiscloud.com/api/NJCAA_ASC_P_LOIHistory2", {
type: "POST",
contentType: "application/json",
headers: {
"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value
},
"data": JSON.stringify({
"$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": "ID",
"Value": "23228"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "StudentID",
"Value": "1234"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirector",
"Value": "1234"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignature",
"Value": "Billy Bob Smith Jones"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignDate",
"Value": "4/22/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Date",
"Value": "4/22/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Division",
"Value": "I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Scholarship",
"Value": "Tutiton & Board"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "SchoolYear",
"Value": "2019-2020"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Sport",
"Value": "Mens Baseball I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Terms",
"Value": "asdfghjkldfkglhbjgkjfasbgkl.jsangbk.ljfagnakjfbgnadhg"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AcademicTerm",
"Value": "Fall,Spring"
}
]}})});
Example where it does not work:
jQuery.ajax("https://njcaastaging.imiscloud.com/api/NJCAA_ASC_P_LOIHistory2", {
type: "POST",
contentType: "application/json",
headers: {
"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value
},
"data": JSON.stringify({
"$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": "ID",
"Value": "23233"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "StudentID",
"Value": "1234"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirector",
"Value": "1234"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignature",
"Value": "Billy Bob Smith Jones"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignDate",
"Value": "4/22/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Date",
"Value": "4/22/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Division",
"Value": "I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Scholarship",
"Value": "Tutiton & Board"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "SchoolYear",
"Value": "2019-2020"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Sport",
"Value": "Mens Baseball I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Terms",
"Value": "asdfghjkldfkglhbjgkjfasbgkl.jsangbk.ljfagnakjfbgnadhg"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AcademicTerm",
"Value": "Fall,Spring"
}
]}})});
Kind regards,
Julie
Posted by Julie over 5 years ago
Autofac Exception thrown while attempting to create a Cart Object from a Web Application
When I try creating the Cart Object, this following Autofac Exception is thrown
"The requested service 'Asi.Core.Client.ICommonServiceHttpClient' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency."
Any help towards the resolution of this would deeply appreciated.
Posted by Anil Kunjunny over 5 years ago