Monday, October 19, 2015

#448 ICS - REST API















Note, the 4 sections -

  • integrations
  • lookups
  • monitoring
  • packages

Integrations

Here we can manage integrations, this includes -
  • activation
  • deactivation
  • export an integration
  • import an integration (add/replace)
  • retrieve integration(s)
















Example -









Here I retrieve all Integrations -

https://myICSInstance/icsapis/v1/integrations


























Here is the REST request to retrieve a specific integration -

https://myICSInstance/icsapis/v1/integrations/SVC_OSC_CONTACT_CREATED/01.00.0000

Note: The instance is shown in ICS as -








But for this request, we use the "code" value.


Export an Integration

https://myICSInstance/icsapis/v1/integrations/SVC_OSC_CONTACT_CREATED/01.00.0000/export

If you want to test this in Postman and see the results, then do so as follows -



Then check out the downloaded file -



Monitoring











REST Request: 
https://myICSInstance/icsapis/v1/monitoring/integrations

Here is the data for my simple StockQuote integration -






































As you can see, I have a 100% success rate.

Packages










Retrieve Packages example -

https://myICSInstance/icsapis/v1/packages







Yes, I have obfuscated the urls.

Here the REST api call returns the contents of my package -


The last line of the response includes the package name.


Lookups





ORCL doc here

No comments: