Skip to main content

Hi All,

 

I need to create a Custom REST API and this API needs to call several other REST APIs.

For example new custom API is Test_Handling_SVC.

My question is , do we normally call CRUD methods in standard SVC packages from other SVC packages (say custom SVC) or should we call standard New__ , Modify__ method calls instead.
e.g.
Do we call method 
Prepare_Work_Order_Handling_SVC.CRUD_Create() 

OR

Active_Sepatate_API.New__()

 

What is the recommended IFS standard?

Hi @GaSoGB 

The CRUD methods in an SVC package is only meant to be used within the corresponding API call flow and not from another API context.

Please follow the standard code flow as designed in the Core code, where calls are made from the SVC to relevant entity DB APIs and not to other SVCs.

Regards,

/Rifki

 


Thanks for the clarification Rifki.
Much appreciated.

Cheers
Gayan


Reply