Ask a Question

Standalone panel isn't returning data via Postman

I created a standalone panel with 5 fields (cleared cache); I added it to a content record (cleared cache). I then added 2 test records to it and (cleared cache). While I can access the endpoint using Postman, and the results show 2 records, there's no data returned, just an empty array. EMS client so can't do much more than click the clear cache button under settings. ``` { "$type": "Asi.Soa.Core.DataContracts.PagedResult`1[[Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts]], Asi.Contracts", "Items": { "$type": "System.Collections.Generic.List`1[[Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts]], mscorlib", "$values": [] }, "Offset": 0, "Limit": 100, "Count": 0, "TotalCount": 2, "NextPageLink": null, "HasNext": false, "NextOffset": 0 } ```

Delete Cart after successful payment?

Are we meant to be explicitly deleting the cart after a payment is assigned to a ComboOrder through REST? I can still see carts that I have paid off through REST, but I note when I pay off an existing invoice in iMIS the cart is removed after payment.

Updates an instance of LegacyEventFunctionAttendance by id

Hi, while trying to use this in, I get that the requested resource does not support http method 'PUT'. Has this functionality been removed in iMIS EMS? It is still listed as a method in the API Reference, https://developer.imis.com/reference/putlegacyeventfunctionattendancebyid.

Updates A Group Member by Id Endpoint

Good morning, We are attempting to add and remove relationships using the GroupMember endpoints; however, when we attempt a PUT at the Updates A Group Member by Id endpoint, https://developer.imis.com/reference/putgroupmemberbyid, we get the message that PUT is not supported. Also, can you provide information about the third number is the GroupMemberDetailId. We understand that the first number is the parent in the relationship and the second number is the child in the relationship; however, we do not know where the third number is coming from or how to add it when adding a new relationship. Any example JSON of this process would be appreciated. Thanks, Korey

UserSecurity Endpoint

Good morning, When attempting to create a new user via the UserSecurity endpoint, I get the message "Does not have required permission. (O)" I have changed permissions for the postman user with no success. I am following the documentation at https://developer.imis.com/reference/postusersecurity. Any feedback is appreciated. Thanks, Korey

Possible to update Item.ItemCode in the API?

Hi - pretty sure this isn't possible, but wanted to see if there's a workaround. I'm trying to change a product's ItemCode in the API - so I do a GET on Item?EntityId=ABC/1, and then I PUT back the body with the following properties changed: ... "ItemCode": "ABC_1", "ItemId": "ABC_1", ... And my PUT URI is the same as the GET: /Item?EntityId=ABC/1 I get the message "Product with product code 'ABC_1' was not found." (I was hoping the ABC/1 in the URI would retrieve the record, and the body would overwrite the ItemCode and ItemId, but alas, nay.) Is there another way to do this?

CompanySort on Party Endpoint

Good morning, Performing a GET request on the Party endpoint, returns JSON data containing a Sort field; however, the value in that field is not actually the CompanySort field value. Could this be fixed or could the CompanySort field be added to the response? Thanks, Korey

Is it possible to override Item name or invoice description when POSTing a combo order

Hi, I'm successfully able to post a combo order to raise an invoice using the 'BillMe' payment method, including being able to overide the price of the item. What I'd also like to do is be able to overide the Invoice Description and the Description showing against the invoice line. The scenario is I need to raise an invoice for a late fee - the amount depends on the number of days late the individual is submitting an application form. What I'd like to do is have a single product "Late Fee" and then be able to overide the description on the item/invoice to say "late fee - 45 overdue" for example. My alternative is I create a seperate product for each period they could be late, 30 days, 60 days, 90 days etc, but I'm hoping I can do so with less products.

/api/iqa linit command not working for over 500

In the example below we are trying to get the results of a query string queryPath = "$/MPStaff/Reports/Masterplumber Reports/Find Plumbers Extract"; string requiredParameter = "&Limit=600"; // Define headers for a REST API connection HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", strsessionAccesstoken); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); // Make a request to the API HttpResponseMessage queryResult = client.GetAsync($"{strdomainname}/api/iqa?QueryName={queryPath}/{requiredParameter}").Result; In iMS the IQA returns more than 500 records, but the API only returns 500, even if we use the limit command in the request. Is there a way to ensure all records are returned by the API? Cheers

How to find an event registration invoice better?

From the documentation there: [Find the invoice ](https://developer.imis.com/docs/paying-an-event-registration#find-the-invoice) The recommended query is a bit `vague` as shown: > https://{{URL}}/api/Invoice?BillToParty.PartyId=21095&InvoiceDate=2019-05-29T00:00:00 _For example, what if the user has multiple invoice on the same date?_ Is there a better (sure) way to achieve that? When [registering](https://developer.imis.com/docs/paying-an-event-registration#register-for-events) for an event, we have this information: > `AdditionalAttributes` > `AssociatedInvoiceId` > `99.00` From my understanding that is an `order` number. How do we retrieve the related `invoice` record from that value using this endpoint: [Returns an InvoiceSummary by id](https://developer.imis.com/reference/getinvoicesummarybyid) In other words, how to get the `InvoiceId` (Invoice) value from that `AssociatedInvoiceId` (Event Registration) value? Please help.