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

Discussions

Ask a Question
ANSWERED

Update product pricing at time of combo order

Hi, We are trying to post a combo order on a fee-based product. We set up the default commerce product price to be 1 dollar and when we post our combo order, our goal is to update the pricing for the billtoid/shiptoid the time the payment is placed. This is similar to how staff can overwrite pricing at the time of placing an order. What we are seeing happen is that the order is placed for one dollar and then the rest of the payment is treated as prepayment which is not what we want. We would like the payment amount completely applied to the product. Can you please assist? Here is what we are currently working with. { "$type": "Asi.Soa.Commerce.DataContracts.ComboOrderData, Asi.Contracts", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "Order": { "$type": "Asi.Soa.Commerce.DataContracts.OrderData, Asi.Contracts", "BillToCustomerParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "21810" }, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "Delivery": { "$type": "Asi.Soa.Commerce.DataContracts.DeliveryDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.DeliveryData, Asi.Contracts", "Address": { "$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts", "AdditionalLines": { "$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts", "$values": [] }, "Address": { "$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts", "AddressId": "", "AddressLines": { "$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts", "$values": [ "", "" ] }, "CityName": "", "CountryCode": "", "CountryName": "", "CountrySubEntityCode": "", "CountrySubEntityName": "", "FullAddress": "", "PostalCode": "", "VerificationStatus": 0 }, "AddresseeText": "", "AddressPurpose": "", "CommunicationPreferences": { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "default" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "mail" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "bill" }, { "$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts", "Reason": "ship" } ] }, "Email": "", "FullAddressId": "", "Phone": "", "Salutation": { "$type": "Asi.Soa.Membership.DataContracts.PartySalutationData, Asi.Contracts", "SalutationMethod": { "$type": "Asi.Soa.Membership.DataContracts.PartySalutationMethodSummaryData, Asi.Contracts", "PartySalutationMethodId": "main" }, "Text": "" }, "DisplayName": "", "DisplayOrganizationTitle": "", "DisplayOrganizationName": "" }, "AddressId": "", "CustomerParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "" }, "DeliveryId": "", "DeliveryMethod": { "$type": "Asi.Soa.Commerce.DataContracts.DeliveryMethodData, Asi.Contracts", "Name": "", "DeliveryMethodId": "" } } ] }, "OrderDiscount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "LineDiscountTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "Lines": { "$type": "Asi.Soa.Commerce.DataContracts.OrderLineDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.OrderLineData, Asi.Contracts", "OrderLineId": "", "AdditionalAttributes": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "WebsiteEditUrl", "Value": "https://imistour3747.imiscloud.com/ItemDetail?iProductCode=OCA_DUES&Category=FEES" } ] }, "ExtendedAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "Item": { "$type": "Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts", "ItemClass": { "$type": "Asi.Soa.Commerce.DataContracts.ItemClassSummaryData, Asi.Contracts", "ItemClassId": "" }, "ItemCode": "OCA_Dues", "ItemId": "OCA_Dues", "Name": "" }, "LineNumber": 1, "QuantityBackordered": { "$type": "System.Nullable`1[[Asi.Soa.Commerce.DataContracts.QuantityData, Asi.Contracts]], mscorlib" }, "QuantityOrdered": { "$type": "System.Nullable`1[[Asi.Soa.Commerce.DataContracts.QuantityData, Asi.Contracts]], mscorlib", "Amount": 1 }, "QuantityShipped": { "$type": "System.Nullable`1[[Asi.Soa.Commerce.DataContracts.QuantityData, Asi.Contracts]], mscorlib", "Amount": 1 }, "Tax": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxData, Asi.Contracts", "Details": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailDataCollection, Asi.Contracts", "$values": [] }, "TaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "TaxableAmountTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "InclusiveTaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "TaxSchedule": { "$type": "Asi.Soa.Commerce.DataContracts.TaxScheduleSummaryData, Asi.Contracts", "Name": "" }, "TaxCategory": { "$type": "Asi.Soa.Commerce.DataContracts.TaxCategorySummaryData, Asi.Contracts" } }, "UnitPrice": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "BaseUnitPrice": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "Discount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "CanCombine": true, "SourceCode": "" } ] }, "LineTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "MiscellaneousChargesTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 0, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "OrderDate": "2021-02-25", "OrderTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "OriginatorCustomerParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "21810" }, "ShippingTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 0, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "SoldToCustomerParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "21810" }, "SourceCode": "", "AdditionalCharges": { "$type": "Asi.Soa.Commerce.DataContracts.AdditionalChargeDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.AdditionalChargeData, Asi.Contracts", "AdditionalChargeId": "", "Description": "", "TotalAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 0, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "Tax": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxData, Asi.Contracts", "Details": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailData, Asi.Contracts", "TaxAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "IsTaxInclusive": false, "TaxAuthority": { "$type": "Asi.Soa.Commerce.DataContracts.TaxAuthoritySummaryData, Asi.Contracts", "Name": "" } } ] }, "TaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "InclusiveTaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false } } }, { "$type": "Asi.Soa.Commerce.DataContracts.AdditionalChargeData, Asi.Contracts", "AdditionalChargeId": "Handling", "Description": "Handling", "TotalAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 2, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "Tax": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxData, Asi.Contracts", "Details": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailData, Asi.Contracts", "TaxAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "IsTaxInclusive": false, "TaxAuthority": { "$type": "Asi.Soa.Commerce.DataContracts.TaxAuthoritySummaryData, Asi.Contracts", "Name": "" } } ] }, "TaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "InclusiveTaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false } } }, { "$type": "Asi.Soa.Commerce.DataContracts.AdditionalChargeData, Asi.Contracts", "AdditionalChargeId": "EventCredits", "Description": "Credits", "TotalAmount": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "Tax": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxData, Asi.Contracts", "Details": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDetailDataCollection, Asi.Contracts", "$values": [] }, "TaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "InclusiveTaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false } } } ] }, "TaxInformation": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxInformationData, Asi.Contracts", "InclusiveTaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "TaxTotal": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": false }, "OrderTaxes": { "$type": "Asi.Soa.Commerce.DataContracts.OrderTaxDataCollection, Asi.Contracts", "$values": [] } }, "TotalBasePrice": { "$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts]], mscorlib", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": { "$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization" } }, "IsAmountDefined": true }, "AdditionalAttributes": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "OrderTotalExcludingCredits", "Value": { "$type": "System.Decimal", "$value": 0 } } ] } }, "Invoices": { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceSummaryDataCollection, Asi.Contracts", "$values": [] }, "Payments": { "$type": "Asi.Soa.Commerce.DataContracts.RemittanceDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.RemittanceData, Asi.Contracts", "PayorParty": { "$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts", "PartyId": "21810" }, "Amount": { "$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts", "Amount": 1000.01, "Currency": { "$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts", "CurrencyCode": "USD", "DecimalPositions": 2, "ExtensionData": null }, "IsAmountDefined": true }, "PaymentMethod": { "$type": "Asi.Soa.Commerce.DataContracts.PaymentMethodData, Asi.Contracts", "Name": "Main Checking Account", "PaymentMethodId": "CASH", "PaymentType": "Cash", "Message": "Cash" } } ] } }
ANSWERED

API - Create Username for existing record the unintended consequences

Hi All, This week I was writing some code to populate usernames/passwords for records which already exist in the system but do not have a user credentials. What a great time to use the API I thought. So i went about it and found that the for iMIS 20.3.90.44742 the Docs were not current and through throwing different parameters at the end point i found that UserID was wanted not ContactKey, very nice to see the docs got updated so quickly once this came out!! Finding the right combo of JSON was only the beginning, i had been able to create usernames/passwords and login just fine! great, grand , wonderful! Testing out the password reset functionality for these records led me to the next issue, I could login, yet when i try and reset my password i never get an email?? I tried the forgot username functionality i got a email but it stated no username was found on the system. Weird? I removed the credentials via staff site, then created them via staff site, both worked fine. So i removed the credentials and created them via the API, they show in the staff site, i can login. But password reset and forgot username do not detect Credentials created in this manner. I did a search and could not find anything related to this. Any ideas on this? Could it be a bug in the creation of the username?
ANSWERED

How can i do adjustment to membership Invoice using Rest API?

Hi I am trying to renew membership using rest API. As Invoice is already created. i want to do adjustment to existing invoice and want to do payment. Example. In invoice 3 items are there and i want to do payment just for one. and want cancel other 2 items.
ANSWERED

React client-side iPart – added uber-simple React app to a page and it will not publish

Hi all, I created the default dummy React app by doing: yarn create react-app dummyapp …and didn’t change anything. It runs in the dev server on my local PC fine, of course. I ran the command “yarn build”, and it creates a “build” folder. I zipped up the “build” files and subfolder, uploaded the zip as a new client-based content type, and added that to a dummy content page. The page refuses to publish. When I try to do it with a simple-ish working React app I created by coding along with a tutorial, the content page shows “there was a problem loading this area” in red, and it won’t publish either. Neither of the above apps calls any webservice. Does anyone have any ideas? Thank you! React-y details: 1) The files I zipped in the first example are the “static” subfolder and 7 files: manifest.json, asset-manifest.json, index.html, an ico, 2 pngs, and robots.txt... nothing unexpected. 2) I followed the deployment instructions from the newer-look IMIS docs site: a) Uploaded the zip file to RISE > Document System > iPartSource; clicked New > Zip File, navigated to and hilited zMikeReactExample.zip, entered description, clicked Upload. b) Added a new content type: RISE > Maintenance > Content Types > select Custom folder. New > Content Type > Client-Based, entered name & description, and, for the “URL to the html file that is used to display items of this type at runtime.”, ~iPartSource/zMikeReactExample.zip/index.html I didn’t enter anything in the “URL to the html file that is used to configure content items of this type.” since the documentation says “URL to the config.html file that is used to configure content items of this type field, if you created one.” Advanced Properties – left blank Clicked Save. Just now double-checked, and it looks what should be normal.

Product Price - Endpoint

We are looking for a way to automate some Price changes for a customer. Is there an endpoint for the Product Price table? If so, what is it and can you point us to documentation?
ANSWERED

/api/ContentItem get Settings --Cloud Version

I see this used on the example client-side iPart but it no longer shows in the API reference page. When I do a GET on the endpoint I see a 404 so I'm not sure if this was done away with. I'm working with the Cloud versions currently.
ANSWERED

Update Subscription via new endpoint

This documentation (https://developer.imis.com/docs/adding-modifying-and-paying-for-a-subscription) states that the subscription Status field can be changed by staff members through the api but I haven't been able to work out what that API call should look like. Will the API documentation be updated or can you provide an example here?

Adding Gift record via RESTful API

I am not finding example or documentation on how to create a simple gift. This example is for .NET: https://developer.imis.com/docs/donations What is the REST equivalent? Please help. Thank you, Molivouth.

Trouble posting to multi instance panel source

Hi, We are trying to post to a multi-instance panel source, however, we keep getting a 400 error. Please note that we are on iMIS version 20.2.65.9955. We are able to do GET calls on this panel source fine, but are unable to do any POST calls. Can you please assist? The body we are posting is below. { "$type":"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts", "EntityTypeName":"AO_SecondaryPatrol", "PrimaryParentEntityTypeName":"Party", "Identity":{ "$type":"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts", "EntityTypeName":"AO_SecondaryPatrol", "IdentityElements":{ "$type":"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values":[ "197018" ] } }, "PrimaryParentIdentity":{ "$type":"Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts", "EntityTypeName":"Party", "IdentityElements":{ "$type":"System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values":[ "197018" ] } }, "Properties": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "PartyId", "Value": "197018" }, { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "PatrollerMemberId", "Value": "258317" } ] } } ) } Kind regards, Julie

Executes a TaskDefinition operation - possible with variables?

Hi I want to execute a Process Automation Task with a POST request to https://yourorgsite.com/api/TaskDefinition/_execute and the body { "$type": "Asi.Soa.Communications.DataContracts.TaskAdhocRequest, Asi.Contracts", "EntityTypeName": "TaskDefinition", "OperationName": "TaskAdhocRequest", "Task": { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionData, Asi.Contracts" } } The task would look like this { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionData, Asi.Contracts", "TaskDefinitionId": "aa71f95f-4779-4db5-9d4a-dc9f604904ec", "Name": "Send Email from Flowz", "Description": "", "IsActive": true, "Priority": 0, "TaskType": 1, "Triggers": { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionTriggerDataCollection, Asi.Contracts", "$values": [] }, "Evaluations": { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionEvaluationDataCollection, Asi.Contracts", "$values": [] }, "DataSources": { "$type": "Asi.Soa.Communications.DataContracts.DataSourceDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Communications.DataContracts.DataSourceQueryData, Asi.Contracts", "Query": { "$type": "Asi.Soa.Core.DataContracts.QueryData, Asi.Contracts", "Criteria": { "$type": "Asi.Soa.Core.DataContracts.CriteriaDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.CriteriaData, Asi.Contracts", "Operation": 3, "PropertyName": "QueryDocumentVersionKey", "Values": { "$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib", "$values": [ "56e9abd1-a01d-4e99-aa52-98aa844603cd" ] } } ] }, "EntityTypeName": "IQA" }, "DataSourceId": "5eefeb65-0390-4ead-a034-51b9bbdf9623", "DataSourceName": "EmailByID" } ] }, "Actions": { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionActionDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionActionCommunicationJobData, Asi.Contracts", "ActionId": "78675ff1-e8fc-4fa7-9174-cbd4403abf84", "ActionTypeName": "CommunicationJob", "Description": "Sample for CT", "RecipientDatasourceId": "5eefeb65-0390-4ead-a034-51b9bbdf9623", "CommunicationTemplateId": "34236ea0-a33a-4d52-ba2f-02cdd5572458", "ActionNotification": null } ] }, "Notifications": { "$type": "Asi.Soa.Communications.DataContracts.NotificationDefinitionDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Communications.DataContracts.NotificationDefinitionData, Asi.Contracts", "NotificationDefinitionId": "4520a0e3-02d1-4341-bcb1-9d1754d94fb3", "TaskDefinitionId": "aa71f95f-4779-4db5-9d4a-dc9f604904ec", "DefaultTemplate": "", "PersonalizedTemplate": "", "DataSources": { "$type": "Asi.Soa.Communications.DataContracts.DataSourceIdentifiers, Asi.Contracts", "$values": [] } } ] }, "UpdateInformation": { "$type": "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts", "CreatedBy": "BRIANM", "CreatedOn": "2021-02-23T14:08:30.173", "UpdatedBy": "BRIANM", "UpdatedOn": "2021-02-23T14:13:16.803" } } It contains a data source (IQA) with a required filter. How can I pass in the filter to the IQA? If I would use the simpler approach by triggering an already setup task, { "$type": "Asi.Soa.Communications.DataContracts.TaskRequest, Asi.Contracts", "EntityTypeName": "TaskDefinition", "OperationName": "TaskAdhocRequest", "TaskDefinitionId": "aa71f95f-4779-4db5-9d4a-dc9f604904ec" } how can I pass in the query parameter? Any pointers are much appreciated! Best, Alex