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

Discussions

Ask a Question

Put Request to Panel

I'm attempting to update a user defined panel field using the api. I can successfully complete GET requests but I always get a 500 Internal Server error back when using PUT. I've tried using the two methods below. Is there a preferred way to do PUT requests? jQuery.ajax("https://imistour3747.imiscloud.com/api/Test7/~18052|1", { type : "PUT", data:JSON.stringify({ "basketball": "false" }), contentType: "application/json", headers: {"RequestVerificationToken": document.getElementById("__RequestVerificationToken").value}, success: function(data){console.log(data);} }) jQuery.ajax({ url: "https://imistour3747.imiscloud.com/api/Test7/~18052|1", type: 'PUT', data: JSON.stringify({"basketball": "false"}), DataType: 'application/json', success: function(data){console.log(data);} });

Edit Panels

I'm trying to update panels from the api but I haven't figured out which endpoints are used for that, can someone point me in the correct direction?

Group Editor

What end points are being used for the group editor ipart?

Question on asiweb:Lister2

Anyone here with experience on using the asiweb:Lister2 web control? We would like to hide columns and define new columns with custom controls based on what we can do with the asp:datagrid control but also maintain the look and feel that asiweb:Lister2 provides for lists on the iMIS web. Any way we can mimic the Columns[1].Visible = false? Or be able to edit a column datagrid.EditItemIndex = (int)e.Item.ItemIndex;

REST Endpoint for Creating Single/Multi Instance iMIS Tables

Hi ASI, Is there anyway/endpoint/body by which we can create tables using REST?

File References Needed for IBO for .NET project

I am trying to upgrade our existing applications after upgrading imis to 20.2.65.9655. I have started a brand new project in Visual Studio. Used the WebAPI2 template. Framework 4.6.2. I am trying to determine which Asi, or related, dlls that I need to reference for my project. As I keep adding references, I keep getting errors about missing references. As soon as I solve one, I get another. I just spoke with an Imis guy and he mentioned that I should only need a few since I'm just using IBOs. It would also be nice to know the minimum configuration necessary in the web.config. Any thoughts?

File references

I'm trying to make a client side iPart but when I upload it to iMIS and try to use it on webpage I get a 404 error for any CSS or JS file references. I don't have any issues accessing the js/css files outside of iMIS. Is there a special way to link to seperate css or js files?

SOA Paging Size for IQA

I have been querying IQA through SOA and found that (in iMIS 20.2.25) larger result sets are coming through slowly because I'm forced to page through numerous 500 record pages to process the result. Each time I advance a page it is costing precious seconds. The doco I'm looking at, http://help.imis.com/soa/index.htm#!XMLDocuments/SOA/html/P_Asi_Soa_Core_DataContracts_PagerData_PageSize.htm, is telling me: ``` Page size in items returned. If no page size is specified, or if the page size is greater than the system defined maximum, the system defined maximum will be used. ``` From what I can see in 20.2.25, this maximum isn't configurable, but seems to be fixed at 500. Is this correct? Is this setting configurable in more recent versions of iMIS (300) ? I have found changing the web.config works when you run the query in IQA itself, but not when calling the query through SOA. ``` <add key=“PagedResults.MaxRecords” value=“500” /> ``` Is there a way around this?

REST API: Create a ComboOrder for dues payment.

Hi All, I would like to submit a dues payment ( posting a ComboOrder using Rest API) . Following json is not working because I need to fill InvoiceId property. Isn't supposed that InvoiceId should be created after I submit the pay? { "$type": "Asi.Soa.Commerce.DataContracts.ComboOrderData, Asi.Contracts", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "Invoices": { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceSummaryDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceSummaryData, Asi.Contracts", "InvoiceId": "XXXXXXXXXXXXXXXXXX", "FinancialEntity": { "$type": "Asi.Soa.Commerce.DataContracts.FinancialEntitySummaryData, Asi.Contracts", "FinancialEntityId": "DEMO", "Name": "iMIS International", "FinancialEntityFullAddress": "3309 Duke Street, Alexandria, VA 22314 USA, (703) 212-6720, FAX (703) 212-6725", "IsDefault": true }, "InvoiceNumber": "0", "InvoiceDate": "2019-02-06:00:00", "BillToParty": { "$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts", "CityName": "Fayetteville", "CountryName": "United States", "CountrySubEntityName": "WV", "Email": "[email protected]", "Phone": "(304) 555-1602", "PartyId": "106", "Id": "106", "UniformId": "30673988-c112-42bf-b1e1-a48b8310a338", "Status": { "$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts", "PartyStatusId": "A", "Name": "Active", "Description": "Active" }, "Name": "Jai Pandit", "Sort": "PANDIT, JAI", "IsMarkedForDelete": false }, "SoldToParty": { "$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts", "CityName": "Fayetteville", "CountryName": "United States", "CountrySubEntityName": "WV", "Email": "[email protected]", "Phone": "(304) 555-1602", "PartyId": "106", "Id": "106", "UniformId": "30673988-c112-42bf-b1e1-a48b8310a338", "Status": { "$type": "Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts", "PartyStatusId": "A", "Name": "Active", "Description": "Active" }, "Name": "Jai Pandit", "Sort": "PANDIT, JAI", "IsMarkedForDelete": false }, "Description": "Renewal Fees", "InvoicePurpose": 1, "InvoiceAmount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Amount": 220, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "PaymentAdjustmentAmount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "Balance": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Amount": 220, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "AdditionalAttributes": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "BillingMemberType", "Value": "M" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "SourceSystem", "Value": "DUES" } ] } } ] }, "Payments": { "$type": "Asi.Soa.Commerce.DataContracts.RemittanceDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.RemittanceData, Asi.Contracts", "Amount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Amount": 220, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "PaymentToken": "", "PaymentTokenSummary": "", "PaymentMethod": { "$type": "Asi.Soa.Commerce.DataContracts.PaymentMethodData, Asi.Contracts", "Name": "Main Checking Account", "PaymentMethodId": "CASH", "PaymentType": "Cash", "Message": "Cash" }, "PayorParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "106" }, "ReferenceNumber": "123", "Message": "Cash" } ] } } Please, any help would be appreciate. Thanks, Roberto.

REST Endpoint for Query Defintion

Hi ASI, I was going through different endpoints and came across the generic execute endpoints. Can you explain what could be the use case of these endpoints What should be the body of the POST requests? https://developer.imis.com/v20.3.44/reference/api-endpoints-6#querydefinition https://developer.imis.com/v20.3.44/reference/api-endpoints-6#executesmboentitydefinition Thanks.