All URIs are relative to https://api.merge.dev/api/ats/v1
Method | HTTP request | Description |
---|---|---|
availableActionsRetrieve | GET /available-actions |
AvailableActions availableActionsRetrieve(xAccountToken)
Returns a list of models and actions available for an account.
import MergeAtsApi from 'merge_ats_api';
let defaultClient = MergeAtsApi.ApiClient.instance;
// Configure API key authorization: tokenAuth
let tokenAuth = defaultClient.authentications['tokenAuth'];
tokenAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tokenAuth.apiKeyPrefix = 'Token';
let apiInstance = new MergeAtsApi.AvailableActionsApi();
let xAccountToken = "xAccountToken_example"; // String | Token identifying the end user.
apiInstance.availableActionsRetrieve(xAccountToken, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
xAccountToken | String | Token identifying the end user. |
- Content-Type: Not defined
- Accept: application/json