Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 10 Current »

Rest Testing Tool

  1. Log in to iHub site

  2. Navigate to Support Menu and Click Rest Testing Tool

  3. Swagger UI Page will open on new tab and will show list of REST API services (Load and Retrieve Services) available to connect to the Integration Hub

Make sure to use the correct Token (Swagger UI header) if multiple Token has been created and Rest API settings have been mapped.

See Also: https://seko.atlassian.net/wiki/spaces/SMAN/pages/2933030943/iHub+-+Settings#API-Credentials

https://seko.atlassian.net/wiki/spaces/SMAN/pages/2933030943/iHub+-+Settings#Rest-API-Protocol-Mapping

Rest Testing Tool.png
  1. Select service and API call type (POST/GET)

Swagger Get_Post.PNG
  1. Select "Parameter content type" and “Response content type” (xml, json format).

Swagger Content type.png
  1. Enter Parameter Value on the Request Box . Click the “Example Value” box to copy the standard template into the "Request" box to easily edit values. (Required fields differ on each Client).

See Samples here ---> https://seko.atlassian.net/wiki/x/UYBFs

Swagger ParameterValue.pngGET.png
  1. Click API call type button (POST/GET) to submit request

Click “Try it Out” button to submit a test message

Swagger submit.png
  1. Check Activity log to monitor status if Success or Fail and to view details of request

Rest api activity.png

Types of services

  1. Submitting Data: This is done through the Load services (POST). When you need to send data to the hub, you use these services.

  2. Querying Data: This is handled by the Retrieve services (GET). When you need to get data from the hub, you use these services.

  • No labels