so I’m working on recreating what you are doing in swagger (because I am learning right along with you) and the last one returns something using all of your selects, so I don’t see any typos. I need to try one with more that one release though (I have it filtered by one order that has only one release)
Are you sure that the order you are looking at has more than one release?
I don’t want to discount the fact that this is exploratory and educational, which is good, but for production, you may want to go the BAQ route and use the BaqSvc. That way, the interface is constant and selection is done through parameters that are more “URL-Like”. Also you’re only downloading the data you need and not serializing the whole record.
I am looking to tie in third party shipping software via REST. So, this is a little more than educational.
I’m a little lost. What do you mean by “not serializing the whole record?” I was thinking the BAQ route would be best but the software company says REST is best.
I mean that you can call BAQs from REST. The BAQ allows you to reformat your data to the exact specifications that the software company wants. You can pass in parameters to select the orders/lines/releases that you want too.
Yeah, that’s what I meant as well. But just for the record, going back to pulling via REST without the BAQ, will it not pull down the correct release or line when it is specified?
Might be a bug. The individual Object calls may not be as…umm…solid just yet. You may have uncovered an issue to report. But the BAQ service is pretty tight because it gets used a lot.
in 10.2 it seems to work as expected (I have different order lines, but not different releases). It seems them must have fixed something. In postman I set up the different environments and can pop back and forth and they return different things with the same call.
Let me add a release to something. Give me a few minutes
Well, I am on 10.1.500.38. @Banderson can you create an order with more than one release to check it on 10.2? I do not want to jump to that, but I may have to if it works. Otherwise we will go with the BAQ.
it works correctly in 10-2. This is using Postman, but it was copied out of swagger to start with. I added the part number so that I could make sure I was on the right line.