Echo
Description
Returns any value passed to the function. This information can be useful for debugging.
Resource URL
GET rws/api/v{apiVersion}/echo/{param}
Request Parameters
Parameter | Description |
---|---|
apiVersion |
The version number for this API. The current version for all functions is 1. |
param | The string you want to echo. |
Response Parameters
Return Value | Description |
---|---|
context | The string that you passed into the function. |
Request Example
Make sure to use your own user credentials. See Authentication for information about creating an authorization header.
Response Example
Code Samples
Make sure to use the Control Center sandbox URL and your own user credentials.
Errors
Error Code | HTTP Code | Error Message |
---|---|---|
10000001 | 401 |
Invalid credentials. Description: Control Center uses this error message when the API credentials are invalid or when the IP address is not within the allowed range. |
10000011 | 400 |
One or more required fields are missing. |
10000024 | 400 | Invalid apiVersion. |
30000001 | 500 | Unknown server error. |