Connecting to HPSM through REST api

Hi all, 

 

I'm new to the REST api I was wondering where I can find:

 

1) The documentation for using REST api in Java to connect to HPSM ticketing database?

 

2)Where can I find the configuration settings to connect to my HPSM?

 

Any help would be much appreciated.

 

Kind Regards, 

Mark

Parents Reply
  • I am using HPSM rest api to post incident and retirieving incidents, but when i invoke post(save incident) service through java with HTTP URL Connection,  Initially it is taking nearly 5 mins for creatign incident, and then it is taking 30 secs for saving incident, 10 secs form retrieving incidents.

    My client(java application) is reciding in different machine and hpsm is installed in different machine.

    I am using Normal java code to connect hpsm.

    URL url = new URL("<HPSM URL Located in remote machine>");
    		HttpURLConnection conn = (HttpURLConnection) url.openConnection();
    		conn.setRequestMethod("GET Or POST");
    		conn.setRequestProperty("Accept", "application/json");

     It would be appreciable, if any one provide solution.

    Thanks.

Children