I'm struggling with the IDO REST API's. I'm hoping someone can point me in the right direction. We are on the cloud version of Mongoose. What I want to do is load data into a Mongoose table from data in our on-premise SQL Server database.
I started by using the REST API Wizard form. I see the API's it created in Infor IONAPI. I can successfully run a Load Collection API from inside of IONAPI. It returns data. I can call this URL from a C# console app and it returns data.
Where I'm getting confused is on an Update Collection. I created an Insert using the REST API Wizard. In IONAPI, this method shows as a Get. I thought this would be a Post. There are only two parameters: Authorization and X-InforMongooseConfig. Page 142 of the "Infor Mongoose Integrating IDO's with External Applications" document shows setting the update properties. I did that and set the X-InforMongooseConfig to the update properties. When I run the service, I get a response that says that the first property cannot be null. So I must not be passing the update properties correctly. Does anyone know how to pass the update properties to an IDO REST API created with the wizard?
I don't have to use IONAPI. The "Infor Mongoose Integrating IDO's with External Applications" document has examples that don't use ION API. That document says that all endpoints are accessible using HTTP(S) and are located at this URL. http://<serverName>/IDORequestService/ido
What I don't know is what the server name should be. I can enter this into my browser and see swagger: https://mguseastws.mtmgf.mongoosepaas.io/IDORequestService/ido/api-docs/
But I assume that I'm going to have to tell it my tenant. Can someone tell me how I add my tenant into that address? Also, I that all IDO's are available to the REST service and I don't have to use the REST API Wizard. Is that correct?
I appreciate any help anyone can give me. Do you recommend using the ION API's or the REST API's that are not exposed to ION API?