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

Discussions

Ask a Question
ANSWERED

Tokenizing direct debit details in AutoPay

Does anyone have a direct debit example? The documentation only has a credit card example: https://developer.imis.com/docs/tokenizing-a-credit-card-that-is-saved-as-an-autopay-account I am getting an error "No Account Name Provided" and trying to work out why. Thanks Leo
ANSWERED

Preferred Address

Hello, Is there an endpoint that would return exclusively a FullAddressData record? And where we could perform all CRUD operations against? Or are we limited to the Party endpoint only? We are interested in our case in the preferred address type: mail, bill, and ship. For example: We would like to find all records having a preferred mail address with the Country set to Canada, and update their BadAddress property consequently. Thank you, Molivouth B.
ANSWERED

LegacyBIlling endpoint Parameters

Hello I am trying to run some individual rebills through the api, and I've read this post, https://developer.imis.com/discuss/608f556d40271e0038e8bb3c as well as a few others that are related. However I cant seem to get the parameters correct, and I keep getting a 400 bad request with the following body, { "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "LegacyBilling does not support these Execute parameters" } Here is the url I am POSTING to https://client.imiscloud.com/iMISService/api/LegacyBilling/_execute and here is the post body, { "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts", "OperationName": "RunIndividual", "EntityTypeName": "LegacyBilling", "Parameters": { "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.LegacyBillingData, Asi.Contracts", "IsRebill": true, "IsRenewal": false, "AdditionalOption":{ "$type":"Asi.Soa.Commerce.DataContracts.BillingAdditionalOptionsData, Asi.Contracts", "$values":[] }, "BillingCycleId": "POC Dues", "IndividualBillingPartyId": "29547", "BillingRunName" : "rebill", "RunDate" : "2021-06-23T00:00:00+01:00", "EffectiveDate" : "2021-06-1T00:00:00+01:00", "BeginRebillDate" : "2021-06-1T00:00:00+01:00", "EndRebillDate" : "2022-05-31T00:00:00+01:00", "ChapterCode":"", "BatchId": "210623-1" } ] }, "UseJson":false, "ParameterTypeNames":{ "$type":"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values":[ "Asi.Soa.Commerce.DataContracts.LegacyBillingData" ] }, "RequestCulture": "" } I've tried various parameters and mix and matches, with no luck. Can anyone else see what I am missing? I put the swagger json in a parser as well, and as far as I can tell I have all the required elements. imis cloud version, #20.3.98.52366 using the manager account
ANSWERED

Difficulty with api/EventRegistration/_execute

Hi, I am new to Angular and iMIS REST API. We are using iMIS version 20.2.64.8405, and we plan to migrate to the cloud in the near future. This post is long and there are several questions all to do with Event Registration. I am attempting to register a member to an event by POSTing to the api/EventRegistration/_execute endpoint. But I'm a little confused with the documentation about data properties to be passed in the body of the POST. On this page (https://developer.imis.com/reference/eventregistration), it describes the property RegistrationType as an object, but I can find no definition of that object. On this page (https://developer.imis.com/docs/paying-an-event-registration) is an example of the body of the POST, passing RegistrationType as the number 3. Which is correct? I've been trying to do a registration using RegistrationType = 3, but I keep getting the HTTP error 400 message: "Http failure response for https://yourorgsite.com/api/EventRegistration/_execute: 400 OK". I am also uncertain of the purpose of the property RegistrationOptionFunctionId is. Is it the ID of another function that can be offered if the requested one is unavailable? In my application, there can be no substitutions. I've tried using the same ID as the requested function, passing an empty string and omitting it altogether, but all give the same error result. Could this be the source of my 400 error? The body of my POST is as follows: {"$type":"Asi.Soa.Events.DataContracts.EventRegistrationRequest, Asi.Contracts","BillTo":"8223105","EntityTypeName":"EventRegistration","EventId":"MBSECT1920","FunctionId":"MBSECT1920/ABO","OperationName":"RegisterEvent","RegisteredBy":"8223105","RegistrantId":"8223105","RegistrationOptionFunctionId":"MBSECT1920/ABO","RegistrationType":3} The body of the POST broken up for readability: { "$type":"Asi.Soa.Events.DataContracts.EventRegistrationRequest, Asi.Contracts", "BillTo":"8223105", "EntityTypeName":"EventRegistration", "EventId":"MBSECT1920", "FunctionId":"MBSECT1920/ABO", "OperationName":"RegisterEvent", "RegisteredBy":"8223105", "RegistrantId":"8223105", "RegistrationOptionFunctionId":"MBSECT1920/ABO", "RegistrationType":3 } The POST code is: let addressurl = environment.imisapiurl + '/api/EventRegistration/_execute'; this.http.post(addressurl, JSON.stringify(body), { headers: new HttpHeaders({ "Content-Type": "application/json", "RequestVerificationToken": (document.getElementById("__RequestVerificationToken") as HTMLInputElement).value }) } ).subscribe( data => { console.log(data); }, error => { if (error.status == 400) { console.log(error); } else { console.log(error); } alert(error.message); } ); I've been trying for several days to get this to work. Can you provide some assistance? Thanks and regards, Terry Thiel
ANSWERED

What are the available action types for

On the following tutorial we are shown how to start an adhoc task to run a stored procedure. https://developer.imis.com/docs/running-a-task-with-a-stored-procedure What are the available action types when we POST to task definition? Can we trigger a PA task or send a communication directly? POST to https://{{URL}}/api/TaskDefinition
ANSWERED

iPart with configure options using REST API

I am working on an iPart using REST API which I would like to have 2 configurable items. One would be IQA name and other would be an iPart name on the page where this would be implemented. Is that possible to have an configure options in client-side ipart using rest api? If so, can I please get some code snippet to get me started? Thanks.
ANSWERED

Posting an existing invoice to cart

With REST we need to be able to add existing invoices to the cart so RiSE can process the payment. Looking for the JSON body for the post to cart. I haven't been able to create this based on the body of ComboOrder as has been suggested.
ANSWERED

Posting to Custom Panel

I have a post to a custom panel I created that was working up until this week and now I'm stuck getting 400 (Validation error). I am able to get from the same source. We're running 20.3.90 so I don't think any changes happened on the back end. Code snippet here: https://pastebin.com/Zp0h997y
ANSWERED

Updating Custom Table using Rest

We have created a custom importer. All is looking good but it is not logging changes for our custom tables. Trying to figure out how to use the business objects versus the actual SQL table so it uses our change logging enabled set up in the business object. Getting an error trying just changing the table name to the view name (adding vbo at the beginning)
ANSWERED

Communities REST API available?

Hi, I am trying to get posts from communities and reply to them via the REST API. Are there endpoints to use for such thing? Thanks a lot for your help, Alexander