Quriobot API

BackofficeAgent

backofficeAgentCreate

create backoffice_agent

Create agent


/0.0.1/backoffice/agents

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/agents"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAgentApi;

import java.io.File;
import java.util.*;

public class BackofficeAgentApiExample {

    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");

        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String organisation = organisation_example; // String | 
        AgentPayload payload = ; // AgentPayload | Agent payload
        try {
            Agent result = apiInstance.backofficeAgentCreate(organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentCreate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAgentApi;

public class BackofficeAgentApiExample {

    public static void main(String[] args) {
        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String organisation = organisation_example; // String | 
        AgentPayload payload = ; // AgentPayload | Agent payload
        try {
            Agent result = apiInstance.backofficeAgentCreate(organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentCreate");
            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 *organisation = organisation_example; // 
AgentPayload *payload = ; // Agent payload

BackofficeAgentApi *apiInstance = [[BackofficeAgentApi alloc] init];

// create backoffice_agent
[apiInstance backofficeAgentCreateWith:organisation
    payload:payload
              completionHandler: ^(Agent 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.BackofficeAgentApi()

var organisation = organisation_example; // {String} 

var payload = ; // {AgentPayload} Agent payload

api.backofficeAgentCreate(organisation, payload).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 backofficeAgentCreateExample
    {
        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 BackofficeAgentApi();
            var organisation = organisation_example;  // String | 
            var payload = new AgentPayload(); // AgentPayload | Agent payload

            try
            {
                // create backoffice_agent
                Agent result = apiInstance.backofficeAgentCreate(organisation, payload);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAgentApi.backofficeAgentCreate: " + 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\BackofficeAgentApi();
$organisation = organisation_example; // String | 
$payload = ; // AgentPayload | Agent payload

try {
    $result = $api_instance->backofficeAgentCreate($organisation, $payload);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAgentApi->backofficeAgentCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAgentApi;

# 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::BackofficeAgentApi->new();
my $organisation = organisation_example; # String | 
my $payload = WWW::SwaggerClient::Object::AgentPayload->new(); # AgentPayload | Agent payload

eval { 
    my $result = $api_instance->backofficeAgentCreate(organisation => $organisation, payload => $payload);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAgentApi->backofficeAgentCreate: $@\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.BackofficeAgentApi()
organisation = organisation_example # String | 
payload =  # AgentPayload | Agent payload

try: 
    # create backoffice_agent
    api_response = api_instance.backoffice_agent_create(organisation, payload)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAgentApi->backofficeAgentCreate: %s\n" % e)

Parameters

Header parameters
Name Description
Organisation*
String
Required
Body parameters
Name Description
payload *

Responses

Status: 201 - Object created

Status: 400 - Bad Request

Status: 403 - Forbidden

Status: 404 - Not Found


backofficeAgentDelete

delete backoffice_agent


/0.0.1/backoffice/agents/{id}

Usage and SDK Samples

curl -X DELETE -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/agents/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAgentApi;

import java.io.File;
import java.util.*;

public class BackofficeAgentApiExample {

    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");

        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        try {
            apiInstance.backofficeAgentDelete(id, organisation);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAgentApi;

public class BackofficeAgentApiExample {

    public static void main(String[] args) {
        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        try {
            apiInstance.backofficeAgentDelete(id, organisation);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentDelete");
            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 *id = id_example; // Agent ID
String *organisation = organisation_example; // 

BackofficeAgentApi *apiInstance = [[BackofficeAgentApi alloc] init];

// delete backoffice_agent
[apiInstance backofficeAgentDeleteWith:id
    organisation:organisation
              completionHandler: ^(NSError* error) {
                            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.BackofficeAgentApi()

var id = id_example; // {String} Agent ID

var organisation = organisation_example; // {String} 

api.backofficeAgentDelete(id, organisation).then(function() {
  console.log('API called successfully.');
}, 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 backofficeAgentDeleteExample
    {
        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 BackofficeAgentApi();
            var id = id_example;  // String | Agent ID
            var organisation = organisation_example;  // String | 

            try
            {
                // delete backoffice_agent
                apiInstance.backofficeAgentDelete(id, organisation);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAgentApi.backofficeAgentDelete: " + 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\BackofficeAgentApi();
$id = id_example; // String | Agent ID
$organisation = organisation_example; // String | 

try {
    $api_instance->backofficeAgentDelete($id, $organisation);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAgentApi->backofficeAgentDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAgentApi;

# 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::BackofficeAgentApi->new();
my $id = id_example; # String | Agent ID
my $organisation = organisation_example; # String | 

eval { 
    $api_instance->backofficeAgentDelete(id => $id, organisation => $organisation);
};
if ($@) {
    warn "Exception when calling BackofficeAgentApi->backofficeAgentDelete: $@\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.BackofficeAgentApi()
id = id_example # String | Agent ID
organisation = organisation_example # String | 

try: 
    # delete backoffice_agent
    api_instance.backoffice_agent_delete(id, organisation)
except ApiException as e:
    print("Exception when calling BackofficeAgentApi->backofficeAgentDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Agent ID
Required
Header parameters
Name Description
Organisation*
String
Required

Responses

Status: 204 - No Content

Status: 400 - Bad Request

Status: 403 - Forbidden

Status: 404 - Not Found


backofficeAgentList

list backoffice_agent

Retrieve all agents.


/0.0.1/backoffice/agents/list

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/agents/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAgentApi;

import java.io.File;
import java.util.*;

public class BackofficeAgentApiExample {

    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");

        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String organisation = organisation_example; // String | 
        AgentCollectionPayload payload = ; // AgentCollectionPayload | Agent collection payload
        try {
            Agent_collection result = apiInstance.backofficeAgentList(organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAgentApi;

public class BackofficeAgentApiExample {

    public static void main(String[] args) {
        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String organisation = organisation_example; // String | 
        AgentCollectionPayload payload = ; // AgentCollectionPayload | Agent collection payload
        try {
            Agent_collection result = apiInstance.backofficeAgentList(organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentList");
            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 *organisation = organisation_example; // 
AgentCollectionPayload *payload = ; // Agent collection payload

BackofficeAgentApi *apiInstance = [[BackofficeAgentApi alloc] init];

// list backoffice_agent
[apiInstance backofficeAgentListWith:organisation
    payload:payload
              completionHandler: ^(Agent_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.BackofficeAgentApi()

var organisation = organisation_example; // {String} 

var payload = ; // {AgentCollectionPayload} Agent collection payload

api.backofficeAgentList(organisation, payload).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 backofficeAgentListExample
    {
        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 BackofficeAgentApi();
            var organisation = organisation_example;  // String | 
            var payload = new AgentCollectionPayload(); // AgentCollectionPayload | Agent collection payload

            try
            {
                // list backoffice_agent
                Agent_collection result = apiInstance.backofficeAgentList(organisation, payload);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAgentApi.backofficeAgentList: " + 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\BackofficeAgentApi();
$organisation = organisation_example; // String | 
$payload = ; // AgentCollectionPayload | Agent collection payload

try {
    $result = $api_instance->backofficeAgentList($organisation, $payload);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAgentApi->backofficeAgentList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAgentApi;

# 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::BackofficeAgentApi->new();
my $organisation = organisation_example; # String | 
my $payload = WWW::SwaggerClient::Object::AgentCollectionPayload->new(); # AgentCollectionPayload | Agent collection payload

eval { 
    my $result = $api_instance->backofficeAgentList(organisation => $organisation, payload => $payload);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAgentApi->backofficeAgentList: $@\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.BackofficeAgentApi()
organisation = organisation_example # String | 
payload =  # AgentCollectionPayload | Agent collection payload

try: 
    # list backoffice_agent
    api_response = api_instance.backoffice_agent_list(organisation, payload)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAgentApi->backofficeAgentList: %s\n" % e)

Parameters

Header parameters
Name Description
Organisation*
String
Required
Body parameters
Name Description
payload *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 403 - Forbidden


backofficeAgentShow

show backoffice_agent

Get agent


/0.0.1/backoffice/agents/{id}

Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/agents/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAgentApi;

import java.io.File;
import java.util.*;

public class BackofficeAgentApiExample {

    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");

        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        try {
            Agent result = apiInstance.backofficeAgentShow(id, organisation);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentShow");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAgentApi;

public class BackofficeAgentApiExample {

    public static void main(String[] args) {
        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        try {
            Agent result = apiInstance.backofficeAgentShow(id, organisation);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentShow");
            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 *id = id_example; // Agent ID
String *organisation = organisation_example; // 

BackofficeAgentApi *apiInstance = [[BackofficeAgentApi alloc] init];

// show backoffice_agent
[apiInstance backofficeAgentShowWith:id
    organisation:organisation
              completionHandler: ^(Agent 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.BackofficeAgentApi()

var id = id_example; // {String} Agent ID

var organisation = organisation_example; // {String} 

api.backofficeAgentShow(id, organisation).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 backofficeAgentShowExample
    {
        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 BackofficeAgentApi();
            var id = id_example;  // String | Agent ID
            var organisation = organisation_example;  // String | 

            try
            {
                // show backoffice_agent
                Agent result = apiInstance.backofficeAgentShow(id, organisation);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAgentApi.backofficeAgentShow: " + 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\BackofficeAgentApi();
$id = id_example; // String | Agent ID
$organisation = organisation_example; // String | 

try {
    $result = $api_instance->backofficeAgentShow($id, $organisation);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAgentApi->backofficeAgentShow: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAgentApi;

# 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::BackofficeAgentApi->new();
my $id = id_example; # String | Agent ID
my $organisation = organisation_example; # String | 

eval { 
    my $result = $api_instance->backofficeAgentShow(id => $id, organisation => $organisation);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAgentApi->backofficeAgentShow: $@\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.BackofficeAgentApi()
id = id_example # String | Agent ID
organisation = organisation_example # String | 

try: 
    # show backoffice_agent
    api_response = api_instance.backoffice_agent_show(id, organisation)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAgentApi->backofficeAgentShow: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Agent ID
Required
Header parameters
Name Description
Organisation*
String
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 403 - Forbidden

Status: 404 - Not Found


backofficeAgentUpdate

update backoffice_agent

Change agent


/0.0.1/backoffice/agents/{id}

Usage and SDK Samples

curl -X PATCH -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/agents/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAgentApi;

import java.io.File;
import java.util.*;

public class BackofficeAgentApiExample {

    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");

        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        AgentPayload payload = ; // AgentPayload | Agent payload
        try {
            Agent result = apiInstance.backofficeAgentUpdate(id, organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAgentApi;

public class BackofficeAgentApiExample {

    public static void main(String[] args) {
        BackofficeAgentApi apiInstance = new BackofficeAgentApi();
        String id = id_example; // String | Agent ID
        String organisation = organisation_example; // String | 
        AgentPayload payload = ; // AgentPayload | Agent payload
        try {
            Agent result = apiInstance.backofficeAgentUpdate(id, organisation, payload);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAgentApi#backofficeAgentUpdate");
            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 *id = id_example; // Agent ID
String *organisation = organisation_example; // 
AgentPayload *payload = ; // Agent payload

BackofficeAgentApi *apiInstance = [[BackofficeAgentApi alloc] init];

// update backoffice_agent
[apiInstance backofficeAgentUpdateWith:id
    organisation:organisation
    payload:payload
              completionHandler: ^(Agent 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.BackofficeAgentApi()

var id = id_example; // {String} Agent ID

var organisation = organisation_example; // {String} 

var payload = ; // {AgentPayload} Agent payload

api.backofficeAgentUpdate(id, organisation, payload).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 backofficeAgentUpdateExample
    {
        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 BackofficeAgentApi();
            var id = id_example;  // String | Agent ID
            var organisation = organisation_example;  // String | 
            var payload = new AgentPayload(); // AgentPayload | Agent payload

            try
            {
                // update backoffice_agent
                Agent result = apiInstance.backofficeAgentUpdate(id, organisation, payload);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAgentApi.backofficeAgentUpdate: " + 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\BackofficeAgentApi();
$id = id_example; // String | Agent ID
$organisation = organisation_example; // String | 
$payload = ; // AgentPayload | Agent payload

try {
    $result = $api_instance->backofficeAgentUpdate($id, $organisation, $payload);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAgentApi->backofficeAgentUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAgentApi;

# 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::BackofficeAgentApi->new();
my $id = id_example; # String | Agent ID
my $organisation = organisation_example; # String | 
my $payload = WWW::SwaggerClient::Object::AgentPayload->new(); # AgentPayload | Agent payload

eval { 
    my $result = $api_instance->backofficeAgentUpdate(id => $id, organisation => $organisation, payload => $payload);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAgentApi->backofficeAgentUpdate: $@\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.BackofficeAgentApi()
id = id_example # String | Agent ID
organisation = organisation_example # String | 
payload =  # AgentPayload | Agent payload

try: 
    # update backoffice_agent
    api_response = api_instance.backoffice_agent_update(id, organisation, payload)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAgentApi->backofficeAgentUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Agent ID
Required
Header parameters
Name Description
Organisation*
String
Required
Body parameters
Name Description
payload *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 403 - Forbidden

Status: 404 - Not Found


BackofficeAuth

backofficeAuthConfirmPasswordReset

confirm_password_reset backoffice_auth

Confirm a password reset.


/0.0.1/backoffice/auth/confirm_password_reset

Usage and SDK Samples

curl -X POST "https://api.quriobot.com/0.0.1/backoffice/auth/confirm_password_reset"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        RequestPasswordResetConfirmPayload payload = ; // RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthConfirmPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthConfirmPasswordReset");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        RequestPasswordResetConfirmPayload payload = ; // RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthConfirmPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthConfirmPasswordReset");
            e.printStackTrace();
        }
    }
}
RequestPasswordResetConfirmPayload *payload = ; // A backoffice user password reset confirmation payload
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// confirm_password_reset backoffice_auth
[apiInstance backofficeAuthConfirmPasswordResetWith:payload
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(Authorized output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var payload = ; // {RequestPasswordResetConfirmPayload} A backoffice user password reset confirmation payload

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthConfirmPasswordReset(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 backofficeAuthConfirmPasswordResetExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var payload = new RequestPasswordResetConfirmPayload(); // RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // confirm_password_reset backoffice_auth
                Authorized result = apiInstance.backofficeAuthConfirmPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthConfirmPasswordReset: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$payload = ; // RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $result = $api_instance->backofficeAuthConfirmPasswordReset($payload, $acceptLanguage, $organisation, $xForwardedFor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthConfirmPasswordReset: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $payload = WWW::SwaggerClient::Object::RequestPasswordResetConfirmPayload->new(); # RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    my $result = $api_instance->backofficeAuthConfirmPasswordReset(payload => $payload, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthConfirmPasswordReset: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
payload =  # RequestPasswordResetConfirmPayload | A backoffice user password reset confirmation payload
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # confirm_password_reset backoffice_auth
    api_response = api_instance.backoffice_auth_confirm_password_reset(payload, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthConfirmPasswordReset: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String
Body parameters
Name Description
payload *

Responses

Status: 200 - OK

Name Type Format Description
Authorization String Generated JWT
Authorization-Token-Expires String Expiration of the authorization token

Status: 400 - Bad Request


backofficeAuthExtend

extend backoffice_auth

Backoffice extend auth token


/0.0.1/backoffice/auth/extend

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/auth/extend"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    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");

        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthExtend(acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthExtend");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthExtend(acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthExtend");
            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 *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// extend backoffice_auth
[apiInstance backofficeAuthExtendWith:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(Authorized 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.BackofficeAuthApi()

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthExtend(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 backofficeAuthExtendExample
    {
        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 BackofficeAuthApi();
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // extend backoffice_auth
                Authorized result = apiInstance.backofficeAuthExtend(acceptLanguage, organisation, xForwardedFor);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthExtend: " + 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\BackofficeAuthApi();
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $result = $api_instance->backofficeAuthExtend($acceptLanguage, $organisation, $xForwardedFor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthExtend: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

# 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::BackofficeAuthApi->new();
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    my $result = $api_instance->backofficeAuthExtend(acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthExtend: $@\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.BackofficeAuthApi()
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # extend backoffice_auth
    api_response = api_instance.backoffice_auth_extend(acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthExtend: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String

Responses

Status: 200 - OK

Name Type Format Description
Authorization String Generated JWT
Authorization-Token-Expires String Expiration of the authorization token

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthLogin

login backoffice_auth

Backoffice login


/0.0.1/backoffice/login

Usage and SDK Samples

curl -X POST "https://api.quriobot.com/0.0.1/backoffice/login"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        LoginBackofficeAuthPayload payload = ; // LoginBackofficeAuthPayload | 
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthLogin(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLogin");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        LoginBackofficeAuthPayload payload = ; // LoginBackofficeAuthPayload | 
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthLogin(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLogin");
            e.printStackTrace();
        }
    }
}
LoginBackofficeAuthPayload *payload = ; // 
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// login backoffice_auth
[apiInstance backofficeAuthLoginWith:payload
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(Authorized output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var payload = ; // {LoginBackofficeAuthPayload} 

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthLogin(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 backofficeAuthLoginExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var payload = new LoginBackofficeAuthPayload(); // LoginBackofficeAuthPayload | 
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // login backoffice_auth
                Authorized result = apiInstance.backofficeAuthLogin(payload, acceptLanguage, organisation, xForwardedFor);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthLogin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$payload = ; // LoginBackofficeAuthPayload | 
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $result = $api_instance->backofficeAuthLogin($payload, $acceptLanguage, $organisation, $xForwardedFor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthLogin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $payload = WWW::SwaggerClient::Object::LoginBackofficeAuthPayload->new(); # LoginBackofficeAuthPayload | 
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    my $result = $api_instance->backofficeAuthLogin(payload => $payload, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthLogin: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
payload =  # LoginBackofficeAuthPayload | 
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # login backoffice_auth
    api_response = api_instance.backoffice_auth_login(payload, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthLogin: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String
Body parameters
Name Description
payload *

Responses

Status: 200 - OK

Name Type Format Description
Authorization String Generated JWT
Authorization-Token-Expires String Expiration of the authorization token

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthLoginOauthCallback

login_oauth_callback backoffice_auth

Backoffice login oauth callback


/0.0.1/backoffice/login_oauth_callback/{provider}

Usage and SDK Samples

curl -X GET "https://api.quriobot.com/0.0.1/backoffice/login_oauth_callback/{provider}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String provider = provider_example; // String | OAauth provider name
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthLoginOauthCallback(provider, acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginOauthCallback");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String provider = provider_example; // String | OAauth provider name
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthLoginOauthCallback(provider, acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginOauthCallback");
            e.printStackTrace();
        }
    }
}
String *provider = provider_example; // OAauth provider name
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// login_oauth_callback backoffice_auth
[apiInstance backofficeAuthLoginOauthCallbackWith:provider
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var provider = provider_example; // {String} OAauth provider name

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthLoginOauthCallback(provider, opts).then(function() {
  console.log('API called successfully.');
}, 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 backofficeAuthLoginOauthCallbackExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var provider = provider_example;  // String | OAauth provider name
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // login_oauth_callback backoffice_auth
                apiInstance.backofficeAuthLoginOauthCallback(provider, acceptLanguage, organisation, xForwardedFor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthLoginOauthCallback: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$provider = provider_example; // String | OAauth provider name
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $api_instance->backofficeAuthLoginOauthCallback($provider, $acceptLanguage, $organisation, $xForwardedFor);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthCallback: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $provider = provider_example; # String | OAauth provider name
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    $api_instance->backofficeAuthLoginOauthCallback(provider => $provider, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthCallback: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
provider = provider_example # String | OAauth provider name
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # login_oauth_callback backoffice_auth
    api_instance.backoffice_auth_login_oauth_callback(provider, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthCallback: %s\n" % e)

Parameters

Path parameters
Name Description
provider*
String
OAauth provider name
Required
Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String

Responses

Status: 302 - Redirect

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthLoginOauthRequest

login_oauth_request backoffice_auth

Backoffice login oauth request


/0.0.1/backoffice/login_oauth_request/{provider}/{recaptcha_response}

Usage and SDK Samples

curl -X GET "https://api.quriobot.com/0.0.1/backoffice/login_oauth_request/{provider}/{recaptcha_response}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String provider = provider_example; // String | OAauth provider name
        String recaptchaResponse = recaptchaResponse_example; // String | Recaptcha response
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        LoginOauthPayload payload = ; // LoginOauthPayload | A backoffice oauth login payload
        try {
            apiInstance.backofficeAuthLoginOauthRequest(provider, recaptchaResponse, acceptLanguage, organisation, xForwardedFor, payload);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginOauthRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String provider = provider_example; // String | OAauth provider name
        String recaptchaResponse = recaptchaResponse_example; // String | Recaptcha response
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        LoginOauthPayload payload = ; // LoginOauthPayload | A backoffice oauth login payload
        try {
            apiInstance.backofficeAuthLoginOauthRequest(provider, recaptchaResponse, acceptLanguage, organisation, xForwardedFor, payload);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginOauthRequest");
            e.printStackTrace();
        }
    }
}
String *provider = provider_example; // OAauth provider name
String *recaptchaResponse = recaptchaResponse_example; // Recaptcha response
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)
LoginOauthPayload *payload = ; // A backoffice oauth login payload (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// login_oauth_request backoffice_auth
[apiInstance backofficeAuthLoginOauthRequestWith:provider
    recaptchaResponse:recaptchaResponse
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
    payload:payload
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var provider = provider_example; // {String} OAauth provider name

var recaptchaResponse = recaptchaResponse_example; // {String} Recaptcha response

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example, // {String} 
  'payload':  // {LoginOauthPayload} A backoffice oauth login payload
};
api.backofficeAuthLoginOauthRequest(provider, recaptchaResponse, opts).then(function() {
  console.log('API called successfully.');
}, 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 backofficeAuthLoginOauthRequestExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var provider = provider_example;  // String | OAauth provider name
            var recaptchaResponse = recaptchaResponse_example;  // String | Recaptcha response
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 
            var payload = new LoginOauthPayload(); // LoginOauthPayload | A backoffice oauth login payload (optional) 

            try
            {
                // login_oauth_request backoffice_auth
                apiInstance.backofficeAuthLoginOauthRequest(provider, recaptchaResponse, acceptLanguage, organisation, xForwardedFor, payload);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthLoginOauthRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$provider = provider_example; // String | OAauth provider name
$recaptchaResponse = recaptchaResponse_example; // String | Recaptcha response
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 
$payload = ; // LoginOauthPayload | A backoffice oauth login payload

try {
    $api_instance->backofficeAuthLoginOauthRequest($provider, $recaptchaResponse, $acceptLanguage, $organisation, $xForwardedFor, $payload);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $provider = provider_example; # String | OAauth provider name
my $recaptchaResponse = recaptchaResponse_example; # String | Recaptcha response
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 
my $payload = WWW::SwaggerClient::Object::LoginOauthPayload->new(); # LoginOauthPayload | A backoffice oauth login payload

eval { 
    $api_instance->backofficeAuthLoginOauthRequest(provider => $provider, recaptchaResponse => $recaptchaResponse, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor, payload => $payload);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthRequest: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
provider = provider_example # String | OAauth provider name
recaptchaResponse = recaptchaResponse_example # String | Recaptcha response
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)
payload =  # LoginOauthPayload | A backoffice oauth login payload (optional)

try: 
    # login_oauth_request backoffice_auth
    api_instance.backoffice_auth_login_oauth_request(provider, recaptchaResponse, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor, payload=payload)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthLoginOauthRequest: %s\n" % e)

Parameters

Path parameters
Name Description
provider*
String
OAauth provider name
Required
recaptcha_response*
String
Recaptcha response
Required
Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String
Body parameters
Name Description
payload

Responses

Status: 302 - Redirect

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthLoginToken

login_token backoffice_auth

Backoffice login by token


/0.0.1/backoffice/login_token

Usage and SDK Samples

curl -X POST "https://api.quriobot.com/0.0.1/backoffice/login_token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        LoginTokenBackofficeAuthPayload payload = ; // LoginTokenBackofficeAuthPayload | 
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthLoginToken(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginToken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        LoginTokenBackofficeAuthPayload payload = ; // LoginTokenBackofficeAuthPayload | 
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Authorized result = apiInstance.backofficeAuthLoginToken(payload, acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLoginToken");
            e.printStackTrace();
        }
    }
}
LoginTokenBackofficeAuthPayload *payload = ; // 
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// login_token backoffice_auth
[apiInstance backofficeAuthLoginTokenWith:payload
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(Authorized output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var payload = ; // {LoginTokenBackofficeAuthPayload} 

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthLoginToken(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 backofficeAuthLoginTokenExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var payload = new LoginTokenBackofficeAuthPayload(); // LoginTokenBackofficeAuthPayload | 
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // login_token backoffice_auth
                Authorized result = apiInstance.backofficeAuthLoginToken(payload, acceptLanguage, organisation, xForwardedFor);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthLoginToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$payload = ; // LoginTokenBackofficeAuthPayload | 
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $result = $api_instance->backofficeAuthLoginToken($payload, $acceptLanguage, $organisation, $xForwardedFor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthLoginToken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $payload = WWW::SwaggerClient::Object::LoginTokenBackofficeAuthPayload->new(); # LoginTokenBackofficeAuthPayload | 
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    my $result = $api_instance->backofficeAuthLoginToken(payload => $payload, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthLoginToken: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
payload =  # LoginTokenBackofficeAuthPayload | 
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # login_token backoffice_auth
    api_response = api_instance.backoffice_auth_login_token(payload, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthLoginToken: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String
Body parameters
Name Description
payload *

Responses

Status: 200 - OK

Name Type Format Description
Authorization String Generated JWT
Authorization-Token-Expires String Expiration of the authorization token

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthLogout

logout backoffice_auth

Backoffice logout


/0.0.1/backoffice/logout

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.quriobot.com/0.0.1/backoffice/logout"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    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");

        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthLogout(acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLogout");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthLogout(acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthLogout");
            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 *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// logout backoffice_auth
[apiInstance backofficeAuthLogoutWith:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(NSError* error) {
                            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.BackofficeAuthApi()

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthLogout(opts).then(function() {
  console.log('API called successfully.');
}, 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 backofficeAuthLogoutExample
    {
        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 BackofficeAuthApi();
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // logout backoffice_auth
                apiInstance.backofficeAuthLogout(acceptLanguage, organisation, xForwardedFor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthLogout: " + 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\BackofficeAuthApi();
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $api_instance->backofficeAuthLogout($acceptLanguage, $organisation, $xForwardedFor);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthLogout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

# 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::BackofficeAuthApi->new();
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    $api_instance->backofficeAuthLogout(acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthLogout: $@\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.BackofficeAuthApi()
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # logout backoffice_auth
    api_instance.backoffice_auth_logout(acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthLogout: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String

Responses

Status: 204 - No Content

Status: 400 - Bad Request

Status: 401 - Unauthorized


backofficeAuthRecaptcha

recaptcha backoffice_auth

Recaptcha for login


/0.0.1/backoffice/recaptcha

Usage and SDK Samples

curl -X GET "https://api.quriobot.com/0.0.1/backoffice/recaptcha"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Recaptcha result = apiInstance.backofficeAuthRecaptcha(acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthRecaptcha");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            Recaptcha result = apiInstance.backofficeAuthRecaptcha(acceptLanguage, organisation, xForwardedFor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthRecaptcha");
            e.printStackTrace();
        }
    }
}
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// recaptcha backoffice_auth
[apiInstance backofficeAuthRecaptchaWith:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(Recaptcha output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthRecaptcha(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 backofficeAuthRecaptchaExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // recaptcha backoffice_auth
                Recaptcha result = apiInstance.backofficeAuthRecaptcha(acceptLanguage, organisation, xForwardedFor);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthRecaptcha: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $result = $api_instance->backofficeAuthRecaptcha($acceptLanguage, $organisation, $xForwardedFor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthRecaptcha: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    my $result = $api_instance->backofficeAuthRecaptcha(acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthRecaptcha: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # recaptcha backoffice_auth
    api_response = api_instance.backoffice_auth_recaptcha(acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthRecaptcha: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String

Responses

Status: 200 - OK


backofficeAuthRequestPasswordReset

request_password_reset backoffice_auth

Request a password reset.


/0.0.1/backoffice/auth/request_password_reset

Usage and SDK Samples

curl -X POST "https://api.quriobot.com/0.0.1/backoffice/auth/request_password_reset"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BackofficeAuthApi;

import java.io.File;
import java.util.*;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        RequestPasswordResetRequestPayload payload = ; // RequestPasswordResetRequestPayload | A backoffice user password reset request payload
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthRequestPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthRequestPasswordReset");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BackofficeAuthApi;

public class BackofficeAuthApiExample {

    public static void main(String[] args) {
        BackofficeAuthApi apiInstance = new BackofficeAuthApi();
        RequestPasswordResetRequestPayload payload = ; // RequestPasswordResetRequestPayload | A backoffice user password reset request payload
        String acceptLanguage = acceptLanguage_example; // String | 
        String organisation = organisation_example; // String | 
        String xForwardedFor = xForwardedFor_example; // String | 
        try {
            apiInstance.backofficeAuthRequestPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAuthApi#backofficeAuthRequestPasswordReset");
            e.printStackTrace();
        }
    }
}
RequestPasswordResetRequestPayload *payload = ; // A backoffice user password reset request payload
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *organisation = organisation_example; //  (optional)
String *xForwardedFor = xForwardedFor_example; //  (optional)

BackofficeAuthApi *apiInstance = [[BackofficeAuthApi alloc] init];

// request_password_reset backoffice_auth
[apiInstance backofficeAuthRequestPasswordResetWith:payload
    acceptLanguage:acceptLanguage
    organisation:organisation
    xForwardedFor:xForwardedFor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var QuriobotApi = require('quriobot_api');

var api = new QuriobotApi.BackofficeAuthApi()

var payload = ; // {RequestPasswordResetRequestPayload} A backoffice user password reset request payload

var opts = { 
  'acceptLanguage': acceptLanguage_example, // {String} 
  'organisation': organisation_example, // {String} 
  'xForwardedFor': xForwardedFor_example // {String} 
};
api.backofficeAuthRequestPasswordReset(payload, opts).then(function() {
  console.log('API called successfully.');
}, 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 backofficeAuthRequestPasswordResetExample
    {
        public void main()
        {
            
            var apiInstance = new BackofficeAuthApi();
            var payload = new RequestPasswordResetRequestPayload(); // RequestPasswordResetRequestPayload | A backoffice user password reset request payload
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var organisation = organisation_example;  // String |  (optional) 
            var xForwardedFor = xForwardedFor_example;  // String |  (optional) 

            try
            {
                // request_password_reset backoffice_auth
                apiInstance.backofficeAuthRequestPasswordReset(payload, acceptLanguage, organisation, xForwardedFor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAuthApi.backofficeAuthRequestPasswordReset: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BackofficeAuthApi();
$payload = ; // RequestPasswordResetRequestPayload | A backoffice user password reset request payload
$acceptLanguage = acceptLanguage_example; // String | 
$organisation = organisation_example; // String | 
$xForwardedFor = xForwardedFor_example; // String | 

try {
    $api_instance->backofficeAuthRequestPasswordReset($payload, $acceptLanguage, $organisation, $xForwardedFor);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAuthApi->backofficeAuthRequestPasswordReset: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BackofficeAuthApi;

my $api_instance = WWW::SwaggerClient::BackofficeAuthApi->new();
my $payload = WWW::SwaggerClient::Object::RequestPasswordResetRequestPayload->new(); # RequestPasswordResetRequestPayload | A backoffice user password reset request payload
my $acceptLanguage = acceptLanguage_example; # String | 
my $organisation = organisation_example; # String | 
my $xForwardedFor = xForwardedFor_example; # String | 

eval { 
    $api_instance->backofficeAuthRequestPasswordReset(payload => $payload, acceptLanguage => $acceptLanguage, organisation => $organisation, xForwardedFor => $xForwardedFor);
};
if ($@) {
    warn "Exception when calling BackofficeAuthApi->backofficeAuthRequestPasswordReset: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BackofficeAuthApi()
payload =  # RequestPasswordResetRequestPayload | A backoffice user password reset request payload
acceptLanguage = acceptLanguage_example # String |  (optional)
organisation = organisation_example # String |  (optional)
xForwardedFor = xForwardedFor_example # String |  (optional)

try: 
    # request_password_reset backoffice_auth
    api_instance.backoffice_auth_request_password_reset(payload, acceptLanguage=acceptLanguage, organisation=organisation, xForwardedFor=xForwardedFor)
except ApiException as e:
    print("Exception when calling BackofficeAuthApi->backofficeAuthRequestPasswordReset: %s\n" % e)

Parameters

Header parameters
Name Description
Accept-Language
String
Organisation
String
X-Forwarded-For
String
Body parameters
Name Description
payload *

Responses

Status: 204 - No Content

Status: 400 - Bad Request

Status: 404 - Not Found


BackofficeAutocomplete

backofficeAutocompleteList

list backoffice_autocomplete

List autocomplete items


/0.0.1/backoffice/autocomplete/{name}

Usage and SDK Samples

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
        AutoCompleteItemCollectionPayload payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
        String variant = variant_example; // String | Autocomplete entity variant
        String acceptLanguage = acceptLanguage_example; // String | 
        String bot = bot_example; // String | 
        String channel = channel_example; // String | 
        String contact = contact_example; // String | 
        String integration = integration_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.backofficeAutocompleteList(name, payload, variant, acceptLanguage, bot, channel, contact, integration, integrationType, knowledgeBase, organisation, page, permission);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAutocompleteApi#backofficeAutocompleteList");
            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
        AutoCompleteItemCollectionPayload payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
        String variant = variant_example; // String | Autocomplete entity variant
        String acceptLanguage = acceptLanguage_example; // String | 
        String bot = bot_example; // String | 
        String channel = channel_example; // String | 
        String contact = contact_example; // String | 
        String integration = integration_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.backofficeAutocompleteList(name, payload, variant, acceptLanguage, bot, channel, contact, integration, integrationType, knowledgeBase, organisation, page, permission);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BackofficeAutocompleteApi#backofficeAutocompleteList");
            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
AutoCompleteItemCollectionPayload *payload = ; // Auto complete item collection payload
String *variant = variant_example; // Autocomplete entity variant (optional)
String *acceptLanguage = acceptLanguage_example; //  (optional)
String *bot = bot_example; //  (optional)
String *channel = channel_example; //  (optional)
String *contact = contact_example; //  (optional)
String *integration = integration_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 backofficeAutocompleteListWith:name
    payload:payload
    variant:variant
    acceptLanguage:acceptLanguage
    bot:bot
    channel:channel
    contact:contact
    integration:integration
    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 payload = ; // {AutoCompleteItemCollectionPayload} Auto complete item collection payload

var opts = { 
  'variant': variant_example, // {String} Autocomplete entity variant
  'acceptLanguage': acceptLanguage_example, // {String} 
  'bot': bot_example, // {String} 
  'channel': channel_example, // {String} 
  'contact': contact_example, // {String} 
  'integration': integration_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.backofficeAutocompleteList(name, 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 backofficeAutocompleteListExample
    {
        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 payload = new AutoCompleteItemCollectionPayload(); // AutoCompleteItemCollectionPayload | Auto complete item collection payload
            var variant = variant_example;  // String | Autocomplete entity variant (optional) 
            var acceptLanguage = acceptLanguage_example;  // String |  (optional) 
            var bot = bot_example;  // String |  (optional) 
            var channel = channel_example;  // String |  (optional) 
            var contact = contact_example;  // String |  (optional) 
            var integration = integration_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.backofficeAutocompleteList(name, payload, variant, acceptLanguage, bot, channel, contact, integration, integrationType, knowledgeBase, organisation, page, permission);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackofficeAutocompleteApi.backofficeAutocompleteList: " + 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
$payload = ; // AutoCompleteItemCollectionPayload | Auto complete item collection payload
$variant = variant_example; // String | Autocomplete entity variant
$acceptLanguage = acceptLanguage_example; // String | 
$bot = bot_example; // String | 
$channel = channel_example; // String | 
$contact = contact_example; // String | 
$integration = integration_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->backofficeAutocompleteList($name, $payload, $variant, $acceptLanguage, $bot, $channel, $contact, $integration, $integrationType, $knowledgeBase, $organisation, $page, $permission);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList: ', $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 $payload = WWW::SwaggerClient::Object::AutoCompleteItemCollectionPayload->new(); # AutoCompleteItemCollectionPayload | Auto complete item collection payload
my $variant = variant_example; # String | Autocomplete entity variant
my $acceptLanguage = acceptLanguage_example; # String | 
my $bot = bot_example; # String | 
my $channel = channel_example; # String | 
my $contact = contact_example; # String | 
my $integration = integration_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->backofficeAutocompleteList(name => $name, payload => $payload, variant => $variant, acceptLanguage => $acceptLanguage, bot => $bot, channel => $channel, contact => $contact, integration => $integration, integrationType => $integrationType, knowledgeBase => $knowledgeBase, organisation => $organisation, page => $page, permission => $permission);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList: $@\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
payload =  # AutoCompleteItemCollectionPayload | Auto complete item collection payload
variant = variant_example # String | Autocomplete entity variant (optional)
acceptLanguage = acceptLanguage_example # String |  (optional)
bot = bot_example # String |  (optional)
channel = channel_example # String |  (optional)
contact = contact_example # String |  (optional)
integration = integration_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_list(name, payload, variant=variant, acceptLanguage=acceptLanguage, bot=bot, channel=channel, contact=contact, integration=integration, integrationType=integrationType, knowledgeBase=knowledgeBase, organisation=organisation, page=page, permission=permission)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackofficeAutocompleteApi->backofficeAutocompleteList: %s\n" % e)

Parameters

Path parameters
Name Description
name*
String
Autocomplete entity name
Required
Header parameters
Name Description
Accept-Language
String
Bot
String
Channel
String
Contact
String
Integration
String
IntegrationType
String
KnowledgeBase
String
Organisation
String
Page
String
Permission
String
Permission to check for an entity
Body parameters
Name Description
payload *
Query parameters
Name Description
variant
String
Autocomplete entity variant

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 403 - Forbidden

Status: 404 - Not Found


backofficeAutocompleteList1

list backoffice_autocomplete

List autocomplete items


/0.0.1/backoffice/autocomplete/{name}/{variant}

Usage and SDK Samples

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 bot = bot_example; // String | 
        String channel = channel_example; // String | 
        String contact = contact_example; // String | 
        String integration = integration_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, bot, channel, contact, integration, 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 bot = bot_example; // String | 
        String channel = channel_example; // String | 
        String contact = contact_example; // String | 
        String integration = integration_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, bot, channel, contact, integration, 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 *bot = bot_example; //  (optional)
String *channel = channel_example; //  (optional)
String *contact = contact_example; //  (optional)
String *integration = integration_example; //  (optional)
String *integrationType = integrationType_example; //  (optional)
String *knowledgeBase = knowledgeBase_example; //  (optional)