Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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/{

parameter

parameters}?api_key=<api_Key>


Header

Requirement

JSON

XML

Accept

Optional. Returns

JSON

XML if undefined.

Accept: application/json

Accept: application/xml


Request URL examples with parameters

Description

Parameters

Request URL

Includes parameter

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"
}