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

Discussions

Ask a Question
ANSWERED

REST API - Is it possible to find the one most recently modified party?

I've tried this and several variations on "UpdatedOn," but haven't had luck retrieving the one most recently modified record: /api/Party?orderby=UpdatedOn:Descending&limit=1 Is this possible? Thanks!
ANSWERED

An error occurred. Please contact the administrator on an End Point

I am trying to hit endpoint https://developer.imis.com/reference/putpartybyid with put command. When I do in Postman using the json below I get 500 Internal Server Error with the message "An error occurred. Please contact the administrator.". Let me know what I can do {"$type":"Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts","PersonName":{"$type":"Asi.Soa.Membership.DataContracts.PersonNameData, Asi.Contracts","FirstName":"Jacob","InformalName":"Jacob","LastName":"Davidson","FullName":"Jacob Davidson"},"PrimaryOrganization":{"$type":"Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts","OrganizationPartyId":"23251","Name":"American Academy of Sleep Medicine"},"Name":"Jacob Davidson","Sort":"Davidson, Jacob","AdditionalAttributes":{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"CustomerTypeDescription","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"IsMemberRecord","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"CustomerTypeCode","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"IsMember","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"IsInactiveMember","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"AllowAdvanceRenewal","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"JoinDate","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"ParentPartyId","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"PaidThruDate","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":"RenewedThruDate","Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null}]},"Addresses":{"$type":"Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null}]},"AlternateIds":{"$type":"Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.AlternateIdData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":"23255","UniformId":null,"Status":null}]},"Emails":{"$type":"Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null}]},"FinancialInformation":{"$type":"Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts"},"Phones":{"$type":"Asi.Soa.Membership.DataContracts.PhoneDataCollection, Asi.Contracts","$values":[]},"Salutations":{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null},{"$type":"Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts","PersonName":null,"PrimaryOrganization":null,"Name":null,"Sort":null,"AdditionalAttributes":null,"Addresses":null,"AlternateIds":null,"Emails":null,"FinancialInformation":null,"Phones":null,"Salutations":null,"SocialNetworks":null,"CommunicationTypePreferences":null,"UpdateInformation":null,"PartyId":null,"Id":null,"UniformId":null,"Status":null}]},"SocialNetworks":{"$type":"Asi.Soa.Membership.DataContracts.PartySocialNetworkDataCollection, Asi.Contracts","$values":[]},"CommunicationTypePreferences":{"$type":"Asi.Soa.Membership.DataContracts.PartyCommunicationTypePreferenceDataCollection, Asi.Contracts","$values":[]},"UpdateInformation":{"$type":"Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts","CreatedBy":"[email protected]","CreatedOn":"2022-04-18T00:00:00","UpdatedBy":"[email protected]","UpdatedOn":"2022-04-18T13:08:55.59"},"PartyId":"23255","Id":"23255","UniformId":"1d8a7e13-22db-41e7-8bb2-c2d6c4489d50","Status":{"$type":"Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts","PartyStatusId":"A","Name":"Active","Description":"Active"}}
ANSWERED

What is the difference between RegistrationOptionFunctionId and FunctionId?

According to the documentation here: [RegisterEvent](https://developer.imis.com/reference/executeeventregistration#registerevent) There are two parameters of interest mentioned there: * RegistrationOptionFunctionId * FunctionId My understanding is RegistrationOptionFunctionId is a composite key: It is made up of both `EventId` and `FunctionId` values. For example: * If EventId is: `ANNCONF` * And FunctionId is: `GALA` * then RegistrationOptionFunctionId would be: `ANNCONF/GALA` Is there a case where the `FunctionId` part of `RegistrationOptionFunctionId` is ever going to be any different? And if not, do we really need to have RegistrationOptionFunctionId then? Please advise. Thank you, Molivouth.
ANSWERED

Integration for clients: where to start?

Hi, We want to build an integration with iMIS to help clients manage their events. Where should we start? How can I acquire a credential to start exploring the API capabilities? I understand the test instance has been disabled for a while. Are we able to request a new instance or should we be going directly via a client's account for that? Thanks in advance, Marcos A.
ANSWERED

Token

I need a little help as we are working on one of the IMis integration with the cloud version of IMis and facing one issue. We are receiving the refresh_token and call is getting redirected to our application, but after when we call token API to verify the client token getting the invalid grant type error passing these parramters curl -X POST \ https://demoaisp38.imiscloud.com/token \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'postman-token: f024c114-fcf9-6325-e2e8-874a44016bea' \ -d 'grant_type=refresh_token&client_id=test&client_secret=test&refresh_token=688449fc4e8043a39c8f45fabb7d1ea7' the response we getting back is invalid grant type any help what we doing wrong

Limit on number of fields in a old-customizer table / Business Object

We're seeing numerous errors in the IIS logs (and event viewer) by a third party application (OK, Clowder) calling a UD table. The error is generally something like: `System.ArgumentException: Error creating a repository for: EntityTypeName: csContact, Exception has been thrown by the target of an invocation. System.ArgumentException: Must specify valid information for parsing in the string.` The specific endpoint that's failing is: /api/csDemographics Both of these work: /api/Demographics and /api/vbocsDemographics There are 105 fields in the table. I need know if - There are a limit of fields (105 seems high) - The endpoint they're calling is valid Thanks
ANSWERED

Event Registration Tax Amount Order Confirmation Email

I'm creating an order confirmation email using ComboOrder and running into issues showing the total tax amount for event registrations (this works fine for sales order items). Within each item line, the tax amount is showing as needed, but it's not being included in the tax total, in either InclusiveTaxTotal or TaxTotal. I'm using the following in the email template, has anyone managed to do this: Order number: {#comboOrder.Order.OrderNumber} Items: {foreach line in #comboOrder.Order.Lines} {#line.Item.Name}: £{#line.ExtendedAmount} (including £{#line.Tax.TaxTotal} VAT) {/foreach} Item total: £{#comboOrder.Order.LineTotal.Amount} Inclusive Tax: £{#comboOrder.Order.TaxInformation.InclusiveTaxTotal.Amount} Tax: £{#comboOrder.Order.TaxInformation.TaxTotal.Amount} Postage: £{#comboOrder.Order.ShippingTotal.Amount} Handling: £{#comboOrder.Order.MiscellaneousChargesTotal.Amount} Total: £{#comboOrder.Order.OrderTotal.Amount}
ANSWERED

REST endpoint to create user credentials

Hi, Is there an endpoint to create/reset/update usernames and passwords for users in iMIS(20.3)? I looked through the documentation and could not find anything. Thanks, Ram Devarapu
ANSWERED

Modify Subscription Balance for cach dues

I am looking for the best way to update a subscription balance through the REST API. The use case is we want to adjust the balance after they have been billed. Basically changing the balance due to 0. These are cash dues. /subscription doesn't seem to update the field /csSubscirptions GET works, POST is not allowed, and PUT results in "Does not have required permission. (O)" Is there a path to update the subscription balance? Thanks, Randy
ANSWERED

Transaction information

Hi, I have a simple question, I am calling the endpoints TransactionSummary and TransactionDetail and I was wondering in the result what is the difference between BT_ID and ST_ID ? Thank you