All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docs.UtilApi.md Maven / Gradle / Ivy

There is a newer version: 1.50.1
Show newest version
# UtilApi

All URIs are relative to *https://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**v1UtilEchoPost**](UtilApi.md#v1UtilEchoPost) | **POST** /v1/util/echo | Test endpoint, returns input.
[**v1UtilObsoletePost**](UtilApi.md#v1UtilObsoletePost) | **POST** /v1/util/obsolete | Example of a deprecated endpoint, returns input.



# **v1UtilEchoPost**
> SimpleMessage v1UtilEchoPost(sessionToken, keyManagerToken, echoInput)

Test endpoint, returns input.

### Example
```java
// Import classes:
//import org.symphonyoss.symphony.agent.invoker.ApiException;
//import org.symphonyoss.symphony.agent.api.UtilApi;


UtilApi apiInstance = new UtilApi();
String sessionToken = "sessionToken_example"; // String | Session authentication token.
String keyManagerToken = "keyManagerToken_example"; // String | Key Manager authentication token.
SimpleMessage echoInput = new SimpleMessage(); // SimpleMessage | Message in plain text 
try {
    SimpleMessage result = apiInstance.v1UtilEchoPost(sessionToken, keyManagerToken, echoInput);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling UtilApi#v1UtilEchoPost");
    e.printStackTrace();
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **sessionToken** | **String**| Session authentication token. |
 **keyManagerToken** | **String**| Key Manager authentication token. |
 **echoInput** | [**SimpleMessage**](SimpleMessage.md)| Message in plain text  |

### Return type

[**SimpleMessage**](SimpleMessage.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


# **v1UtilObsoletePost**
> SimpleMessage v1UtilObsoletePost(sessionToken, keyManagerToken, echoInput)

Example of a deprecated endpoint, returns input.

### Example
```java
// Import classes:
//import org.symphonyoss.symphony.agent.invoker.ApiException;
//import org.symphonyoss.symphony.agent.api.UtilApi;


UtilApi apiInstance = new UtilApi();
String sessionToken = "sessionToken_example"; // String | Session authentication token.
String keyManagerToken = "keyManagerToken_example"; // String | Key Manager authentication token.
SimpleMessage echoInput = new SimpleMessage(); // SimpleMessage | Message in plain text 
try {
    SimpleMessage result = apiInstance.v1UtilObsoletePost(sessionToken, keyManagerToken, echoInput);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling UtilApi#v1UtilObsoletePost");
    e.printStackTrace();
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **sessionToken** | **String**| Session authentication token. |
 **keyManagerToken** | **String**| Key Manager authentication token. |
 **echoInput** | [**SimpleMessage**](SimpleMessage.md)| Message in plain text  |

### Return type

[**SimpleMessage**](SimpleMessage.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json





© 2015 - 2024 Weber Informatics LLC | Privacy Policy