Discussions
SSO - Token Expiration
Is there any way to stop the API access token or refresh token from expiring that is retrieved through SSO client application for API use?
Posted by Joshua Deville over 5 years ago
Adwords and iMIS
One of our client try to add some AdWords tag in imis pages, without success.
I'm wondering if you are aware of any limitation/issues of using AdWords in iMIS pages.
Thank you
Posted by JF Couturier over 5 years ago
Posting to Panel source
We have written a post to a panel and it's been working for over a month and now all of a sudden it's not working. The only change that's been made has been an update to the url going from njcaa.imiscloud.com to connect.njcaa.com. We are logged in as a company administrator of the organization we are posting. We are still able to post to activity without any issues but panels are not. Example post:
jQuery.ajax({
"method": "post",
"url": String("https://connect.njcaa.org/api/NJCAA_ASC_P_LOIHistory"),
"headers": {
"RequestVerificationToken": jQuery("#__RequestVerificationToken").val()
},
"dataType": "json",
"contentType": "application/json",
"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": 1236
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AcademicTerm",
"Value": "Fall"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AtheleticDirectorID",
"Value": 137126
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Date",
"Value": "6/17/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Sport",
"Value": "Mens Basketball"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "SchoolYear",
"Value": "2019-2020"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "StudentID",
"Value": "1213456"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Division",
"Value": "Division I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Terms",
"Value": "test test"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignature",
"Value": "First Last"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignDate",
"Value": signatureDate
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Scholarship",
"Value": "test test test"
}
]
}
})
})
Posted by Alex Lippincott over 5 years ago
Create Party API Required Fields
Is there a list of required fields when creating a party?
Posted by Joshua Deville over 5 years ago
Creating a relationship
I queried a certain relationship with the REST API. This is production data:
{
"$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": "RELATIONSHIP-10548:2519:3168",
"Stage": {
"$type": "Asi.Soa.Membership.DataContracts.GroupStageData, Asi.Contracts"
},
"ExpirationDate": "2016-07-13T00:00:00",
"Role": {
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"DefaultReciprocalRoleId": "NPEEXH",
"DefaultReciprocalDescription": "NPE Exhibitor Contact",
"DefaultReciprocalName": "NPEEXH",
"RoleId": "RELATIONSHIP:NPEEXH",
"Description": "NPE Exhibitor Contact",
"Name": "NPEEXH"
},
"ReciprocalRole": {
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"DefaultReciprocalDescription": "NPE Exhibitor Contact",
"DefaultReciprocalName": "NPEEXH",
"RoleId": "RELATIONSHIP:NPEEXH",
"Description": "NPE Exhibitor Contact",
"Name": "NPEEXH"
},
"Title": ""
}
]
},
"GroupMemberId": "RELATIONSHIP-10548:2519",
"Group": {
"$type": "Asi.Soa.Membership.DataContracts.GroupSummaryData, Asi.Contracts",
"GroupId": "RELATIONSHIP-10548",
"Name": "C. Todd Reed Relationship",
"Description": "Relationships",
"ParentIdentity": {
"$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",
"EntityTypeName": "Party",
"IdentityElements": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"10548"
]
}
},
"GroupClass": {
"$type": "Asi.Soa.Membership.DataContracts.GroupClassSummaryData, Asi.Contracts",
"GroupClassId": "RELATIONSHIP",
"Name": "Relationship",
"Description": "",
"IsRelationshipGroup": true
},
"IsRelationshipGroup": true
},
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
"CityName": "Holland",
"CountryName": "United States",
"CountrySubEntityName": "MI",
"Email": "",
"Phone": "(616) 399-2220",
"PartyId": "2519",
"Id": "2519",
"UniformId": "7f6e7fb6-5585-459f-a812-2aa92fd7a3b4",
"Status": {
"$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
"PartyStatusId": "A",
"Name": "Active",
"Description": "Active"
},
"Name": "National Bulk Equipment, Inc.",
"Sort": "NATIONAL BULK EQUIPMENT, INC.",
"IsMarkedForDelete": false
},
"IsActive": false
}
Using that information, I'm trying to put together the JSON to create a new relationship like that one. Here's my JSON:
{
"$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": "RELATIONSHIP-688683:50",
"Stage": {
"$type": "Asi.Soa.Membership.DataContracts.GroupStageData, Asi.Contracts"
},
"Role": {
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"DefaultReciprocalRoleId": "NPEEXH",
"DefaultReciprocalDescription": "NPE Exhibitor Contact",
"DefaultReciprocalName": "NPEEXH",
"RoleId": "RELATIONSHIP:NPEEXH",
"Description": "NPE Exhibitor Contact",
"Name": "NPEEXH"
}
"ReciprocalRole": {
"$type": "Asi.Soa.Membership.DataContracts.GroupRoleData, Asi.Contracts",
"DefaultReciprocalRoleId": "NPEEXH",
"DefaultReciprocalDescription": "NPE Exhibitor Contact",
"RoleId": "RELATIONSHIP:NPEEXH",
"Description": "NPE Exhibitor Contact",
"Name": "NPEEXH"
},
"Title": ""
}
]
},
"GroupMemberId": "RELATIONSHIP-688683:50",
"Group": {
"$type": "Asi.Soa.Membership.DataContracts.GroupSummaryData, Asi.Contracts",
"GroupId": "RELATIONSHIP-688683",
"ParentIdentity": {
"$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",
"EntityTypeName": "Party",
"IdentityElements": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"688683"
]
}
},
"GroupClass": {
"$type": "Asi.Soa.Membership.DataContracts.GroupClassSummaryData, Asi.Contracts",
"GroupClassId": "RELATIONSHIP",
"Name": "Relationship",
"Description": ""
"IsRelationshipGroup": true
},
"IsRelationshipGroup": true
},
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
"PartyId": "50",
"Id": "50",
"UniformId": "F77BE941-2EE4-4125-B574-7FE4E6369E6B",
"Status": {
"$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts",
"PartyStatusId": "A",
"Name": "Active",
"Description": "Active"
},
"IsMarkedForDelete": false
}
"IsActive": true
}
It looks right to me, and those are real IDs and GUIDs. Can anyone tell what I'm doing wrong?
Posted by Larry Allen over 5 years ago
Possible to PUT/POST to SystemConfig?
I can write/update SystemsParams but can't seem to do the same to SystemConfig? If yes can someone please provide the body for a POST/PUT and the URL syntax for a PUT? Thanks much.
Posted by Jake Bound over 5 years ago
REST API: Get DocumentSummary
The following query:
"/api/DocumentSummary?Path=$&DocumentTypeId=IQD&Status=Published"
Returns the following 404 bad request error message:
"In the query, Path is not a known property name."
However this query works, albeit not with expected results:
"/api/DocumentSummary?Path=$"
This is on iMIS version 20.3 and the results greatly differ from 20.2.
What is going on?
Posted by Molivouth Boulom over 5 years ago
Client-side iPart Document System Folder
Up through 20.2.65, the folder to upload ones zipped client-side iParts to has been ContentItems. I just noticed today that the documentation (https://developer.imis.com/docs/developing-a-client-based-ipart) references iPartSource. Is that for a future version? Cloud? Mistake? Anyone know?
Thanks!
Posted by Justin Trout over 5 years ago
iMIS 20.3.46.8757: How to create a userd-defined table.
Hi All,
How can I create a userd-defined table in iMIS v20.3.46.8757 (NOT iMIS desktop)?.
Regards,
Roberto.
Posted by Roberto Lucero over 5 years ago
REST API: Credentials for testapicloud.imis.com?
Could we have credentials to access the demo site here:
testapicloud.imis.com
(from https://developer.imis.com/reference/bearer-token)
Example provided does not work:
"The user name or password is incorrect."
Posted by Molivouth Boulom over 5 years ago