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

Discussions

Ask a Question
ANSWERED

PUT /api/ItemPrice/{ItemPriceId} results in error

If I do a get call on the endpoint I receive the following. ```json json { "$type": "Asi.Soa.Commerce.DataContracts.ItemPriceData, Asi.Contracts", "ItemPriceId": "CHAPEV75/REG:Standard:00000000-0000-0000-0000-000000000000:USD", "Item": { "$type": "Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts", "ItemId": "CHAPEV75/REG" }, "PriceSheet": { "$type": "Asi.Soa.Commerce.DataContracts.PriceSheetSummaryData, Asi.Contracts", "Description": "", "Name": "", "PriceSheetId": "Standard" }, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2 }, "SalesUom": { "$type": "Asi.Soa.Commerce.DataContracts.UomSummaryData, Asi.Contracts", "UomId": "00000000-0000-0000-0000-000000000000", "Name": "", "Description": "" }, "DefaultPrice": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Amount": 99.0000, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2 } }, "IncomeAccount": { "$type": "Asi.Soa.Commerce.DataContracts.FinancialAccountData, Asi.Contracts", "GLAccount": { "$type": "Asi.Soa.Commerce.DataContracts.GLAccountData, Asi.Contracts", "GLAccountCode": "" } }, "SpecialPriceRules": { "$type": "Asi.Soa.Commerce.DataContracts.SpecialPriceRuleDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.SpecialPriceRuleData, Asi.Contracts", "SpecialPriceRuleId": "NM:EarlyFee", "Name": "NM:EarlyFee", "Description": "Non-Member", "EndDate": "0001-01-01T00:00:00", "Amount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2 } } }, { "$type": "Asi.Soa.Commerce.DataContracts.SpecialPriceRuleData, Asi.Contracts", "SpecialPriceRuleId": "NM:LateFee", "Name": "NM:LateFee", "Description": "Non-Member", "EndDate": "0001-01-01T00:00:00", "Amount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2 } } }, { "$type": "Asi.Soa.Commerce.DataContracts.Pricing.LegacyPriceRuleData, Asi.Contracts", "RuleCustomerType": "NM" } ] } } ``` When I copy the result to the body, update the call to a PUT, change the default price amount, add the ItemPriceId at the end of the url reguardless if it is url encoded I get a 500 error.

Adding some text to a Page Content containing a Single Sign-On iPart

Hi, We are trying to add some text on a page content containing a Single Sign-On iPart (the one where you select a client application for a SSO connection). Since the redirection takes 10-15 seconds to process, we would like to add a text like "Please wait while we redirect you". Adding a Content Html to the page doesn't work, it seems that this content get ignored or erased when we are browsing the page and the redirection is being processed. Does someone have an idea on how to make it work? We are still on version 20.2.66.1330. Thanks.

iMIS Power BI Integration

Hi, Is it possible to integrate iMIS with PowerBi. So that PowerBi reports and dashboards can be made from live iMIS data. If yes, how difficult is it to setup. Kind regards, Jim
ANSWERED

End point to apply a promo code to cart

Hello! Is there a way to directly apply a promo code to the cart via the APIs without having to read the cart, add the discount and modify the pricing to reflect the new price? Something as easy as saying 'apply promo code XYZ-20' to the user's cart and then the pricing is re-calculated automatically? Thanks, Harsh
ANSWERED

What's the trick to override a price in ComboOrder

Trying to process event registrations using a POST to ComboOrder, but I want to override the default price. I've tried IsUnitPriceOverridden": true at UnitPrice and ExtendedAmount but it still processes as a sale and a prepay for the difference. My hope is to price the functions at $0 and then just pass in the amount paid on a registration by registration basis. Thanks

Convert a large list of dropdown values for a general lookup table into iMIS

How can we convert a large list of dropdown values for a general lookup table into iMIS instead of manually entering them in iMIS?
ANSWERED

Convert a large list of committees into iMIS

We have a large number of committees that need to be converted from our current system into iMIS. What can we use to convert these into iMIS as Workbook Converter cant be used to convert committees.
ANSWERED

REST API - communication log sent date

![](https://files.readme.io/d7244cd-image.png) Is it possible to set this field through the API? I'm trying to set CommunicationLogRecipient.UpdateInformation (both CreatedOn and UpdatedOn) but it's not persisting. Thanks!
ANSWERED

Creating a ComboCart where person A purchases a subscription for two or more other people

Using the REST API, we are trying to create a ComboCart which will allow person "A" (a non-company administrator) to purchase a non-dues subscription (journal) for two or more other people "B" and "C". When we make the ComboCart sold to party, person "A". They cannot checkout as the cart says "You do not have permission to purchase this item". Eliminating the sold to altogether throws an error when viewing the cart (likely a 500) We have tried several combinations to achieve this with no luck. Is this even possible? Thanks, Randy
ANSWERED

ProductInventoryId issue

Is it possible to retrieve and update a `ProductInventory` item? According to the documentation: <https://developer.imis.com/reference/getproductinventorybyid-1> If we send a GET request to the endpoint: /api/ProductInventory/G15\\DEFAULT We receive the following error: ``` Asi.Soa.Core.Exceptions.EntityServiceException`1[Asi.Soa.Core.DataContracts.Faults.ArgumentFault]: ArgumentFault: Incorrect number of identity elements at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Persistence\BaseClasses\LinqPersistenceStrategyBase.cs:line 112 at Asi.Soa.Core.Domain.Repository.FindIdentityItemByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Domain\Repository\Repository.cs:line 348 at Asi.Soa.Core.Domain.Repository.FindByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Domain\Repository\Repository.cs:line 336 at Asi.Services.Core.EntityServiceToCommonServiceAdapter`1.<FindById>g__ExecuteFind|19_0(<>c__DisplayClass19_0& ) in D:\a\1\s\src\service\Asi.Service\Core\Core\EntityServiceToCommonServiceAdapter.cs:line 400 ```