Discussions

Ask a Question

Where is the avatar stored and how do I get access for a list of contacts?

I was searching through the forum and a few people have mentioned that the avatar is stored in PartyImage. Thing is, there doesn't appear to be a mention of PartyImage anywhere in the database. Also, different people have mentioned that all of the avatars are stored in BLOBs, I have partly confirmed this with a request to the PartyImage endpoint. When I inspect the image elements in staff views, they exist as hotlinks to JPGs in the "/web/images/profile" directory. What's with this? Does the image actually exist anywhere in a filesystem or is this a bit of temporary fakery in the api?

_Validate on ComboOrder Returning Empty Lines Array

Hi all,

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?

ANSWERED

How can I submit a cart through REST

Hi all,
I am trying to submit a payment through the https://{{URL}}/api/cart/ endpoint.
I have tried all various permutations of the comborder JSON and have had no luck.
I did try PUT which updates the cart item and POST which creates a new cart but none of those push through a CASH payment.

Maternity Leave - non billing period

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

ANSWERED

Enabling CORS on Asi.Scheduler API with IIS 8

I am trying to enable CORS on the api so I can make cross-origin calls. The API does not understand the OPTIONS method that is being sent by the browser when I make an XHR request using axios. This results in a 405 for the options preflight request and a CORS failure. What is the quickest way to enable this? I am unsure how to enable the necessary CORS features on a WCF service without access to the entry point.

Contact us
Copyright © Advanced Solutions International, All rights reserved.