Skip to main content
Solved

Restful API to retrieve Resource/Shift information(PSO)


Forum|alt.badge.img+13

Hi All,

There is a requirement to Extract roster/shift data from PSO and update the FSM shift table.

(Roster must be planned in PSO. If roster is planned in PSO, shift data will be limited to PSO.

But there is requirement that shift data must be available in FSM side)

For this, I have tried to use the existing methods in ThreesixtyIntegrationmanager and Threesixty communicationmanager.(These classes provide the PSO connection, token authorization and etc).

But as per my knowledge, I couldn’t find any relevant methods for the above functionality from the above mentioned classes. 

  1. Is there a way to achieve this using the existing methods?

If not, what are the alternate ways to get them? Use Restful API?

  1. Are there any example codes that I can refer about how to establish the connection to PSO using Restful API? (I have seen that there are some examples for this with the use of POST MAN. But my requirement is to implement customization.)

I would really appreciate your valuable inputs on this.

Thanks and regards,
Hasara

Best answer by Saranga Amaraweera

Hi @Hasara Dinu ,

Seems like the baseline integration methods provided in the MetrixCommunicationManager class cannot be customized/ exposed in the way we expect as it could entirely replace the baseline itself. One option  would be to use FSM connect with the PSO Restfulgateway if PSO can broadcast the roster data. If that option is not available, you will need to implement a new customization to interact with PSO Restfulgateway and then extract roster/shift data

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

Forum|alt.badge.img+22
  • Superhero (Employee)
  • 395 replies
  • March 22, 2022

@Saranga Amaraweera I know you can help :sunglasses:


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Hi @Hasara Dinu ,

Seems like the baseline integration methods provided in the MetrixCommunicationManager class cannot be customized/ exposed in the way we expect as it could entirely replace the baseline itself. One option  would be to use FSM connect with the PSO Restfulgateway if PSO can broadcast the roster data. If that option is not available, you will need to implement a new customization to interact with PSO Restfulgateway and then extract roster/shift data


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings