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

Discussions

Ask a Question

Business Oject giving me an erro on second Publish

Hello, I can create a Business Object fine and access it using the API, but when I add a new field, I receive the message "boUserInfo - Business object changes are not automatically reflected in queries that use them. boUserInfo - Published With No Errors." and the new field does not reflect. How can this BO reflect the changes ? Thanks

How to create user credentials for brand new user without knowing old password

All the documentation refers to being able to update the password as long as you know the old one. When you create a /User it generates a random password, I don't know the old one. Is there still no way to create a full set of credentials with username/password using the API. Thanks.

LegacyFreightRate operation with iMIS REST API

Hello friends, Is there more information available about what [Executes a LegacyFreightRate operation](https://developer.imis.com/reference/executelegacyfreightrate) can do? - What are the types of freight rate operation? - Are there any examples? Is it possible to clear out all freight rate values for a given shipping method? There could be quite a few records to clear out as needed: ![](https://files.readme.io/67dc285c0145f1d33af93343012482e26424dfaccaa1098f8463c6afb8c9a523-image.png) Thank you.
ANSWERED

REST API Get iMIS instance's time zone

Hello, A question related to this discussion: [REST API Get Current DateTime](https://developer.imis.com/discuss/655549d726f36a001003bd55) And other past similar ones... A friend mentioned that this is `fixed in .183/.186` > iMIS knows what timezone each instance is configured for, it should not require customization for processes integrating with iMIS to discover this important information Is the time zone offset configuration setting now available via the iMIS REST API? Or should we not `trust` friends nowadays.
ANSWERED

Possible to update the order stage?

The LegacyOrder endpoint returns an OrderStage value but PUT isn't available on that endpoint. If I need/want to change the order stage is there an API endpoint I can use? It looks like a call to Order/\_execute with teh operation OrderStageProcessingRequest is a possibility but I can't figure out the payload. Thanks.

Getting error message for GetGroupMember endpoint

Hey, For the/GroupMember endpoint, I've been getting an error and I'm not sure why. When attempting the request, I am just getting the "An error occurred. Please contact the administrator." as a response. Request: <https://reiqdev.imiscloud.com/api/GroupMember?limit=5> It takes about 30 seconds for the request, and then just returns the 500 error. Is there some level or permission required that I could be missing for these operation?
ANSWERED

Troubles with Offset and Count - /Persons Endpoint

Hi, I've been running into a weird issue and need clarification if it's something I'm doing wrong, or if there's some underlying issue that I'm running into. When attempting to get the List of Persons, via /Person endpoint, the Count, Limit and Offset don't seem to line up. For instance, the below request to get 50 records, with the default offset (assumed to be 0). I've removed the Items but can include them if needed. Request: <https://reiqdev.imiscloud.com/api/Person?limit=50> Response: { "$type": "Asi.Soa.Core.DataContracts.PagedResult\`1\[[Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts]], Asi.Contracts", "Items": {}, "Offset": 0, "Limit": 50, "Count": 42, "TotalCount": 102760, "NextPageLink": null, "HasNext": true, "NextOffset": 42 } Why is the Count 42, if there's another 100k records? Should that not be 50, the limit for this request? This seems to repeat with inconsistent result, where requesting other limits such as 80, return other amounts for the count, such as 76. <br /> Next one, the NextOffset from the first request is 42, so I add that as an offset to the request. Request: <https://reiqdev.imiscloud.com/api/Person?limit=50&offset=42> Response: { "$type": "Asi.Soa.Core.DataContracts.PagedResult\`1\[[Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts]], Asi.Contracts", "Items": { }, "Offset": 0, "Limit": 50, "Count": 42, "TotalCount": 102760, "NextPageLink": null, "HasNext": true, "NextOffset": 42 } The response shows offset 0, and the exact same count as last time. Ok, maybe offset has to be a multiple of the limit, so trying offset 50 (we're still missing 8 records according to the count, so not sure where those go). Request: <https://reiqdev.imiscloud.com/api/Person?limit=50&offset=50> Response: { "$type": "Asi.Soa.Core.DataContracts.PagedResult\`1\[[Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts]], Asi.Contracts", "Items": { }, "Offset": 50, "Limit": 50, "Count": 31, "TotalCount": 102760, "NextPageLink": null, "HasNext": true, "NextOffset": 81 } Ok I've done 2 requests, which should have covered the first 100 records, and total amount of records retrieve of 81. <br /> When I just use the default request (which should equate to limit 100, offset 0), the Count is different. Request: <https://reiqdev.imiscloud.com/api/Person> Response: { "$type": "Asi.Soa.Core.DataContracts.PagedResult\`1\[[Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts]], Asi.Contracts", "Items": { }, "Offset": 0, "Limit": 100, "Count": 73, "TotalCount": 102760, "NextPageLink": null, "HasNext": true, "NextOffset": 73 } So now I have 73 records, which is less than the count/NextOffset of the previous request, which confuses me. <br /> Is this correct? If yes, how should I be paginating the requests, if the response doesn't return the limit?
ANSWERED

Executing an invoice operaton

Hi, We are trying to execute the ProcessAccrualAdjustment invoice operation to modify the pricing on accrual invoices and need some help with the request. This is the json to be included in the body based on the documentation: { "$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts", "OperationName": "ProcessAccrualAdjustment", "EntityTypeName": "Invoice", "Parameters": { "$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionAccrualAdjustmentData, Asi.Contracts", "$value": "invoiceActionAccrualAdjustmentData Value" } ] }, "ParameterTypeName": { "$type": "System.Collections.ObjectModel.Collection`1\[[System.String, mscorlib]], mscorlib", "$values": [ "Asi.Soa.Commerce.DataContracts.InvoiceActionAccrualAdjustmentData, Asi.Contracts" ] }, "UseJson": false } Can you please help us with the values we need to send over for 'invoiceActionAccrualAdjustmentData' or if you can send an example for such a request that'll help us out a lot. If this is not the right request to adjust the pricing on an accrual invoice, please point us in the right direction. Thank you!!

