curl -X POST -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/autocomplete/{name}/{variant}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAutocompleteApi;
import java.io.File;
import java.util.*;
public class BackofficeAutocompleteApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
BackofficeAutocompleteApi apiInstance = new BackofficeAutocompleteApi();
String name = name_example; // String | Autocomplete entity name
String variant = variant_example; // String | Autocomplete entity variant
AutoCompleteItemCollectionPayload payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
String acceptLanguage = acceptLanguage_example; // String |
String account = account_example; // String |
String bot = bot_example; // String |
String botStep = botStep_example; // String |
String channel = channel_example; // String |
String contact = contact_example; // String |
String integration = integration_example; // String |
String integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; // String |
String integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; // String |
String integrationType = integrationType_example; // String |
String knowledgeBase = knowledgeBase_example; // String |
String organisation = organisation_example; // String |
String page = page_example; // String |
String permission = permission_example; // String | Permission to check for an entity
try {
Autocomplete_item_collection result = apiInstance.backofficeAutocompleteList1(name, variant, payload, acceptLanguage, account, bot, botStep, channel, contact, integration, integrationGoogleDriveDocument, integrationGoogleDriveDocumentType, integrationType, knowledgeBase, organisation, page, permission);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BackofficeAutocompleteApi#backofficeAutocompleteList1");
e.printStackTrace();
}
}
}
import io.swagger.client.api.BackofficeAutocompleteApi;
public class BackofficeAutocompleteApiExample {
public static void main(String[] args) {
BackofficeAutocompleteApi apiInstance = new BackofficeAutocompleteApi();
String name = name_example; // String | Autocomplete entity name
String variant = variant_example; // String | Autocomplete entity variant
AutoCompleteItemCollectionPayload payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
String acceptLanguage = acceptLanguage_example; // String |
String account = account_example; // String |
String bot = bot_example; // String |
String botStep = botStep_example; // String |
String channel = channel_example; // String |
String contact = contact_example; // String |
String integration = integration_example; // String |
String integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; // String |
String integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; // String |
String integrationType = integrationType_example; // String |
String knowledgeBase = knowledgeBase_example; // String |
String organisation = organisation_example; // String |
String page = page_example; // String |
String permission = permission_example; // String | Permission to check for an entity
try {
Autocomplete_item_collection result = apiInstance.backofficeAutocompleteList1(name, variant, payload, acceptLanguage, account, bot, botStep, channel, contact, integration, integrationGoogleDriveDocument, integrationGoogleDriveDocumentType, integrationType, knowledgeBase, organisation, page, permission);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BackofficeAutocompleteApi#backofficeAutocompleteList1");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *name = name_example; // Autocomplete entity name
String *variant = variant_example; // Autocomplete entity variant
AutoCompleteItemCollectionPayload *payload = ; // Auto complete item collection payload
String *acceptLanguage = acceptLanguage_example; // (optional)
String *account = account_example; // (optional)
String *bot = bot_example; // (optional)
String *botStep = botStep_example; // (optional)
String *channel = channel_example; // (optional)
String *contact = contact_example; // (optional)
String *integration = integration_example; // (optional)
String *integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; // (optional)
String *integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; // (optional)
String *integrationType = integrationType_example; // (optional)
String *knowledgeBase = knowledgeBase_example; // (optional)
String *organisation = organisation_example; // (optional)
String *page = page_example; // (optional)
String *permission = permission_example; // Permission to check for an entity (optional)
BackofficeAutocompleteApi *apiInstance = [[BackofficeAutocompleteApi alloc] init];
// list backoffice_autocomplete
[apiInstance backofficeAutocompleteList1With:name
variant:variant
payload:payload
acceptLanguage:acceptLanguage
account:account
bot:bot
botStep:botStep
channel:channel
contact:contact
integration:integration
integrationGoogleDriveDocument:integrationGoogleDriveDocument
integrationGoogleDriveDocumentType:integrationGoogleDriveDocumentType
integrationType:integrationType
knowledgeBase:knowledgeBase
organisation:organisation
page:page
permission:permission
completionHandler: ^(Autocomplete_item_collection output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var QuriobotApi = require('quriobot_api');
var defaultClient = QuriobotApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['Authorization'] = "Token"
var api = new QuriobotApi.BackofficeAutocompleteApi()
var name = name_example; // {String} Autocomplete entity name
var variant = variant_example; // {String} Autocomplete entity variant
var payload = ; // {AutoCompleteItemCollectionPayload} Auto complete item collection payload
var opts = {
'acceptLanguage': acceptLanguage_example, // {String}
'account': account_example, // {String}
'bot': bot_example, // {String}
'botStep': botStep_example, // {String}
'channel': channel_example, // {String}
'contact': contact_example, // {String}
'integration': integration_example, // {String}
'integrationGoogleDriveDocument': integrationGoogleDriveDocument_example, // {String}
'integrationGoogleDriveDocumentType': integrationGoogleDriveDocumentType_example, // {String}
'integrationType': integrationType_example, // {String}
'knowledgeBase': knowledgeBase_example, // {String}
'organisation': organisation_example, // {String}
'page': page_example, // {String}
'permission': permission_example // {String} Permission to check for an entity
};
api.backofficeAutocompleteList1(name, variant, payload, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class backofficeAutocompleteList1Example
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new BackofficeAutocompleteApi();
var name = name_example; // String | Autocomplete entity name
var variant = variant_example; // String | Autocomplete entity variant
var payload = new AutoCompleteItemCollectionPayload(); // AutoCompleteItemCollectionPayload | Auto complete item collection payload
var acceptLanguage = acceptLanguage_example; // String | (optional)
var account = account_example; // String | (optional)
var bot = bot_example; // String | (optional)
var botStep = botStep_example; // String | (optional)
var channel = channel_example; // String | (optional)
var contact = contact_example; // String | (optional)
var integration = integration_example; // String | (optional)
var integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; // String | (optional)
var integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; // String | (optional)
var integrationType = integrationType_example; // String | (optional)
var knowledgeBase = knowledgeBase_example; // String | (optional)
var organisation = organisation_example; // String | (optional)
var page = page_example; // String | (optional)
var permission = permission_example; // String | Permission to check for an entity (optional)
try
{
// list backoffice_autocomplete
Autocomplete_item_collection result = apiInstance.backofficeAutocompleteList1(name, variant, payload, acceptLanguage, account, bot, botStep, channel, contact, integration, integrationGoogleDriveDocument, integrationGoogleDriveDocumentType, integrationType, knowledgeBase, organisation, page, permission);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BackofficeAutocompleteApi.backofficeAutocompleteList1: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$api_instance = new Swagger\Client\Api\BackofficeAutocompleteApi();
$name = name_example; // String | Autocomplete entity name
$variant = variant_example; // String | Autocomplete entity variant
$payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
$acceptLanguage = acceptLanguage_example; // String |
$account = account_example; // String |
$bot = bot_example; // String |
$botStep = botStep_example; // String |
$channel = channel_example; // String |
$contact = contact_example; // String |
$integration = integration_example; // String |
$integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; // String |
$integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; // String |
$integrationType = integrationType_example; // String |
$knowledgeBase = knowledgeBase_example; // String |
$organisation = organisation_example; // String |
$page = page_example; // String |
$permission = permission_example; // String | Permission to check for an entity
try {
$result = $api_instance->backofficeAutocompleteList1($name, $variant, $payload, $acceptLanguage, $account, $bot, $botStep, $channel, $contact, $integration, $integrationGoogleDriveDocument, $integrationGoogleDriveDocumentType, $integrationType, $knowledgeBase, $organisation, $page, $permission);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAutocompleteApi;
# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";
my $api_instance = WWW::SwaggerClient::BackofficeAutocompleteApi->new();
my $name = name_example; # String | Autocomplete entity name
my $variant = variant_example; # String | Autocomplete entity variant
my $payload = WWW::SwaggerClient::Object::AutoCompleteItemCollectionPayload->new(); # AutoCompleteItemCollectionPayload | Auto complete item collection payload
my $acceptLanguage = acceptLanguage_example; # String |
my $account = account_example; # String |
my $bot = bot_example; # String |
my $botStep = botStep_example; # String |
my $channel = channel_example; # String |
my $contact = contact_example; # String |
my $integration = integration_example; # String |
my $integrationGoogleDriveDocument = integrationGoogleDriveDocument_example; # String |
my $integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example; # String |
my $integrationType = integrationType_example; # String |
my $knowledgeBase = knowledgeBase_example; # String |
my $organisation = organisation_example; # String |
my $page = page_example; # String |
my $permission = permission_example; # String | Permission to check for an entity
eval {
my $result = $api_instance->backofficeAutocompleteList1(name => $name, variant => $variant, payload => $payload, acceptLanguage => $acceptLanguage, account => $account, bot => $bot, botStep => $botStep, channel => $channel, contact => $contact, integration => $integration, integrationGoogleDriveDocument => $integrationGoogleDriveDocument, integrationGoogleDriveDocumentType => $integrationGoogleDriveDocumentType, integrationType => $integrationType, knowledgeBase => $knowledgeBase, organisation => $organisation, page => $page, permission => $permission);
print Dumper($result);
};
if ($@) {
warn "Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.BackofficeAutocompleteApi()
name = name_example # String | Autocomplete entity name
variant = variant_example # String | Autocomplete entity variant
payload = # AutoCompleteItemCollectionPayload | Auto complete item collection payload
acceptLanguage = acceptLanguage_example # String | (optional)
account = account_example # String | (optional)
bot = bot_example # String | (optional)
botStep = botStep_example # String | (optional)
channel = channel_example # String | (optional)
contact = contact_example # String | (optional)
integration = integration_example # String | (optional)
integrationGoogleDriveDocument = integrationGoogleDriveDocument_example # String | (optional)
integrationGoogleDriveDocumentType = integrationGoogleDriveDocumentType_example # String | (optional)
integrationType = integrationType_example # String | (optional)
knowledgeBase = knowledgeBase_example # String | (optional)
organisation = organisation_example # String | (optional)
page = page_example # String | (optional)
permission = permission_example # String | Permission to check for an entity (optional)
try:
# list backoffice_autocomplete
api_response = api_instance.backoffice_autocomplete_list1(name, variant, payload, acceptLanguage=acceptLanguage, account=account, bot=bot, botStep=botStep, channel=channel, contact=contact, integration=integration, integrationGoogleDriveDocument=integrationGoogleDriveDocument, integrationGoogleDriveDocumentType=integrationGoogleDriveDocumentType, integrationType=integrationType, knowledgeBase=knowledgeBase, organisation=organisation, page=page, permission=permission)
pprint(api_response)
except ApiException as e:
print("Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList1: %s\n" % e)