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

Discussions

Ask a Question
ANSWERED

How to remove a Company Admin role via REST API ( 2017) ?

Hello, I'm trying to remove a Company Administrator role via REST API (iMIS version 20.2.66.1216). I tried making a PUT request to "api/GroupMember/GroupMemberId" (for example: "/api/GroupMember/ORGRELATIONSHIP-311533:311576" ). However, I got 400 (Bad Request). After inspecting the error, I got this Stack Trace: [HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).] System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +11790877 System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +54 I also tried URI encoded path "/api/GroupMember/ORGRELATIONSHIP-311533%3A311576" and got the same error. I have 2 questions at this point. 1) Can "api/GroupMember/GroupMemberId" endpoint be used to remove Company Admin role by doing PUT request ? 2) How can I solve the issue I described above? Thank you for your help! Best regards, Sergii
ANSWERED

Create invoice from a product with the REST API

Hello, Is there a way to create an invoice from a product item or product code using the REST API without using the Subscription endpoint? We need to create a one-off invoice that is not a subscription fee. Our REST call is made from an external system service and triggered programmatically so it cannot involve any user interaction. I have followed the ASI Documentation at [Adding, modifying and paying for a subscription](https://developer.imis.com/docs/adding-modifying-and-paying-for-a-subscription) to create an invoice from an Item Code. This works but it creates a subscription invoice which is not a fit for our scenario. Is there a way to accomplish this same functionality but for creating different types of invoices? Thanks.
ANSWERED

500 error filtering CsContactBasic by MajorKey

Hi, I'm executing the following GET and getting a 500: https://demoaisp8.imiscloud.com/api/CsContactBasic?MajorKey=CDD I tried changing it to =eq:, but same error: https://demoaisp8.imiscloud.com/api/CsContactBasic?MajorKey=eq%3ACDD Wondering if you can help me figure this out? Thanks!
ANSWERED

400 error on /api/comboorder

Hello, I'm coming across this error from the iMIS API call for combo order and was looking to see if others have come across the same issue. The body of the combo order is correct but it sometimes fails and I have to retry again for a successful 200. { "$type": "Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.ValidationResultData, Asi.Contracts", "Message": " \r\n Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached." } ] }
ANSWERED

Invoice - Execute an Invoice operation - ProcessOrderAdjustment

https://developer.imis.com/reference/executeinvoice-1 The process order adjustment operation has the following body params: { "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts", "OperationName": "ProcessOrderAdjustment", "EntityTypeName": "Invoice", "Parameters": { "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts", "$value": "invoiceActionOrderAdjustmentData Value" } ] }, "ParameterTypeName": { "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values": [ "Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts" ] }, "UseJson": false } Could you please provide some insight into what is to be included in the value of this section? { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionOrderAdjustmentData, Asi.Contracts", "$value": "invoiceActionOrderAdjustmentData Value" }
ANSWERED

Deleting Subscription Records

Hello... In the staff site, we can delete subscription records. This is an extremely useful function because it allows us to keep the history truthful and makes billing infinitely easier. Subscriptions are a sandbox record set. Deleting them has no perceivable negative outcome. Why aren't we able to call the API to delete the subscription records? Thanks for the interaction, Buck
ANSWERED

Password Reset Without Previous Password

Hi All, In the staff site, we have the ability to change user passwords without knowing the previous password. How do we do this as an admin user in the API? Thank you! Buck
ANSWERED

Group Endpoints

https://developer.imis.com/changelog/refreshing-dynamic-groups-via-the-api Indicates that we have the ability to refresh groups dynamically. However, when we perform the operation we get OperationNotAvailable. We are on the latest version of enterprise
ANSWERED

Blank screen after login

Hello, I'm getting a blank screen after I successfully log in. This is an old server. Would someone help me bring this site up ? Thanks
ANSWERED

Is the Github Postman collection going to be updated?

Doesn't look like https://github.com/Advsol/iMISRESTCollection has been updated in some time. Is there another one? Thanks.