Hello,
I'm using the SX REST Service API to automate some data entry tasks at my company within the OS portal using OE (order entry) modules. I've found a few functions that closely relate to what I'm needing to do. One function I'm using to update fields for an order in OE works by providing key: value pairs in the request,
i.e. "fieldName": "fieldvalue"
The resulting fields in OE are changed to what I specify in this request.
Problem:
I'm having some trouble validating field names I'm able to use in the request to change specific fields. I've been testing other functions that get field data from an order in OE, and inputting the fieldnames in their responses into the update function I want to use. When I try to cross-reference fieldnames like this it doesn't always work out. Fieldnames that work in the update function have an expected result, the correct field is updated in OS. There are also many fieldnames I try that give me an error, they are not valid fieldnames.
I plan to keep testing other getter functions for OE and finding new fieldnames to test out, however it's a long and tedious process. It would really help to find some documentation that lists acceptable field names for a particular function, like the update function I'm wanting to use. The documentation in Swagger UI doesn't specify valid fieldnames for a function.
Are there any resources out there that provide a more detailed documentation with Infor APIs? It may be something I would have to get directly from the developers that worked with setting up the APIs specific to my company's Infor package, hopefully that's not the case!
TL;DR:
In SX REST API functions, SwaggerUI documentation does not have enough information in an example response to determine valid fieldname parameters to input in a request. Are there other sources of documentation that list valid fieldnames?