Solved

PSO - Rest API

  • 16 June 2022
  • 8 replies
  • 372 views

Userlevel 5
Badge +14

Hi,

I have looked for past questions, and asked on this case 

around the PSO Rest API’s.

I’d be interested to have a look at them. I have installed the service but when launching the browser I am getting a 404 error.

Have I missed something on install?

Also in the previous post there is a URL (http://localhost/IFSSchedulingRESTfulGateway/swagger/ui/index.html) which is what I’d like to get to, again nothing is loading, just getting a white page for that.

 

Ady

 

 

icon

Best answer by Sajith Anushan 16 June 2022, 14:51

View original

8 replies

Userlevel 6
Badge +21

Hi Ady,

There is a parameter called EnableSwaggerUi. Can you enable it and check the swagger url?

Userlevel 5
Badge +14

@Sajith Anushan 

Thank you. That’s now working.

 

Out of interest, is there a Parameter for the API Key too?

Regards

 

Ady

Userlevel 6
Badge +21

Hi Ady,

You need to authenticate a session using “Session” > POST option below. Then it will provide the key. You can paste it here.

Userlevel 5
Badge +14

@Sajith Anushan 

Thank you.

Out of interest, what is the difference between the Account ID and User Name?

Ady

Userlevel 6
Badge +21

Account ID should be the tenant you are trying to connect. If it is the Parent organization, it should be “Default”. If it is a child organization, give the child org ID there.

User name should be any of the PSO users with Gateway permission.

Userlevel 5
Badge +14

@Sajith Anushan 

Thank you for the help and support on this.

We’re up and running and working with our developers.

I don’t suppose there is any set documentation for the PSO API's is there.

I have checked the documentation folders in the delivery and nothing stands out.

 

Ady

Userlevel 5
Badge +14

I must add I have been through lots of tickets / KB’s and cannot see anything.

If there is anything on here that would help, please point point me in the right direction.

 

Userlevel 6
Badge +21

Check Interface Guide documentation. REST API details are there. 

Reply