‘Echo’ testing service


With this service, you can test the connection of your system to the integration hub. The parameter specified in the call is echo'd back to you.


HTTP
Method

/<service>/<version>/<parameters>

GET

/echo/v1/{parameters}


Environment

Example Request URL

UAT

https://ihubuat.supplystream.com:8081/api/echo/v1/{parameters}?api_key=<api_Key>


Header

Requirement

JSON

XML

Accept

Optional. Returns XML if undefined.

Accept: application/json

Accept: application/xml


Request URL examples with parameters

Description

Parameters

Request URL

Includes parameter

Parameters: hello

https://ihubuat.supplystream.com:8081/api/echo/v1/hello?api_key=21121212


API call formatting

XML Format


Body

N/A

Example Response Body

<?xml version="1.0" encoding="utf-8"?>
<echo>
<msg>hello</msg>
</echo>


JSON Format


Body

N/A

Example Response Body

{
"msg": "hello"
}