Skip to main content
Solved

Initial Data load on to PSO

  • June 29, 2023
  • 8 replies
  • 266 views

Forum|alt.badge.img+4

Team,

 

We are newly building a project on IFS PSO , Can anyone please advise how to do the initial data load ? is it through XML file loading on to Workbench or through REST API gateway? 

Also I didn’t notice any UPDATE (PUT) REST methods in the swagger , is that means we should use POST for both CREATE & UPDATE ? please advise on this.

 

Best answer by roklde

Hi Rajasekhar,

I assume you are using PSO stand-alone. Are you aware of the PSO Interface Guide (see attached)? This includes several examples and the supported methods. A load can be send as XML to either the PSO (WCF - legacy) Gateway or to the RESTful Gateway. The latter should be preferred when building new integrations. Or are you using PSO together with FSM?

Best regards
Roman

8 replies

roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • Answer
  • June 29, 2023

Hi Rajasekhar,

I assume you are using PSO stand-alone. Are you aware of the PSO Interface Guide (see attached)? This includes several examples and the supported methods. A load can be send as XML to either the PSO (WCF - legacy) Gateway or to the RESTful Gateway. The latter should be preferred when building new integrations. Or are you using PSO together with FSM?

Best regards
Roman


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • June 30, 2023

Hi Rajasekhar,

I assume you are using PSO stand-alone. Are you aware of the PSO Interface Guide (see attached)? This includes several examples and the supported methods. A load can be send as XML to either the PSO (WCF - legacy) Gateway or to the RESTful Gateway. The latter should be preferred when building new integrations. Or are you using PSO together with FSM?

Best regards
Roman

Hi Roklde,  Thank you for the swift response and the interface guide. Thank you for clarifying about the data load , we are using PSO stand-alone at the moment and not with FSM.  

May I know what are the other components in FSM that comes with PSO? 

 


roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • June 30, 2023

Hi Rajasekhar,

could you please be a litte bit more precise with your question?

Best regards
Roman


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • June 30, 2023

Hi Roman,

I was just refering your question “are you using PSO together with FSM?”

If we go with that option “PSO together with FSM” , what will be the components or features added to the business ?


roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • June 30, 2023

Please check P. 8 onwards from the attached FSM Overview document for features you can extend your PSO solution with.

Best regards
Roman


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • July 12, 2023

Hi Roman,  

 

Thank you for your assistance on this.  I have a question on Resource Creation ,

May I know how to create a scheduling resource through “IFSSchedulingRESTfulGateway” API ?  as I can see only  “GET  https://MyHost/IFSSchedulingRESTfulGateway/api/v1/scheduling/resource “  and No  POST in the interface guide. When I tried with POST methods the API threw an error “Method not allowed”.

 

Please Can you advise?

 


roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • July 12, 2023

Hi Rajasekhar,

by looking at the interactive documentation it seems there is no POST method available for resources. I’m not sure if this can be done by using the POST method for Data eventually. You may want to check that by using the interactive documentation at:
 


Best regards
Roman


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • July 17, 2023

Dear Community,

 

I have added some sample Resource data manually under “Planning” workspace, and also created an activity / resource data using through REST API ( http://…./../IFSSchedulingRESTfulGateway/api/v1/scheduling/data?dataType=SCHEDULE&datasetId=Default&includeInput=true&includeOutput=true ) added under scheduling workspace,  I see the DSE has been picked up the resources from Scheduling workspace and scheduled the activities rather from Planning workspace.  Also I am able to create same resource ( with same resource ID ) in scheduling workspace as already added  in the Planning workspace.  Is this normal behaviour that we can add duplicate resource data in Scheduling and planning workspaces ??  Can anyone please clarify on this ?