HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question

Other token grant_types or ways to get the token?

For our interaction with iMIS another application will be requesting the api's via scheduled jobs and not via user interaction. For other application api's we are using using Keycloak for the authentication.

Get shopping cart of currently logged-in user or on-behalf of user

Hi all,
How can I pick up the current cart of the logged in user?
I have a button on one of the content pages which should ideally pick up the cart ID of the current cart.
I have tried using the parameter userid which returns all carts of the specific user but a bit stuck in how to pick-up the current one.
I can see that the cart created by the user has additional UpdateInformation in which CreatedBy and UpdatedBy are set to the user but would not know how to filter on this one via the endpoint request.
?userid=18052&CreatedBy=18052&UpdatedBy=18502 does not yield any results although there is one. It also does not feel entirely right because there may be another cart instance with both informations set.

Object reference not set to an instance of an object.

I submitted a cart and received this nondescript error message back from SOA.

Cart payment receipt

I need to process a credit card transaction and use the GatewayRef as the receipt reference. How do I obtain the GatewayRef from a successful CC Payment?

Maternity Leave - non billing period

We have a Maternity leave category that is not charged during the time they are on leave.

API intermittently not working

Hello,
Working on iMIS Cloud (20.3 upgraded) and I'm having trouble with most of the API endpoints.
The iQA endpoint randomly gives me 400 - "Query: .../Store Queries/BOOL-Allowed to acquire VCE resources not found."
/api/iqa?QueryName=$/.../Store Queries/BOOL-Allowed to acquire VCE resources

Use OR When Filtering Results From Party

I'm looking for a way to filter parties based on the value of a text input. I want to search using some logic of name=contains:value or email=contains:value. Is there a way to do this without making two separate requests and combining the results?

Using the API to retrieve a Bearer Token - 403 Forbidden

I am trying to retrieve a bearer token from a PHP Wordpress plugin. I know that my code works because I can get a token using the [SDK Demo][1]. But whenever I try to use my real URL, I get a 403 Forbidden error.

Angular Routing for iParts

I'm developing an iPart for iMIS using angular and I'm curious how to handle the initial view of my app.

API Returning 405 Method Not Allowed

When I make requests in the chrome developer console directly to the URL I do not have any issues. However, when I make requests using ajax in an html file, I always get a response of 405 method not allowed. Is there a specific way you have to make ajax requests?