All URIs are relative to https://app.statflo.com
| Method | HTTP request | Description |
|---|---|---|
| rcsAgentCreate | POST /v4/api/rcs-agent | |
| rcsAgentDelete | DELETE /v4/api/rcs-agent/{id} | |
| rcsAgentGet | GET /v4/api/rcs-agent/{id} | |
| rcsAgentSearch | GET /v4/api/rcs-agent | |
| rcsAgentUpdate | PUT /v4/api/rcs-agent/{id} |
RcsAgent rcsAgentCreate(body)
Create an rcs agent.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.RcsAgentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
RcsAgentApi apiInstance = new RcsAgentApi();
RcsAgentCreate body = new RcsAgentCreate(); // RcsAgentCreate |
try {
RcsAgent result = apiInstance.rcsAgentCreate(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RcsAgentApi#rcsAgentCreate");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | RcsAgentCreate | [optional] |
- Content-Type: application/json
- Accept: application/json
rcsAgentDelete(id)
Remove an rcs agent.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.RcsAgentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
RcsAgentApi apiInstance = new RcsAgentApi();
String id = "id_example"; // String |
try {
apiInstance.rcsAgentDelete(id);
} catch (ApiException e) {
System.err.println("Exception when calling RcsAgentApi#rcsAgentDelete");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
RcsAgent rcsAgentGet(id)
Retrieve an rcs agent.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.RcsAgentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
RcsAgentApi apiInstance = new RcsAgentApi();
String id = "id_example"; // String |
try {
RcsAgent result = apiInstance.rcsAgentGet(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RcsAgentApi#rcsAgentGet");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
RcsAgentPaginationResponse rcsAgentSearch(filter, query, page, perPage, sort)
Search rcs agents.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.RcsAgentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
RcsAgentApi apiInstance = new RcsAgentApi();
java.util.HashMap filter = new java.util.HashMap(); // java.util.HashMap |
String query = "query_example"; // String |
Integer page = 56; // Integer |
Integer perPage = 56; // Integer |
String sort = "sort_example"; // String |
try {
RcsAgentPaginationResponse result = apiInstance.rcsAgentSearch(filter, query, page, perPage, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RcsAgentApi#rcsAgentSearch");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| filter | java.util.HashMap | [optional] | |
| query | String | [optional] | |
| page | Integer | [optional] | |
| perPage | Integer | [optional] | |
| sort | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
RcsAgent rcsAgentUpdate(id, body)
Update an rcs agent.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.RcsAgentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
RcsAgentApi apiInstance = new RcsAgentApi();
String id = "id_example"; // String |
RcsAgentUpdate body = new RcsAgentUpdate(); // RcsAgentUpdate |
try {
RcsAgent result = apiInstance.rcsAgentUpdate(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RcsAgentApi#rcsAgentUpdate");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| body | RcsAgentUpdate | [optional] |
- Content-Type: application/json
- Accept: application/json