Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

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}?api_key=<api_Key>


Header

Requirement

JSON

XML

Accept

Optional. Returns JSON if undefined.

Accept: application/json

Accept: application/xml


Request URL examples with parameters

Description

Parameters

Request URL

Includes parameter

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


  • No labels