Question

PickSelected API

  • 26 September 2023
  • 3 replies
  • 110 views

Badge

Good morning everyone,

 

I post this topic cause after many hours of research I can’t find a solution about using an API.

Here is my problem : 

 

I have to build an flow for make an insertion of data in IFS DB.

I did it on the application and use the debug window for see what kind of API is called.

 

After analyse, I see this : 

 

 

I understood the parameters are checked in the FndTempsLobs API which is genering a LobID and this LobID is the payload of the PickSelected API.

 

My question is :

 

  • How can I give the inforamtion PICK_LIST_NO, SOURCE_REF1, QTY_TO_PICK, etc… to the FndTempsLobs API ? 

The documentation show us the only payload is CreatedByModule :

 

 

My 2nd question is :

 

  • The LobID generated contains the previous information ? 

 

Thx a lot for your help and sorry if my explication are confused.

 

 


3 replies

Userlevel 5
Badge +14

Hi @BenHug 

 

I don’t know what this API does. I checked the API documentation. You can get documentation like below. 

 

  • Go to projection. And add the “/$openapi?V3” end of the URL.

https://url:port/main/ifsapplications/projection/v1/ReportPickingOfPickListLines.svc/$openapi?V3

  • Copy content and paste to Swagger editor.

https://editor-next.swagger.io/

 

 

Then, I created a post request. I looked at your debug screenshot and I created a body like below.

https://url:port/main/ifsapplications/projection/v1/ReportPickingOfPickListLines.svc/FndTempLobs

 

 

Something has been created in the database. And I can see those with a get request.

 

 

 

In my opinion, this API is used for entering huge data for a record. That should be the second part of something. You can see the second question answer. LobId in the POST request response.

Badge

Hi,

 

Thank you for your answer.

 

I think I understood how the parameters are used.

After request this API, a line in the DB table FND_TEMP_LOB_STORE_TAB is created.

 

The parameter are recover in the CLOB_DATA column :

 

 

Then I will use the API PickSelected which will use this Lob ID and will use the Selection in the CLOB_DATA column.

 

My final problem is : “Where can I past this parameter in the API ? Parameters ? Body ? Header ? 

 

Log IFS : 

 

I can’t find :(

 

Thx for all :)

Userlevel 5
Badge +14

@BenHug In my opinion, there should be another projection. Just trace the network carefully. I hope you will solve it.

Reply