do you know a way can easily map the RestAPI name in IFS?
For example, I have a shop order, then on the shop order header, I do Reserve, I would like to know what RestAPI can do this job?
I attached the debug log. i can see lots of API called, but how to map them to RestAPI?
Thank you.
Page 1 / 1
Hi @ronhu ,
Are you using the IFS Aurena client or IFS Enterprise Explorer (IEE) client?
If you are using IEE I do not believe it uses Rest API's but rather the .NET Acres Provider.
Regards,
William Klotz
@william.klotz We are using IEE, but we can open Aurena. I can see API Explorer can get all the RESTAPI, but how to precisely locate the RESTAPI, that is a challenge, I think. Thank you.
Hi @ronhu,
open Aurena and DevTools (Console - F12 or Ctrl + Shift + I) in Browser on tab Network.
Navigate to wanted page right before action, clean content of Network tab and do action.
then tab contains all calls done by framework
in this example GET (read) call of Search
when you choose record, you can see:
on tab Headers: URL and all URL parameters, result status code
on tab Payload: content of request - all parameters,
on tabs Preview/Response: response
Retrieving data are GET request, modifications are PATCH requests and Creation or Calling actions are POST requests.
Modify example:
Hope it helps
BR
@william.klotz Appreicated, will try. Thank you.
Thorough response from @InfFilipV. Thanks. The recommendation as written there is to use the Browser console and locate the applicable call.
Postman Interceptor is also another way to capture requests in Aurena. One advantage is that you’ll get the requests with the payload added to a postman collection so you don’t have to do it manually.