Include Cancellation Fee when creating Event through API

I created a cancellation Fee using the iMIS interface, I then made a get request to pull the event to see how that cancellation fee is defined in the object. This is what I found ```json json "AddOnFees": { "$type": "Asi.Soa.Events.DataContracts.EventAddOnFeeDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.AddOnFeeData, Asi.Contracts", "AddOnFeeId": "{{EventID}}/_CANCEL", "Name": "Cancellation fee", "Description": "", "AddOnItem": { "$type": "Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts", "Description": "", "ItemClass": { "$type": "Asi.Soa.Commerce.DataContracts.ItemClassSummaryData, Asi.Contracts", "ItemClassId": "MEETING", "Name": "Event Function" }, "ItemCode": "{{EventID}}/_CANCEL", "ItemId": "{{EventID}}/_CANCEL", "Name": "Cancellation fee" } } ] }, ``` so I added that to my payload when creating Event but it still does not create that cancellation fee. Is there a subsequent call I need to make to have this created once the event is created?

Executes an EventRegistration operation

I'm trying to register people in to IMIS event using following. POST https\://IMISSITE/api/EventRegistration/\_execute I have the following in the body of the request and its works fine. { "$type":"Asi.Soa.Events.DataContracts.EventRegistrationRequest, Asi.Contracts", "BillTo":"84008", "EntityTypeName":"EventRegistration", "EventId":"20250527E2", "RegistrationOptionFunctionId":"20250527E2/20ECONOV17FULL1", "FunctionId":"20250527E2/20ECONOV17FLPG3", "OperationName":"EventRegistration", "RegisteredBy":"2", "RegistrantId":"84008", "RegistrationType":3, "Waitlist": false } How should i constructs the json body in case i have an event with multiple program items.? Much appreciate if you can provide me an example.