Discussions
PUT Requests
Hi,
We're getting below error while trying to send PUT requests using API endpoint https://bgcascripting.imiscloud.com/api/productitem.
Status: 405 Method Not Allowed.
Error Message: "The requested resource does not support http method 'PUT'."
We are getting the same error message for PUT request for Item API as well.
GET and POST are working fine.
Thanks,
Chinar
Combo Order - Item Description, Name and Note
While creating combo orders through the API, we have noticed that setting values for Description, Name, and Note in the Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts (Item Object) does not result in the set value being stored in iMIS Enterprise. However, if an item is ordered through the iMIS interface and and a note is added, the note is properly stored. It appears that the SET property is not function as needed. For the Name and Description, it appears that a lookup from the Product table is what is being used instead of what is being sent through the API.
Describing IQAs via REST API with aliased property names?
Is there a way to get the definition of an IQA that includes the aliased Property Names?
Calling /api/QueryDefinition/_execute with OperationName = "FindByPath" returns values like:
{
"$type": "Asi.Soa.Core.DataContracts.QueryPropertyData, Asi.Contracts",
"QuerySourceId": "063b404c-460c-420a-b67d-878fe4ffaff8.SR2",
"Name": "063b404c-460c-420a-b67d-878fe4ffaff8.CL29",
"Caption": "NetContactData.Id",
"DisplayFormat": "G",
"Link": "",
"DataTypeName": "String"
}
But that property is aliased as "PartyId" and will come back as such when the IQA is called via the API, making it harder to use the IQA as an abstraction layer of defined model but flexible data source.
Register for event function with custom price using REST api
Hi, I want to register a contact for an event function, and to have the price be custom/overriden using the REST api. I know how to register using the EventRegistration functionality, but am not sure about how to register using the Cart to override the price.
Can you explain/provide example code on how to do this for iMIS 2017?
Thanks,
Brian.
Create a view in SQL database using API
Hi team,
Event Registration Cancellations
Good morning,
Secret switch to make 1.0.1 REST API return normal JSON
I remember one of the ASI developers telling us about a header you could include when making a request of the .../IQA endpoint which would cause it to return the output in "normal" JSON format. Much like the difference in output between the .../IQA and .../Query endpoints in 20.3, discussed at https://developer.imis.com/docs/migrating-from-iqa-to-query-service-endpoint.
Going On Belhalf of using REST Api
Hi,
API Caching?
I am trying to get the status of a product by making a call to Item endpoint shortly after the product status has changed and I find that even though I can see the product as inactive in the database, This call will return active upwards of 15 mins after the status has changed.
Processing Cash Payment after posting Batch
I'll explain my scenario here. What I'm looking to do is apply a payment to the batch and only apply the payment to the member's dues balance if the batch has been posted.