All URIs are relative to https://api.merge.dev/api/ats/v1
Method | HTTP request | Description |
---|---|---|
passthroughCreate | POST /passthrough |
RemoteResponse passthroughCreate(xAccountToken, dataPassthroughRequest)
Pull data from an endpoint not currently supported by Merge.
// Import classes:
import merge_ats_client.ApiClient;
import merge_ats_client.ApiException;
import merge_ats_client.Configuration;
import merge_ats_client.auth.*;
import merge_ats_client.models.*;
import merge_ats_client.api.PassthroughApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.merge.dev/api/ats/v1");
// Configure API key authorization: tokenAuth
ApiKeyAuth tokenAuth = (ApiKeyAuth) defaultClient.getAuthentication("tokenAuth");
tokenAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tokenAuth.setApiKeyPrefix("Token");
PassthroughApi apiInstance = new PassthroughApi(defaultClient);
String xAccountToken = "xAccountToken_example"; // String | Token identifying the end user.
DataPassthroughRequest dataPassthroughRequest = new DataPassthroughRequest(); // DataPassthroughRequest |
try {
RemoteResponse result = apiInstance.passthroughCreate(xAccountToken, dataPassthroughRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PassthroughApi#passthroughCreate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
xAccountToken | String | Token identifying the end user. | |
dataPassthroughRequest | DataPassthroughRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |