Reputation CRM API

Customer

createCustomerAutomatic

Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (No delay before sending the First Feedback / Review Request)

This API call creates a Customer in Reputation Builder, AND schedules an Automatic Email AND / OR SMS Feedback / Review Request Sequence, WITH NO DELAY BEFORE SENDING THE FIRST FEEDBACK / REVIEW REQUEST, based on settings of the Company / Location -> Notifications -> Email AND SMS Tabs


/createCustomerAutomatic

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/createCustomerAutomatic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            'String' result = apiInstance.createCustomerAutomatic(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerAutomatic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            'String' result = apiInstance.createCustomerAutomatic(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerAutomatic");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *firstname = firstname_example; // Customer First Name
String *lastname = lastname_example; // Customer Last Name
String *country = country_example; // Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

String *sendtype = sendtype_example; // Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
String *email = email_example; // Customer Email (optional)
String *mobile = mobile_example; // Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
String *address = address_example; // Customer Postal Address (optional)
String *zipcode = zipcode_example; // Customer Zipcode (optional)
String *city = city_example; // Customer City (optional)
String *state = state_example; // Customer State / Province / Region (optional)
String *notes = notes_example; // Additional Customer Notes (optional)

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

// Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (No delay before sending the First Feedback / Review Request)
[apiInstance createCustomerAutomaticWith:companyid
    firstname:firstname
    lastname:lastname
    country:country
    language:language
    sendtype:sendtype
    email:email
    mobile:mobile
    address:address
    zipcode:zipcode
    city:city
    state:state
    notes:notes
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID

var firstname = firstname_example; // {String} Customer First Name

var lastname = lastname_example; // {String} Customer Last Name

var country = country_example; // {String} Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt


var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


var sendtype = sendtype_example; // {String} Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"


var opts = { 
  'email': email_example, // {String} Customer Email
  'mobile': mobile_example, // {String} Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

  'address': address_example, // {String} Customer Postal Address
  'zipcode': zipcode_example, // {String} Customer Zipcode
  'city': city_example, // {String} Customer City
  'state': state_example, // {String} Customer State / Province / Region
  'notes': notes_example // {String} Additional Customer Notes
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createCustomerAutomatic(companyid, firstname, lastname, country, language, sendtype, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createCustomerAutomaticExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID
            var firstname = firstname_example;  // String | Customer First Name
            var lastname = lastname_example;  // String | Customer Last Name
            var country = country_example;  // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

            var sendtype = sendtype_example;  // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
            var email = email_example;  // String | Customer Email (optional) 
            var mobile = mobile_example;  // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional) 
            var address = address_example;  // String | Customer Postal Address (optional) 
            var zipcode = zipcode_example;  // String | Customer Zipcode (optional) 
            var city = city_example;  // String | Customer City (optional) 
            var state = state_example;  // String | Customer State / Province / Region (optional) 
            var notes = notes_example;  // String | Additional Customer Notes (optional) 

            try
            {
                // Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (No delay before sending the First Feedback / Review Request)
                'String' result = apiInstance.createCustomerAutomatic(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.createCustomerAutomatic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID
$firstname = firstname_example; // String | Customer First Name
$lastname = lastname_example; // String | Customer Last Name
$country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

$sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

$email = email_example; // String | Customer Email
$mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

$address = address_example; // String | Customer Postal Address
$zipcode = zipcode_example; // String | Customer Zipcode
$city = city_example; // String | Customer City
$state = state_example; // String | Customer State / Province / Region
$notes = notes_example; // String | Additional Customer Notes

try {
    $result = $api_instance->createCustomerAutomatic($companyid, $firstname, $lastname, $country, $language, $sendtype, $email, $mobile, $address, $zipcode, $city, $state, $notes);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerApi->createCustomerAutomatic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID
my $firstname = firstname_example; # String | Customer First Name
my $lastname = lastname_example; # String | Customer Last Name
my $country = country_example; # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

my $sendtype = sendtype_example; # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

my $email = email_example; # String | Customer Email
my $mobile = mobile_example; # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

my $address = address_example; # String | Customer Postal Address
my $zipcode = zipcode_example; # String | Customer Zipcode
my $city = city_example; # String | Customer City
my $state = state_example; # String | Customer State / Province / Region
my $notes = notes_example; # String | Additional Customer Notes

eval { 
    my $result = $api_instance->createCustomerAutomatic(companyid => $companyid, firstname => $firstname, lastname => $lastname, country => $country, language => $language, sendtype => $sendtype, email => $email, mobile => $mobile, address => $address, zipcode => $zipcode, city => $city, state => $state, notes => $notes);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerApi->createCustomerAutomatic: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID
firstname = firstname_example # String | Customer First Name
lastname = lastname_example # String | Customer Last Name
country = country_example # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

sendtype = sendtype_example # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
email = email_example # String | Customer Email (optional)
mobile = mobile_example # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
address = address_example # String | Customer Postal Address (optional)
zipcode = zipcode_example # String | Customer Zipcode (optional)
city = city_example # String | Customer City (optional)
state = state_example # String | Customer State / Province / Region (optional)
notes = notes_example # String | Additional Customer Notes (optional)

try: 
    # Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (No delay before sending the First Feedback / Review Request)
    api_response = api_instance.createCustomerAutomatic(companyid, firstname, lastname, country, language, sendtype, email=email, mobile=mobile, address=address, zipcode=zipcode, city=city, state=state, notes=notes)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerApi->createCustomerAutomatic: %s\n" % e)

Parameters

Form parameters
Name Description
companyid*
firstname*
lastname*
email
mobile
address
zipcode
city
state
country*
language*
sendtype*
notes

Responses

Status: 200 - Successful response


createCustomerAutomaticWithDelayReviewRequest

Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (Set a Delay before sending the First Feedback / Review Request)

This API call creates a Customer in Reputation Builder, AND schedules an Automatic Email AND / OR SMS Feedback / Review Request Sequence, WITH A DELAY BEFORE SENDING THE FIRST FEEDBACK / REVIEW REQUEST, based on settings of the Company / Location -> Notifications -> Email AND SMS Tabs


/createCustomerAutomaticWithDelayReviewRequest

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/createCustomerAutomaticWithDelayReviewRequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; // String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerAutomaticWithDelayReviewRequest(companyid, firstname, lastname, country, language, sendtype, delayBeforeFirstReviewRequest, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerAutomaticWithDelayReviewRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; // String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerAutomaticWithDelayReviewRequest(companyid, firstname, lastname, country, language, sendtype, delayBeforeFirstReviewRequest, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerAutomaticWithDelayReviewRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *firstname = firstname_example; // Customer First Name
String *lastname = lastname_example; // Customer Last Name
String *country = country_example; // Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

String *sendtype = sendtype_example; // Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
String *delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; // Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

String *email = email_example; // Customer Email (optional)
String *mobile = mobile_example; // Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
String *address = address_example; // Customer Postal Address (optional)
String *zipcode = zipcode_example; // Customer Zipcode (optional)
String *city = city_example; // Customer City (optional)
String *state = state_example; // Customer State / Province / Region (optional)
String *notes = notes_example; // Additional Customer Notes (optional)

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

// Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (Set a Delay before sending the First Feedback / Review Request)
[apiInstance createCustomerAutomaticWithDelayReviewRequestWith:companyid
    firstname:firstname
    lastname:lastname
    country:country
    language:language
    sendtype:sendtype
    delayBeforeFirstReviewRequest:delayBeforeFirstReviewRequest
    email:email
    mobile:mobile
    address:address
    zipcode:zipcode
    city:city
    state:state
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID

var firstname = firstname_example; // {String} Customer First Name

var lastname = lastname_example; // {String} Customer Last Name

var country = country_example; // {String} Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt


var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


var sendtype = sendtype_example; // {String} Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"


var delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; // {String} Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")


var opts = { 
  'email': email_example, // {String} Customer Email
  'mobile': mobile_example, // {String} Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

  'address': address_example, // {String} Customer Postal Address
  'zipcode': zipcode_example, // {String} Customer Zipcode
  'city': city_example, // {String} Customer City
  'state': state_example, // {String} Customer State / Province / Region
  'notes': notes_example // {String} Additional Customer Notes
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createCustomerAutomaticWithDelayReviewRequest(companyid, firstname, lastname, country, language, sendtype, delayBeforeFirstReviewRequest, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createCustomerAutomaticWithDelayReviewRequestExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID
            var firstname = firstname_example;  // String | Customer First Name
            var lastname = lastname_example;  // String | Customer Last Name
            var country = country_example;  // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

            var sendtype = sendtype_example;  // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
            var delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example;  // String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

            var email = email_example;  // String | Customer Email (optional) 
            var mobile = mobile_example;  // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional) 
            var address = address_example;  // String | Customer Postal Address (optional) 
            var zipcode = zipcode_example;  // String | Customer Zipcode (optional) 
            var city = city_example;  // String | Customer City (optional) 
            var state = state_example;  // String | Customer State / Province / Region (optional) 
            var notes = notes_example;  // String | Additional Customer Notes (optional) 

            try
            {
                // Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (Set a Delay before sending the First Feedback / Review Request)
                apiInstance.createCustomerAutomaticWithDelayReviewRequest(companyid, firstname, lastname, country, language, sendtype, delayBeforeFirstReviewRequest, email, mobile, address, zipcode, city, state, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.createCustomerAutomaticWithDelayReviewRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID
$firstname = firstname_example; // String | Customer First Name
$lastname = lastname_example; // String | Customer Last Name
$country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

$sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

$delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; // String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

$email = email_example; // String | Customer Email
$mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

$address = address_example; // String | Customer Postal Address
$zipcode = zipcode_example; // String | Customer Zipcode
$city = city_example; // String | Customer City
$state = state_example; // String | Customer State / Province / Region
$notes = notes_example; // String | Additional Customer Notes

try {
    $api_instance->createCustomerAutomaticWithDelayReviewRequest($companyid, $firstname, $lastname, $country, $language, $sendtype, $delayBeforeFirstReviewRequest, $email, $mobile, $address, $zipcode, $city, $state, $notes);
} catch (Exception $e) {
    echo 'Exception when calling CustomerApi->createCustomerAutomaticWithDelayReviewRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID
my $firstname = firstname_example; # String | Customer First Name
my $lastname = lastname_example; # String | Customer Last Name
my $country = country_example; # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

my $sendtype = sendtype_example; # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

my $delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example; # String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

my $email = email_example; # String | Customer Email
my $mobile = mobile_example; # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

my $address = address_example; # String | Customer Postal Address
my $zipcode = zipcode_example; # String | Customer Zipcode
my $city = city_example; # String | Customer City
my $state = state_example; # String | Customer State / Province / Region
my $notes = notes_example; # String | Additional Customer Notes

eval { 
    $api_instance->createCustomerAutomaticWithDelayReviewRequest(companyid => $companyid, firstname => $firstname, lastname => $lastname, country => $country, language => $language, sendtype => $sendtype, delayBeforeFirstReviewRequest => $delayBeforeFirstReviewRequest, email => $email, mobile => $mobile, address => $address, zipcode => $zipcode, city => $city, state => $state, notes => $notes);
};
if ($@) {
    warn "Exception when calling CustomerApi->createCustomerAutomaticWithDelayReviewRequest: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID
firstname = firstname_example # String | Customer First Name
lastname = lastname_example # String | Customer Last Name
country = country_example # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

sendtype = sendtype_example # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
delayBeforeFirstReviewRequest = delayBeforeFirstReviewRequest_example # String | Delay before sending the first Feedback / Review Request (Allowed values: "immediately", "X minute", "X hour", "X day", "X week", "X month", "X year")

email = email_example # String | Customer Email (optional)
mobile = mobile_example # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
address = address_example # String | Customer Postal Address (optional)
zipcode = zipcode_example # String | Customer Zipcode (optional)
city = city_example # String | Customer City (optional)
state = state_example # String | Customer State / Province / Region (optional)
notes = notes_example # String | Additional Customer Notes (optional)

try: 
    # Create a Customer AND a Feedback / Review Request Sequence with Automatic Scheduling (Set a Delay before sending the First Feedback / Review Request)
    api_instance.createCustomerAutomaticWithDelayReviewRequest(companyid, firstname, lastname, country, language, sendtype, delayBeforeFirstReviewRequest, email=email, mobile=mobile, address=address, zipcode=zipcode, city=city, state=state, notes=notes)
except ApiException as e:
    print("Exception when calling CustomerApi->createCustomerAutomaticWithDelayReviewRequest: %s\n" % e)

Parameters

Form parameters
Name Description
companyid*
firstname*
lastname*
email
mobile
address
zipcode
city
state
country*
language*
sendtype*
notes
delayBeforeFirstReviewRequest*

Responses

Status: 200 - Successful response


createCustomerImmediateFirstReviewRequest

Create a Customer AND Feedback / Review Requests

This API call creates a Customer in Reputation Builder AND Feedback / Review Request #1 (Email #1 AND/OR SMS #1 ONLY). Feedback / Review Request(s) are then sent immediately


/createCustomerImmediateFirstReviewRequest

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/createCustomerImmediateFirstReviewRequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerImmediateFirstReviewRequest(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerImmediateFirstReviewRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerImmediateFirstReviewRequest(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerImmediateFirstReviewRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *firstname = firstname_example; // Customer First Name
String *lastname = lastname_example; // Customer Last Name
String *country = country_example; // Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

String *sendtype = sendtype_example; // Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
String *email = email_example; // Customer Email (optional)
String *mobile = mobile_example; // Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
String *address = address_example; // Customer Postal Address (optional)
String *zipcode = zipcode_example; // Customer Zipcode (optional)
String *city = city_example; // Customer City (optional)
String *state = state_example; // Customer State / Province / Region (optional)
String *notes = notes_example; // Additional Customer Notes (optional)

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

// Create a Customer AND Feedback / Review Requests
[apiInstance createCustomerImmediateFirstReviewRequestWith:companyid
    firstname:firstname
    lastname:lastname
    country:country
    language:language
    sendtype:sendtype
    email:email
    mobile:mobile
    address:address
    zipcode:zipcode
    city:city
    state:state
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID

var firstname = firstname_example; // {String} Customer First Name

var lastname = lastname_example; // {String} Customer Last Name

var country = country_example; // {String} Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt


var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


var sendtype = sendtype_example; // {String} Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"


var opts = { 
  'email': email_example, // {String} Customer Email
  'mobile': mobile_example, // {String} Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

  'address': address_example, // {String} Customer Postal Address
  'zipcode': zipcode_example, // {String} Customer Zipcode
  'city': city_example, // {String} Customer City
  'state': state_example, // {String} Customer State / Province / Region
  'notes': notes_example // {String} Additional Customer Notes
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createCustomerImmediateFirstReviewRequest(companyid, firstname, lastname, country, language, sendtype, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createCustomerImmediateFirstReviewRequestExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID
            var firstname = firstname_example;  // String | Customer First Name
            var lastname = lastname_example;  // String | Customer Last Name
            var country = country_example;  // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

            var sendtype = sendtype_example;  // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
            var email = email_example;  // String | Customer Email (optional) 
            var mobile = mobile_example;  // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional) 
            var address = address_example;  // String | Customer Postal Address (optional) 
            var zipcode = zipcode_example;  // String | Customer Zipcode (optional) 
            var city = city_example;  // String | Customer City (optional) 
            var state = state_example;  // String | Customer State / Province / Region (optional) 
            var notes = notes_example;  // String | Additional Customer Notes (optional) 

            try
            {
                // Create a Customer AND Feedback / Review Requests
                apiInstance.createCustomerImmediateFirstReviewRequest(companyid, firstname, lastname, country, language, sendtype, email, mobile, address, zipcode, city, state, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.createCustomerImmediateFirstReviewRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID
$firstname = firstname_example; // String | Customer First Name
$lastname = lastname_example; // String | Customer Last Name
$country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

$sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

$email = email_example; // String | Customer Email
$mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

$address = address_example; // String | Customer Postal Address
$zipcode = zipcode_example; // String | Customer Zipcode
$city = city_example; // String | Customer City
$state = state_example; // String | Customer State / Province / Region
$notes = notes_example; // String | Additional Customer Notes

try {
    $api_instance->createCustomerImmediateFirstReviewRequest($companyid, $firstname, $lastname, $country, $language, $sendtype, $email, $mobile, $address, $zipcode, $city, $state, $notes);
} catch (Exception $e) {
    echo 'Exception when calling CustomerApi->createCustomerImmediateFirstReviewRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID
my $firstname = firstname_example; # String | Customer First Name
my $lastname = lastname_example; # String | Customer Last Name
my $country = country_example; # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

my $sendtype = sendtype_example; # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

my $email = email_example; # String | Customer Email
my $mobile = mobile_example; # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

my $address = address_example; # String | Customer Postal Address
my $zipcode = zipcode_example; # String | Customer Zipcode
my $city = city_example; # String | Customer City
my $state = state_example; # String | Customer State / Province / Region
my $notes = notes_example; # String | Additional Customer Notes

eval { 
    $api_instance->createCustomerImmediateFirstReviewRequest(companyid => $companyid, firstname => $firstname, lastname => $lastname, country => $country, language => $language, sendtype => $sendtype, email => $email, mobile => $mobile, address => $address, zipcode => $zipcode, city => $city, state => $state, notes => $notes);
};
if ($@) {
    warn "Exception when calling CustomerApi->createCustomerImmediateFirstReviewRequest: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID
firstname = firstname_example # String | Customer First Name
lastname = lastname_example # String | Customer Last Name
country = country_example # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

sendtype = sendtype_example # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
email = email_example # String | Customer Email (optional)
mobile = mobile_example # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
address = address_example # String | Customer Postal Address (optional)
zipcode = zipcode_example # String | Customer Zipcode (optional)
city = city_example # String | Customer City (optional)
state = state_example # String | Customer State / Province / Region (optional)
notes = notes_example # String | Additional Customer Notes (optional)

try: 
    # Create a Customer AND Feedback / Review Requests
    api_instance.createCustomerImmediateFirstReviewRequest(companyid, firstname, lastname, country, language, sendtype, email=email, mobile=mobile, address=address, zipcode=zipcode, city=city, state=state, notes=notes)
except ApiException as e:
    print("Exception when calling CustomerApi->createCustomerImmediateFirstReviewRequest: %s\n" % e)

Parameters

Form parameters
Name Description
companyid*
firstname*
lastname*
email
mobile
address
zipcode
city
state
country*
language*
sendtype*
notes

Responses

Status: 200 - Successful response


createCustomerManualScheduleOneReviewRequest

Create a Customer AND a one Feedback / Review Request (Manual Scheduling)

This API call creates a Customer in Reputation Builder AND one Feedback / Review Request. You decide which Feedback / Review Request # to send, the sending method (Email or SMS) and you have full control of the sending date and time


/createCustomerManualScheduleOneReviewRequest

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/createCustomerManualScheduleOneReviewRequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

        String scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerManualScheduleOneReviewRequest(companyid, firstname, lastname, country, language, sendtype, emailnumber, smsnumber, scheduledate, scheduletime, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerManualScheduleOneReviewRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

        String emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

        String scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        String notes = notes_example; // String | Additional Customer Notes
        try {
            apiInstance.createCustomerManualScheduleOneReviewRequest(companyid, firstname, lastname, country, language, sendtype, emailnumber, smsnumber, scheduledate, scheduletime, email, mobile, address, zipcode, city, state, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#createCustomerManualScheduleOneReviewRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *firstname = firstname_example; // Customer First Name
String *lastname = lastname_example; // Customer Last Name
String *country = country_example; // Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

String *sendtype = sendtype_example; // Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
String *emailnumber = emailnumber_example; // Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
String *smsnumber = smsnumber_example; // Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
String *scheduledate = scheduledate_example; // Schedule date (yyyy/mm/dd)

String *scheduletime = scheduletime_example; // Schedule time (HH:MM 24 hours format)

String *email = email_example; // Customer Email (optional)
String *mobile = mobile_example; // Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
String *address = address_example; // Customer Postal Address (optional)
String *zipcode = zipcode_example; // Customer Zipcode (optional)
String *city = city_example; // Customer City (optional)
String *state = state_example; // Customer State / Province / Region (optional)
String *notes = notes_example; // Additional Customer Notes (optional)

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

// Create a Customer AND a one Feedback / Review Request (Manual Scheduling)
[apiInstance createCustomerManualScheduleOneReviewRequestWith:companyid
    firstname:firstname
    lastname:lastname
    country:country
    language:language
    sendtype:sendtype
    emailnumber:emailnumber
    smsnumber:smsnumber
    scheduledate:scheduledate
    scheduletime:scheduletime
    email:email
    mobile:mobile
    address:address
    zipcode:zipcode
    city:city
    state:state
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID

var firstname = firstname_example; // {String} Customer First Name

var lastname = lastname_example; // {String} Customer Last Name

var country = country_example; // {String} Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt


var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


var sendtype = sendtype_example; // {String} Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"


var emailnumber = emailnumber_example; // {String} Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")


var smsnumber = smsnumber_example; // {String} Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")


var scheduledate = scheduledate_example; // {String} Schedule date (yyyy/mm/dd)


var scheduletime = scheduletime_example; // {String} Schedule time (HH:MM 24 hours format)


var opts = { 
  'email': email_example, // {String} Customer Email
  'mobile': mobile_example, // {String} Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

  'address': address_example, // {String} Customer Postal Address
  'zipcode': zipcode_example, // {String} Customer Zipcode
  'city': city_example, // {String} Customer City
  'state': state_example, // {String} Customer State / Province / Region
  'notes': notes_example // {String} Additional Customer Notes
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createCustomerManualScheduleOneReviewRequest(companyid, firstname, lastname, country, language, sendtype, emailnumber, smsnumber, scheduledate, scheduletime, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createCustomerManualScheduleOneReviewRequestExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID
            var firstname = firstname_example;  // String | Customer First Name
            var lastname = lastname_example;  // String | Customer Last Name
            var country = country_example;  // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

            var sendtype = sendtype_example;  // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
            var emailnumber = emailnumber_example;  // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
            var smsnumber = smsnumber_example;  // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
            var scheduledate = scheduledate_example;  // String | Schedule date (yyyy/mm/dd)

            var scheduletime = scheduletime_example;  // String | Schedule time (HH:MM 24 hours format)

            var email = email_example;  // String | Customer Email (optional) 
            var mobile = mobile_example;  // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional) 
            var address = address_example;  // String | Customer Postal Address (optional) 
            var zipcode = zipcode_example;  // String | Customer Zipcode (optional) 
            var city = city_example;  // String | Customer City (optional) 
            var state = state_example;  // String | Customer State / Province / Region (optional) 
            var notes = notes_example;  // String | Additional Customer Notes (optional) 

            try
            {
                // Create a Customer AND a one Feedback / Review Request (Manual Scheduling)
                apiInstance.createCustomerManualScheduleOneReviewRequest(companyid, firstname, lastname, country, language, sendtype, emailnumber, smsnumber, scheduledate, scheduletime, email, mobile, address, zipcode, city, state, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.createCustomerManualScheduleOneReviewRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID
$firstname = firstname_example; // String | Customer First Name
$lastname = lastname_example; // String | Customer Last Name
$country = country_example; // String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

$sendtype = sendtype_example; // String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

$emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

$smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

$scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

$scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

$email = email_example; // String | Customer Email
$mobile = mobile_example; // String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

$address = address_example; // String | Customer Postal Address
$zipcode = zipcode_example; // String | Customer Zipcode
$city = city_example; // String | Customer City
$state = state_example; // String | Customer State / Province / Region
$notes = notes_example; // String | Additional Customer Notes

try {
    $api_instance->createCustomerManualScheduleOneReviewRequest($companyid, $firstname, $lastname, $country, $language, $sendtype, $emailnumber, $smsnumber, $scheduledate, $scheduletime, $email, $mobile, $address, $zipcode, $city, $state, $notes);
} catch (Exception $e) {
    echo 'Exception when calling CustomerApi->createCustomerManualScheduleOneReviewRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID
my $firstname = firstname_example; # String | Customer First Name
my $lastname = lastname_example; # String | Customer Last Name
my $country = country_example; # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

my $sendtype = sendtype_example; # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"

my $emailnumber = emailnumber_example; # String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

my $smsnumber = smsnumber_example; # String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

my $scheduledate = scheduledate_example; # String | Schedule date (yyyy/mm/dd)

my $scheduletime = scheduletime_example; # String | Schedule time (HH:MM 24 hours format)

my $email = email_example; # String | Customer Email
my $mobile = mobile_example; # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input

my $address = address_example; # String | Customer Postal Address
my $zipcode = zipcode_example; # String | Customer Zipcode
my $city = city_example; # String | Customer City
my $state = state_example; # String | Customer State / Province / Region
my $notes = notes_example; # String | Additional Customer Notes

eval { 
    $api_instance->createCustomerManualScheduleOneReviewRequest(companyid => $companyid, firstname => $firstname, lastname => $lastname, country => $country, language => $language, sendtype => $sendtype, emailnumber => $emailnumber, smsnumber => $smsnumber, scheduledate => $scheduledate, scheduletime => $scheduletime, email => $email, mobile => $mobile, address => $address, zipcode => $zipcode, city => $city, state => $state, notes => $notes);
};
if ($@) {
    warn "Exception when calling CustomerApi->createCustomerManualScheduleOneReviewRequest: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID
firstname = firstname_example # String | Customer First Name
lastname = lastname_example # String | Customer Last Name
country = country_example # String | Customer Country: has to be set to the name of the Country in its original language. Eg: Spain = España. Download the sql file of all countries: https://reputationcrm.com/api/repcrm-api-docs/countries.txt

language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

sendtype = sendtype_example # String | Feedback / Review Requests Sending Method (1 = Send via Email, 2 = Send via SMS, 1,2 = Send via Email AND SMS) Allowed values: "1", "2", "1,2"
 (default to 1)
emailnumber = emailnumber_example # String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
smsnumber = smsnumber_example # String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
scheduledate = scheduledate_example # String | Schedule date (yyyy/mm/dd)

scheduletime = scheduletime_example # String | Schedule time (HH:MM 24 hours format)

email = email_example # String | Customer Email (optional)
mobile = mobile_example # String | Customer Mobile Phone #: The Mobile Phone # must be formatted in its international version. Eg: +33647523335 (+33 = Country Code for France). No leading Zero on Mobile Phone # usually (NOTE: some countries might a leading zero). Here is an excellent script for mobile number formatting: https://github.com/jackocnr/intl-tel-input
 (optional)
address = address_example # String | Customer Postal Address (optional)
zipcode = zipcode_example # String | Customer Zipcode (optional)
city = city_example # String | Customer City (optional)
state = state_example # String | Customer State / Province / Region (optional)
notes = notes_example # String | Additional Customer Notes (optional)

try: 
    # Create a Customer AND a one Feedback / Review Request (Manual Scheduling)
    api_instance.createCustomerManualScheduleOneReviewRequest(companyid, firstname, lastname, country, language, sendtype, emailnumber, smsnumber, scheduledate, scheduletime, email=email, mobile=mobile, address=address, zipcode=zipcode, city=city, state=state, notes=notes)
except ApiException as e:
    print("Exception when calling CustomerApi->createCustomerManualScheduleOneReviewRequest: %s\n" % e)

Parameters

Form parameters
Name Description
companyid*
firstname*
lastname*
email
mobile
address
zipcode
city
state
country*
language*
sendtype*
notes
emailnumber*
smsnumber*
scheduledate*
scheduletime*

Responses

Status: 200 - Successful response


deleteCustomer

Delete ONE Customer record

This API call deletes an existing Customer from Reputation Builder. It will also delete all Email / SMS Requests still in the Queue


/deleteCustomer

Usage and SDK Samples

curl -X delete -H "key: [[apiKey]]" "https://reputationcrm.com/v2/deleteCustomer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            apiInstance.deleteCustomer(customerid);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#deleteCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            apiInstance.deleteCustomer(customerid);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#deleteCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID

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

// Delete ONE Customer record
[apiInstance deleteCustomerWith:customerid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var customerid = customerid_example; // {String} Customer ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteCustomer(customerid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var customerid = customerid_example;  // String | Customer ID

            try
            {
                // Delete ONE Customer record
                apiInstance.deleteCustomer(customerid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.deleteCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$customerid = customerid_example; // String | Customer ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $customerid = customerid_example; # String | Customer ID

eval { 
    $api_instance->deleteCustomer(customerid => $customerid);
};
if ($@) {
    warn "Exception when calling CustomerApi->deleteCustomer: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
customerid = customerid_example # String | Customer ID

try: 
    # Delete ONE Customer record
    api_instance.deleteCustomer(customerid)
except ApiException as e:
    print("Exception when calling CustomerApi->deleteCustomer: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*

Responses

Status: 200 - Successful response


getAllCustomersBycompanyId

Get Information on ALL Customers of a Company / Location / Feedback Page

This API call returns information from Reputation Builder on ALL existing Customers of a Company / Location / Feedback Page


/getAllCustomersBycompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getAllCustomersBycompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[Customer] result = apiInstance.getAllCustomersBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getAllCustomersBycompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[Customer] result = apiInstance.getAllCustomersBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getAllCustomersBycompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get Information on ALL Customers of a Company / Location / Feedback Page
[apiInstance getAllCustomersBycompanyIdWith:companyid
              completionHandler: ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllCustomersBycompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllCustomersBycompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get Information on ALL Customers of a Company / Location / Feedback Page
                array[Customer] result = apiInstance.getAllCustomersBycompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.getAllCustomersBycompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getAllCustomersBycompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerApi->getAllCustomersBycompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID

try: 
    # Get Information on ALL Customers of a Company / Location / Feedback Page
    api_response = api_instance.getAllCustomersBycompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerApi->getAllCustomersBycompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getCustomersWhoHaveNotYetSubmittedReview

Get a list of Customers who have not yet submitted their Review / Feedback

This API call returns the list of Customers of a Company / Location / Feedback Page who have not yet responded to Feedback / Review Requests


/getCustomersWhoHaveNotYetSubmittedReview

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getCustomersWhoHaveNotYetSubmittedReview?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[CustomerWhoHaveNotResponded] result = apiInstance.getCustomersWhoHaveNotYetSubmittedReview(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getCustomersWhoHaveNotYetSubmittedReview");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[CustomerWhoHaveNotResponded] result = apiInstance.getCustomersWhoHaveNotYetSubmittedReview(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getCustomersWhoHaveNotYetSubmittedReview");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get a list of Customers who have not yet submitted their Review / Feedback
[apiInstance getCustomersWhoHaveNotYetSubmittedReviewWith:companyid
              completionHandler: ^(array[CustomerWhoHaveNotResponded] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCustomersWhoHaveNotYetSubmittedReview(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCustomersWhoHaveNotYetSubmittedReviewExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get a list of Customers who have not yet submitted their Review / Feedback
                array[CustomerWhoHaveNotResponded] result = apiInstance.getCustomersWhoHaveNotYetSubmittedReview(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.getCustomersWhoHaveNotYetSubmittedReview: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getCustomersWhoHaveNotYetSubmittedReview(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerApi->getCustomersWhoHaveNotYetSubmittedReview: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
companyid = companyid_example # String | Company ID

try: 
    # Get a list of Customers who have not yet submitted their Review / Feedback
    api_response = api_instance.getCustomersWhoHaveNotYetSubmittedReview(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerApi->getCustomersWhoHaveNotYetSubmittedReview: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getSingleCustomer

Get Information of ONE Customer

This API call returns information from Reputation Builder on ONE existing Customer


/getSingleCustomer

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getSingleCustomer?customerid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[Customer] result = apiInstance.getSingleCustomer(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getSingleCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[Customer] result = apiInstance.getSingleCustomer(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#getSingleCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID

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

// Get Information of ONE Customer
[apiInstance getSingleCustomerWith:customerid
              completionHandler: ^(array[Customer] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var customerid = customerid_example; // {String} Customer ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSingleCustomer(customerid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSingleCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var customerid = customerid_example;  // String | Customer ID

            try
            {
                // Get Information of ONE Customer
                array[Customer] result = apiInstance.getSingleCustomer(customerid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.getSingleCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$customerid = customerid_example; // String | Customer ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $customerid = customerid_example; # String | Customer ID

eval { 
    my $result = $api_instance->getSingleCustomer(customerid => $customerid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerApi->getSingleCustomer: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
customerid = customerid_example # String | Customer ID

try: 
    # Get Information of ONE Customer
    api_response = api_instance.getSingleCustomer(customerid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerApi->getSingleCustomer: %s\n" % e)

Parameters

Query parameters
Name Description
customerid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


updateCustomer

Update the record of ONE Customer

This API call updates information from Reputation Builder on ONE existing Customer


/updateCustomer

Usage and SDK Samples

curl -X put -H "key: [[apiKey]]" "https://reputationcrm.com/v2/updateCustomer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerApi;

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

public class CustomerApiExample {

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

        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country
        String language = language_example; // String | Customer Language
        String notes = notes_example; // String | Additional Customer Notes
        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone
        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        try {
            apiInstance.updateCustomer(customerid, firstname, lastname, country, language, notes, email, mobile, address, zipcode, city, state);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerApi;

public class CustomerApiExample {

    public static void main(String[] args) {
        CustomerApi apiInstance = new CustomerApi();
        String customerid = customerid_example; // String | Customer ID
        String firstname = firstname_example; // String | Customer First Name
        String lastname = lastname_example; // String | Customer Last Name
        String country = country_example; // String | Customer Country
        String language = language_example; // String | Customer Language
        String notes = notes_example; // String | Additional Customer Notes
        String email = email_example; // String | Customer Email
        String mobile = mobile_example; // String | Customer Mobile Phone
        String address = address_example; // String | Customer Postal Address
        String zipcode = zipcode_example; // String | Customer Zipcode
        String city = city_example; // String | Customer City
        String state = state_example; // String | Customer State / Province / Region
        try {
            apiInstance.updateCustomer(customerid, firstname, lastname, country, language, notes, email, mobile, address, zipcode, city, state);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerApi#updateCustomer");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID
String *firstname = firstname_example; // Customer First Name
String *lastname = lastname_example; // Customer Last Name
String *country = country_example; // Customer Country
String *language = language_example; // Customer Language
String *notes = notes_example; // Additional Customer Notes
String *email = email_example; // Customer Email (optional)
String *mobile = mobile_example; // Customer Mobile Phone (optional)
String *address = address_example; // Customer Postal Address (optional)
String *zipcode = zipcode_example; // Customer Zipcode (optional)
String *city = city_example; // Customer City (optional)
String *state = state_example; // Customer State / Province / Region (optional)

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

// Update the record of ONE Customer
[apiInstance updateCustomerWith:customerid
    firstname:firstname
    lastname:lastname
    country:country
    language:language
    notes:notes
    email:email
    mobile:mobile
    address:address
    zipcode:zipcode
    city:city
    state:state
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.CustomerApi()

var customerid = customerid_example; // {String} Customer ID

var firstname = firstname_example; // {String} Customer First Name

var lastname = lastname_example; // {String} Customer Last Name

var country = country_example; // {String} Customer Country

var language = language_example; // {String} Customer Language

var notes = notes_example; // {String} Additional Customer Notes

var opts = { 
  'email': email_example, // {String} Customer Email
  'mobile': mobile_example, // {String} Customer Mobile Phone
  'address': address_example, // {String} Customer Postal Address
  'zipcode': zipcode_example, // {String} Customer Zipcode
  'city': city_example, // {String} Customer City
  'state': state_example // {String} Customer State / Province / Region
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateCustomer(customerid, firstname, lastname, country, language, notes, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateCustomerExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new CustomerApi();
            var customerid = customerid_example;  // String | Customer ID
            var firstname = firstname_example;  // String | Customer First Name
            var lastname = lastname_example;  // String | Customer Last Name
            var country = country_example;  // String | Customer Country
            var language = language_example;  // String | Customer Language
            var notes = notes_example;  // String | Additional Customer Notes
            var email = email_example;  // String | Customer Email (optional) 
            var mobile = mobile_example;  // String | Customer Mobile Phone (optional) 
            var address = address_example;  // String | Customer Postal Address (optional) 
            var zipcode = zipcode_example;  // String | Customer Zipcode (optional) 
            var city = city_example;  // String | Customer City (optional) 
            var state = state_example;  // String | Customer State / Province / Region (optional) 

            try
            {
                // Update the record of ONE Customer
                apiInstance.updateCustomer(customerid, firstname, lastname, country, language, notes, email, mobile, address, zipcode, city, state);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerApi.updateCustomer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\CustomerApi();
$customerid = customerid_example; // String | Customer ID
$firstname = firstname_example; // String | Customer First Name
$lastname = lastname_example; // String | Customer Last Name
$country = country_example; // String | Customer Country
$language = language_example; // String | Customer Language
$notes = notes_example; // String | Additional Customer Notes
$email = email_example; // String | Customer Email
$mobile = mobile_example; // String | Customer Mobile Phone
$address = address_example; // String | Customer Postal Address
$zipcode = zipcode_example; // String | Customer Zipcode
$city = city_example; // String | Customer City
$state = state_example; // String | Customer State / Province / Region

try {
    $api_instance->updateCustomer($customerid, $firstname, $lastname, $country, $language, $notes, $email, $mobile, $address, $zipcode, $city, $state);
} catch (Exception $e) {
    echo 'Exception when calling CustomerApi->updateCustomer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::CustomerApi->new();
my $customerid = customerid_example; # String | Customer ID
my $firstname = firstname_example; # String | Customer First Name
my $lastname = lastname_example; # String | Customer Last Name
my $country = country_example; # String | Customer Country
my $language = language_example; # String | Customer Language
my $notes = notes_example; # String | Additional Customer Notes
my $email = email_example; # String | Customer Email
my $mobile = mobile_example; # String | Customer Mobile Phone
my $address = address_example; # String | Customer Postal Address
my $zipcode = zipcode_example; # String | Customer Zipcode
my $city = city_example; # String | Customer City
my $state = state_example; # String | Customer State / Province / Region

eval { 
    $api_instance->updateCustomer(customerid => $customerid, firstname => $firstname, lastname => $lastname, country => $country, language => $language, notes => $notes, email => $email, mobile => $mobile, address => $address, zipcode => $zipcode, city => $city, state => $state);
};
if ($@) {
    warn "Exception when calling CustomerApi->updateCustomer: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CustomerApi()
customerid = customerid_example # String | Customer ID
firstname = firstname_example # String | Customer First Name
lastname = lastname_example # String | Customer Last Name
country = country_example # String | Customer Country
language = language_example # String | Customer Language
notes = notes_example # String | Additional Customer Notes
email = email_example # String | Customer Email (optional)
mobile = mobile_example # String | Customer Mobile Phone (optional)
address = address_example # String | Customer Postal Address (optional)
zipcode = zipcode_example # String | Customer Zipcode (optional)
city = city_example # String | Customer City (optional)
state = state_example # String | Customer State / Province / Region (optional)

try: 
    # Update the record of ONE Customer
    api_instance.updateCustomer(customerid, firstname, lastname, country, language, notes, email=email, mobile=mobile, address=address, zipcode=zipcode, city=city, state=state)
except ApiException as e:
    print("Exception when calling CustomerApi->updateCustomer: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*
firstname*
lastname*
email
mobile
address
zipcode
city
state
country*
language*
notes*

Responses

Status: 200 - Successful response


EmailSMSStats

getEmailSmsSentCount

Email / SMS sent

Email / SMS sent


/getEmailSmsSentCount

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getEmailSmsSentCount?username="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EmailSMSStatsApi;

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

public class EmailSMSStatsApiExample {

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

        EmailSMSStatsApi apiInstance = new EmailSMSStatsApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[EmailSmsSentCount] result = apiInstance.getEmailSmsSentCount(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmailSMSStatsApi#getEmailSmsSentCount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EmailSMSStatsApi;

public class EmailSMSStatsApiExample {

    public static void main(String[] args) {
        EmailSMSStatsApi apiInstance = new EmailSMSStatsApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[EmailSmsSentCount] result = apiInstance.getEmailSmsSentCount(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmailSMSStatsApi#getEmailSmsSentCount");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address

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

// Email / SMS sent
[apiInstance getEmailSmsSentCountWith:username
              completionHandler: ^(array[EmailSmsSentCount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.EmailSMSStatsApi()

var username = username_example; // {String} User Name or Email address


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getEmailSmsSentCount(username, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getEmailSmsSentCountExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new EmailSMSStatsApi();
            var username = username_example;  // String | User Name or Email address

            try
            {
                // Email / SMS sent
                array[EmailSmsSentCount] result = apiInstance.getEmailSmsSentCount(username);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EmailSMSStatsApi.getEmailSmsSentCount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\EmailSMSStatsApi();
$username = username_example; // String | User Name or Email address

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EmailSMSStatsApi->new();
my $username = username_example; # String | User Name or Email address

eval { 
    my $result = $api_instance->getEmailSmsSentCount(username => $username);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EmailSMSStatsApi->getEmailSmsSentCount: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EmailSMSStatsApi()
username = username_example # String | User Name or Email address

try: 
    # Email / SMS sent
    api_response = api_instance.getEmailSmsSentCount(username)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EmailSMSStatsApi->getEmailSmsSentCount: %s\n" % e)

Parameters

Query parameters
Name Description
username*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getEmailSmsSentLimit

Email / SMS Limit

Email / SMS Limit


/getEmailSmsSentLimit

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getEmailSmsSentLimit?username="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EmailSMSStatsApi;

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

public class EmailSMSStatsApiExample {

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

        EmailSMSStatsApi apiInstance = new EmailSMSStatsApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[EmailSmsSentLimit] result = apiInstance.getEmailSmsSentLimit(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmailSMSStatsApi#getEmailSmsSentLimit");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EmailSMSStatsApi;

public class EmailSMSStatsApiExample {

    public static void main(String[] args) {
        EmailSMSStatsApi apiInstance = new EmailSMSStatsApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[EmailSmsSentLimit] result = apiInstance.getEmailSmsSentLimit(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EmailSMSStatsApi#getEmailSmsSentLimit");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address

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

// Email / SMS Limit
[apiInstance getEmailSmsSentLimitWith:username
              completionHandler: ^(array[EmailSmsSentLimit] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.EmailSMSStatsApi()

var username = username_example; // {String} User Name or Email address


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getEmailSmsSentLimit(username, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getEmailSmsSentLimitExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new EmailSMSStatsApi();
            var username = username_example;  // String | User Name or Email address

            try
            {
                // Email / SMS Limit
                array[EmailSmsSentLimit] result = apiInstance.getEmailSmsSentLimit(username);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EmailSMSStatsApi.getEmailSmsSentLimit: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\EmailSMSStatsApi();
$username = username_example; // String | User Name or Email address

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EmailSMSStatsApi->new();
my $username = username_example; # String | User Name or Email address

eval { 
    my $result = $api_instance->getEmailSmsSentLimit(username => $username);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EmailSMSStatsApi->getEmailSmsSentLimit: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EmailSMSStatsApi()
username = username_example # String | User Name or Email address

try: 
    # Email / SMS Limit
    api_response = api_instance.getEmailSmsSentLimit(username)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EmailSMSStatsApi->getEmailSmsSentLimit: %s\n" % e)

Parameters

Query parameters
Name Description
username*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


Queue

deleteQueueByCustomerId

Delete requests of a customer

Delete requests of a customer


/deleteQueueByCustomerId

Usage and SDK Samples

curl -X delete -H "key: [[apiKey]]" "https://reputationcrm.com/v2/deleteQueueByCustomerId"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.QueueApi;

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

public class QueueApiExample {

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

        QueueApi apiInstance = new QueueApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            apiInstance.deleteQueueByCustomerId(customerid);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#deleteQueueByCustomerId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.QueueApi;

public class QueueApiExample {

    public static void main(String[] args) {
        QueueApi apiInstance = new QueueApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            apiInstance.deleteQueueByCustomerId(customerid);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#deleteQueueByCustomerId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID

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

// Delete requests of a customer
[apiInstance deleteQueueByCustomerIdWith:customerid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.QueueApi()

var customerid = customerid_example; // {String} Customer ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteQueueByCustomerId(customerid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteQueueByCustomerIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new QueueApi();
            var customerid = customerid_example;  // String | Customer ID

            try
            {
                // Delete requests of a customer
                apiInstance.deleteQueueByCustomerId(customerid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling QueueApi.deleteQueueByCustomerId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\QueueApi();
$customerid = customerid_example; // String | Customer ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::QueueApi->new();
my $customerid = customerid_example; # String | Customer ID

eval { 
    $api_instance->deleteQueueByCustomerId(customerid => $customerid);
};
if ($@) {
    warn "Exception when calling QueueApi->deleteQueueByCustomerId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.QueueApi()
customerid = customerid_example # String | Customer ID

try: 
    # Delete requests of a customer
    api_instance.deleteQueueByCustomerId(customerid)
except ApiException as e:
    print("Exception when calling QueueApi->deleteQueueByCustomerId: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*

Responses

Status: 200 - Successful response


deleteQueueBycompanyId

Delete requests of a company

Delete requests of a company


/deleteQueueBycompanyId

Usage and SDK Samples

curl -X delete -H "key: [[apiKey]]" "https://reputationcrm.com/v2/deleteQueueBycompanyId"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.QueueApi;

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

public class QueueApiExample {

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

        QueueApi apiInstance = new QueueApi();
        String companyid = companyid_example; // String | Company ID
        try {
            apiInstance.deleteQueueBycompanyId(companyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#deleteQueueBycompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.QueueApi;

public class QueueApiExample {

    public static void main(String[] args) {
        QueueApi apiInstance = new QueueApi();
        String companyid = companyid_example; // String | Company ID
        try {
            apiInstance.deleteQueueBycompanyId(companyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#deleteQueueBycompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Delete requests of a company
[apiInstance deleteQueueBycompanyIdWith:companyid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.QueueApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteQueueBycompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteQueueBycompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new QueueApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Delete requests of a company
                apiInstance.deleteQueueBycompanyId(companyid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling QueueApi.deleteQueueBycompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\QueueApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::QueueApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    $api_instance->deleteQueueBycompanyId(companyid => $companyid);
};
if ($@) {
    warn "Exception when calling QueueApi->deleteQueueBycompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.QueueApi()
companyid = companyid_example # String | Company ID

try: 
    # Delete requests of a company
    api_instance.deleteQueueBycompanyId(companyid)
except ApiException as e:
    print("Exception when calling QueueApi->deleteQueueBycompanyId: %s\n" % e)

Parameters

Form parameters
Name Description
companyid*

Responses

Status: 200 - Successful response


getQueueBycompanyId

Get a customer’s queue

Get a customer’s queue


/getQueueBycompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getQueueBycompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.QueueApi;

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

public class QueueApiExample {

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

        QueueApi apiInstance = new QueueApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[Queue] result = apiInstance.getQueueBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#getQueueBycompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.QueueApi;

public class QueueApiExample {

    public static void main(String[] args) {
        QueueApi apiInstance = new QueueApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[Queue] result = apiInstance.getQueueBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#getQueueBycompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get a customer’s queue
[apiInstance getQueueBycompanyIdWith:companyid
              completionHandler: ^(array[Queue] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.QueueApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getQueueBycompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getQueueBycompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new QueueApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get a customer’s queue
                array[Queue] result = apiInstance.getQueueBycompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling QueueApi.getQueueBycompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\QueueApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::QueueApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getQueueBycompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling QueueApi->getQueueBycompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.QueueApi()
companyid = companyid_example # String | Company ID

try: 
    # Get a customer’s queue
    api_response = api_instance.getQueueBycompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling QueueApi->getQueueBycompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getSingleCustomerQueue

Get a customer’s queue

Get a customer’s queue


/getQueueByCustomerId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getQueueByCustomerId?customerid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.QueueApi;

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

public class QueueApiExample {

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

        QueueApi apiInstance = new QueueApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[Queue] result = apiInstance.getSingleCustomerQueue(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#getSingleCustomerQueue");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.QueueApi;

public class QueueApiExample {

    public static void main(String[] args) {
        QueueApi apiInstance = new QueueApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[Queue] result = apiInstance.getSingleCustomerQueue(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QueueApi#getSingleCustomerQueue");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID

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

// Get a customer’s queue
[apiInstance getSingleCustomerQueueWith:customerid
              completionHandler: ^(array[Queue] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.QueueApi()

var customerid = customerid_example; // {String} Customer ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSingleCustomerQueue(customerid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSingleCustomerQueueExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new QueueApi();
            var customerid = customerid_example;  // String | Customer ID

            try
            {
                // Get a customer’s queue
                array[Queue] result = apiInstance.getSingleCustomerQueue(customerid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling QueueApi.getSingleCustomerQueue: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\QueueApi();
$customerid = customerid_example; // String | Customer ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::QueueApi->new();
my $customerid = customerid_example; # String | Customer ID

eval { 
    my $result = $api_instance->getSingleCustomerQueue(customerid => $customerid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling QueueApi->getSingleCustomerQueue: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.QueueApi()
customerid = customerid_example # String | Customer ID

try: 
    # Get a customer’s queue
    api_response = api_instance.getSingleCustomerQueue(customerid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling QueueApi->getSingleCustomerQueue: %s\n" % e)

Parameters

Query parameters
Name Description
customerid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


Reschedule

rescheduleCustomerAutomatic

Reschedule Customer (Automatic)

Reschedule Customer (Automatic)


/rescheduleCustomerAutomatic

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/rescheduleCustomerAutomatic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RescheduleApi;

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

public class RescheduleApiExample {

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

        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        try {
            apiInstance.rescheduleCustomerAutomatic(customerid, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleCustomerAutomatic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RescheduleApi;

public class RescheduleApiExample {

    public static void main(String[] args) {
        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        try {
            apiInstance.rescheduleCustomerAutomatic(customerid, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleCustomerAutomatic");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID
String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


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

// Reschedule Customer (Automatic)
[apiInstance rescheduleCustomerAutomaticWith:customerid
    language:language
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.RescheduleApi()

var customerid = customerid_example; // {String} Customer ID

var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rescheduleCustomerAutomatic(customerid, language, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rescheduleCustomerAutomaticExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new RescheduleApi();
            var customerid = customerid_example;  // String | Customer ID
            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


            try
            {
                // Reschedule Customer (Automatic)
                apiInstance.rescheduleCustomerAutomatic(customerid, language);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RescheduleApi.rescheduleCustomerAutomatic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\RescheduleApi();
$customerid = customerid_example; // String | Customer ID
$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


try {
    $api_instance->rescheduleCustomerAutomatic($customerid, $language);
} catch (Exception $e) {
    echo 'Exception when calling RescheduleApi->rescheduleCustomerAutomatic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RescheduleApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RescheduleApi->new();
my $customerid = customerid_example; # String | Customer ID
my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


eval { 
    $api_instance->rescheduleCustomerAutomatic(customerid => $customerid, language => $language);
};
if ($@) {
    warn "Exception when calling RescheduleApi->rescheduleCustomerAutomatic: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RescheduleApi()
customerid = customerid_example # String | Customer ID
language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


try: 
    # Reschedule Customer (Automatic)
    api_instance.rescheduleCustomerAutomatic(customerid, language)
except ApiException as e:
    print("Exception when calling RescheduleApi->rescheduleCustomerAutomatic: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*
language*

Responses

Status: 200 - Successful response


rescheduleCustomerImmediate

Reschedule Customer (Send right away)

Reschedule Customer (Send right away)


/rescheduleCustomerImmediate

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/rescheduleCustomerImmediate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RescheduleApi;

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

public class RescheduleApiExample {

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

        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        try {
            apiInstance.rescheduleCustomerImmediate(customerid, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleCustomerImmediate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RescheduleApi;

public class RescheduleApiExample {

    public static void main(String[] args) {
        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        try {
            apiInstance.rescheduleCustomerImmediate(customerid, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleCustomerImmediate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID
String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


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

// Reschedule Customer (Send right away)
[apiInstance rescheduleCustomerImmediateWith:customerid
    language:language
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.RescheduleApi()

var customerid = customerid_example; // {String} Customer ID

var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rescheduleCustomerImmediate(customerid, language, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rescheduleCustomerImmediateExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new RescheduleApi();
            var customerid = customerid_example;  // String | Customer ID
            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


            try
            {
                // Reschedule Customer (Send right away)
                apiInstance.rescheduleCustomerImmediate(customerid, language);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RescheduleApi.rescheduleCustomerImmediate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\RescheduleApi();
$customerid = customerid_example; // String | Customer ID
$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


try {
    $api_instance->rescheduleCustomerImmediate($customerid, $language);
} catch (Exception $e) {
    echo 'Exception when calling RescheduleApi->rescheduleCustomerImmediate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RescheduleApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RescheduleApi->new();
my $customerid = customerid_example; # String | Customer ID
my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


eval { 
    $api_instance->rescheduleCustomerImmediate(customerid => $customerid, language => $language);
};
if ($@) {
    warn "Exception when calling RescheduleApi->rescheduleCustomerImmediate: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RescheduleApi()
customerid = customerid_example # String | Customer ID
language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


try: 
    # Reschedule Customer (Send right away)
    api_instance.rescheduleCustomerImmediate(customerid, language)
except ApiException as e:
    print("Exception when calling RescheduleApi->rescheduleCustomerImmediate: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*
language*

Responses

Status: 200 - Successful response


rescheduleManualOneReviewRequest

Reschedule Customer (Manual Schedule)

Reschedule Customer (Manual Schedule)


/rescheduleManualOneReviewRequest

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/rescheduleManualOneReviewRequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RescheduleApi;

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

public class RescheduleApiExample {

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

        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

        String scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

        String emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        try {
            apiInstance.rescheduleManualOneReviewRequest(customerid, language, scheduledate, scheduletime, emailnumber, smsnumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleManualOneReviewRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RescheduleApi;

public class RescheduleApiExample {

    public static void main(String[] args) {
        RescheduleApi apiInstance = new RescheduleApi();
        String customerid = customerid_example; // String | Customer ID
        String language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

        String scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

        String scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

        String emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        String smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")

        try {
            apiInstance.rescheduleManualOneReviewRequest(customerid, language, scheduledate, scheduletime, emailnumber, smsnumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling RescheduleApi#rescheduleManualOneReviewRequest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID
String *language = language_example; // Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

String *scheduledate = scheduledate_example; // Schedule date (yyyy/mm/dd)

String *scheduletime = scheduletime_example; // Schedule time (HH:MM 24 hours format)

String *emailnumber = emailnumber_example; // Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
String *smsnumber = smsnumber_example; // Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)

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

// Reschedule Customer (Manual Schedule)
[apiInstance rescheduleManualOneReviewRequestWith:customerid
    language:language
    scheduledate:scheduledate
    scheduletime:scheduletime
    emailnumber:emailnumber
    smsnumber:smsnumber
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.RescheduleApi()

var customerid = customerid_example; // {String} Customer ID

var language = language_example; // {String} Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages


var scheduledate = scheduledate_example; // {String} Schedule date (yyyy/mm/dd)


var scheduletime = scheduletime_example; // {String} Schedule time (HH:MM 24 hours format)


var emailnumber = emailnumber_example; // {String} Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")


var smsnumber = smsnumber_example; // {String} Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rescheduleManualOneReviewRequest(customerid, language, scheduledate, scheduletime, emailnumber, smsnumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rescheduleManualOneReviewRequestExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new RescheduleApi();
            var customerid = customerid_example;  // String | Customer ID
            var language = language_example;  // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

            var scheduledate = scheduledate_example;  // String | Schedule date (yyyy/mm/dd)

            var scheduletime = scheduletime_example;  // String | Schedule time (HH:MM 24 hours format)

            var emailnumber = emailnumber_example;  // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
            var smsnumber = smsnumber_example;  // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)

            try
            {
                // Reschedule Customer (Manual Schedule)
                apiInstance.rescheduleManualOneReviewRequest(customerid, language, scheduledate, scheduletime, emailnumber, smsnumber);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RescheduleApi.rescheduleManualOneReviewRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\RescheduleApi();
$customerid = customerid_example; // String | Customer ID
$language = language_example; // String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

$scheduledate = scheduledate_example; // String | Schedule date (yyyy/mm/dd)

$scheduletime = scheduletime_example; // String | Schedule time (HH:MM 24 hours format)

$emailnumber = emailnumber_example; // String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

$smsnumber = smsnumber_example; // String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")


try {
    $api_instance->rescheduleManualOneReviewRequest($customerid, $language, $scheduledate, $scheduletime, $emailnumber, $smsnumber);
} catch (Exception $e) {
    echo 'Exception when calling RescheduleApi->rescheduleManualOneReviewRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RescheduleApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RescheduleApi->new();
my $customerid = customerid_example; # String | Customer ID
my $language = language_example; # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

my $scheduledate = scheduledate_example; # String | Schedule date (yyyy/mm/dd)

my $scheduletime = scheduletime_example; # String | Schedule time (HH:MM 24 hours format)

my $emailnumber = emailnumber_example; # String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")

my $smsnumber = smsnumber_example; # String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")


eval { 
    $api_instance->rescheduleManualOneReviewRequest(customerid => $customerid, language => $language, scheduledate => $scheduledate, scheduletime => $scheduletime, emailnumber => $emailnumber, smsnumber => $smsnumber);
};
if ($@) {
    warn "Exception when calling RescheduleApi->rescheduleManualOneReviewRequest: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RescheduleApi()
customerid = customerid_example # String | Customer ID
language = language_example # String | Customer Language (Language 2 letter ISO code: en, fr, es, it...). For a complete list of supported languages, please check: https://reputationaegis.com/en/features/supported-languages

scheduledate = scheduledate_example # String | Schedule date (yyyy/mm/dd)

scheduletime = scheduletime_example # String | Schedule time (HH:MM 24 hours format)

emailnumber = emailnumber_example # String | Set which Email Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)
smsnumber = smsnumber_example # String | Set which SMS Feedback / Requests will be sent (Allowed values: "1", "2", "3")
 (default to 1)

try: 
    # Reschedule Customer (Manual Schedule)
    api_instance.rescheduleManualOneReviewRequest(customerid, language, scheduledate, scheduletime, emailnumber, smsnumber)
except ApiException as e:
    print("Exception when calling RescheduleApi->rescheduleManualOneReviewRequest: %s\n" % e)

Parameters

Form parameters
Name Description
customerid*
language*
scheduledate*
scheduletime*
emailnumber*
smsnumber*

Responses

Status: 200 - Successful response


ReviewSites

getAllReviewSitesByUserName

Get all review sites of an account

Get all review sites of an account


/getAllReviewSitesByUserName

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getAllReviewSitesByUserName?username="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewSitesApi;

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

public class ReviewSitesApiExample {

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

        ReviewSitesApi apiInstance = new ReviewSitesApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[ReviewSites] result = apiInstance.getAllReviewSitesByUserName(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewSitesApi#getAllReviewSitesByUserName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewSitesApi;

public class ReviewSitesApiExample {

    public static void main(String[] args) {
        ReviewSitesApi apiInstance = new ReviewSitesApi();
        String username = username_example; // String | User Name or Email address
        try {
            array[ReviewSites] result = apiInstance.getAllReviewSitesByUserName(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewSitesApi#getAllReviewSitesByUserName");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address

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

// Get all review sites of an account
[apiInstance getAllReviewSitesByUserNameWith:username
              completionHandler: ^(array[ReviewSites] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewSitesApi()

var username = username_example; // {String} User Name or Email address


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllReviewSitesByUserName(username, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllReviewSitesByUserNameExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewSitesApi();
            var username = username_example;  // String | User Name or Email address

            try
            {
                // Get all review sites of an account
                array[ReviewSites] result = apiInstance.getAllReviewSitesByUserName(username);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewSitesApi.getAllReviewSitesByUserName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewSitesApi();
$username = username_example; // String | User Name or Email address

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewSitesApi->new();
my $username = username_example; # String | User Name or Email address

eval { 
    my $result = $api_instance->getAllReviewSitesByUserName(username => $username);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewSitesApi->getAllReviewSitesByUserName: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewSitesApi()
username = username_example # String | User Name or Email address

try: 
    # Get all review sites of an account
    api_response = api_instance.getAllReviewSitesByUserName(username)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewSitesApi->getAllReviewSitesByUserName: %s\n" % e)

Parameters

Query parameters
Name Description
username*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getAllReviewSitesBycompanyId

Get all review sites of a company

Get all review sites of a company


/getAllReviewSitesBycompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getAllReviewSitesBycompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewSitesApi;

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

public class ReviewSitesApiExample {

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

        ReviewSitesApi apiInstance = new ReviewSitesApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSites] result = apiInstance.getAllReviewSitesBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewSitesApi#getAllReviewSitesBycompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewSitesApi;

public class ReviewSitesApiExample {

    public static void main(String[] args) {
        ReviewSitesApi apiInstance = new ReviewSitesApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSites] result = apiInstance.getAllReviewSitesBycompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewSitesApi#getAllReviewSitesBycompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get all review sites of a company
[apiInstance getAllReviewSitesBycompanyIdWith:companyid
              completionHandler: ^(array[ReviewSites] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewSitesApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllReviewSitesBycompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllReviewSitesBycompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewSitesApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get all review sites of a company
                array[ReviewSites] result = apiInstance.getAllReviewSitesBycompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewSitesApi.getAllReviewSitesBycompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewSitesApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewSitesApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getAllReviewSitesBycompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewSitesApi->getAllReviewSitesBycompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewSitesApi()
companyid = companyid_example # String | Company ID

try: 
    # Get all review sites of a company
    api_response = api_instance.getAllReviewSitesBycompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewSitesApi->getAllReviewSitesBycompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


Reviews

getReviewsByCompanyID

Get X last reviews less than X days old of a company

Get X last reviews less than X days old (For example, last 100 reviews that are less than 365 days old)


/getReviewsByCompanyID

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByCompanyID?companyid=&howManyReviews=&lastHowManyDays="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        try {
            array[Review] result = apiInstance.getReviewsByCompanyID(companyid, howManyReviews, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        try {
            array[Review] result = apiInstance.getReviewsByCompanyID(companyid, howManyReviews, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back

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

// Get X last reviews less than X days old of a company
[apiInstance getReviewsByCompanyIDWith:companyid
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var companyid = companyid_example; // {String} Company ID

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByCompanyID(companyid, howManyReviews, lastHowManyDays, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByCompanyIDExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var companyid = companyid_example;  // String | Company ID
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back

            try
            {
                // Get X last reviews less than X days old of a company
                array[Review] result = apiInstance.getReviewsByCompanyID(companyid, howManyReviews, lastHowManyDays);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByCompanyID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$companyid = companyid_example; // String | Company ID
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back

try {
    $result = $api_instance->getReviewsByCompanyID($companyid, $howManyReviews, $lastHowManyDays);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByCompanyID: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $companyid = companyid_example; # String | Company ID
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back

eval { 
    my $result = $api_instance->getReviewsByCompanyID(companyid => $companyid, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByCompanyID: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
companyid = companyid_example # String | Company ID
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back

try: 
    # Get X last reviews less than X days old of a company
    api_response = api_instance.getReviewsByCompanyID(companyid, howManyReviews, lastHowManyDays)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByCompanyID: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*
howManyReviews*
lastHowManyDays*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByCompanyIDAndReviewSite

Get X last reviews less than X days old of a review site of a company

Get X last reviews less than X days old of a review site (For example, Google reviews…)


/getReviewsByCompanyIDAndReviewSite

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByCompanyIDAndReviewSite?companyid=&howManyReviews=&lastHowManyDays=&reviewsSite="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIDAndReviewSite(companyid, howManyReviews, lastHowManyDays, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIDAndReviewSite");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIDAndReviewSite(companyid, howManyReviews, lastHowManyDays, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIDAndReviewSite");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back
String *reviewsSite = reviewsSite_example; // Review site name

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

// Get X last reviews less than X days old of a review site of a company
[apiInstance getReviewsByCompanyIDAndReviewSiteWith:companyid
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
    reviewsSite:reviewsSite
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var companyid = companyid_example; // {String} Company ID

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back

var reviewsSite = reviewsSite_example; // {String} Review site name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByCompanyIDAndReviewSite(companyid, howManyReviews, lastHowManyDays, reviewsSite, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByCompanyIDAndReviewSiteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var companyid = companyid_example;  // String | Company ID
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back
            var reviewsSite = reviewsSite_example;  // String | Review site name

            try
            {
                // Get X last reviews less than X days old of a review site of a company
                array[Review] result = apiInstance.getReviewsByCompanyIDAndReviewSite(companyid, howManyReviews, lastHowManyDays, reviewsSite);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByCompanyIDAndReviewSite: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$companyid = companyid_example; // String | Company ID
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back
$reviewsSite = reviewsSite_example; // String | Review site name

try {
    $result = $api_instance->getReviewsByCompanyIDAndReviewSite($companyid, $howManyReviews, $lastHowManyDays, $reviewsSite);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByCompanyIDAndReviewSite: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $companyid = companyid_example; # String | Company ID
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back
my $reviewsSite = reviewsSite_example; # String | Review site name

eval { 
    my $result = $api_instance->getReviewsByCompanyIDAndReviewSite(companyid => $companyid, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays, reviewsSite => $reviewsSite);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByCompanyIDAndReviewSite: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
companyid = companyid_example # String | Company ID
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back
reviewsSite = reviewsSite_example # String | Review site name

try: 
    # Get X last reviews less than X days old of a review site of a company
    api_response = api_instance.getReviewsByCompanyIDAndReviewSite(companyid, howManyReviews, lastHowManyDays, reviewsSite)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByCompanyIDAndReviewSite: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*
howManyReviews*
lastHowManyDays*
reviewsSite*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByCompanyIDRatingAndReviewSite

Get X last reviews that equal or over X stars of a review site of a company

Get X last reviews that equal or over X stars of a review site (For example, Google reviews…)


/getReviewsByCompanyIDRatingAndReviewSite

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByCompanyIDRatingAndReviewSite?companyid=&howManyReviews=&minimumRatings=&reviewsSite="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIDRatingAndReviewSite(companyid, howManyReviews, minimumRatings, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIDRatingAndReviewSite");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIDRatingAndReviewSite(companyid, howManyReviews, minimumRatings, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIDRatingAndReviewSite");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *howManyReviews = howManyReviews_example; // How many reviews
String *minimumRatings = minimumRatings_example; // Minimum review rating (reviews that are equal or over minimumRatings stars)
String *reviewsSite = reviewsSite_example; // Review site name

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

// Get X last reviews that equal or over X stars of a review site of a company
[apiInstance getReviewsByCompanyIDRatingAndReviewSiteWith:companyid
    howManyReviews:howManyReviews
    minimumRatings:minimumRatings
    reviewsSite:reviewsSite
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var companyid = companyid_example; // {String} Company ID

var howManyReviews = howManyReviews_example; // {String} How many reviews

var minimumRatings = minimumRatings_example; // {String} Minimum review rating (reviews that are equal or over minimumRatings stars)

var reviewsSite = reviewsSite_example; // {String} Review site name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByCompanyIDRatingAndReviewSite(companyid, howManyReviews, minimumRatings, reviewsSite, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByCompanyIDRatingAndReviewSiteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var companyid = companyid_example;  // String | Company ID
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var minimumRatings = minimumRatings_example;  // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
            var reviewsSite = reviewsSite_example;  // String | Review site name

            try
            {
                // Get X last reviews that equal or over X stars of a review site of a company
                array[Review] result = apiInstance.getReviewsByCompanyIDRatingAndReviewSite(companyid, howManyReviews, minimumRatings, reviewsSite);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByCompanyIDRatingAndReviewSite: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$companyid = companyid_example; // String | Company ID
$howManyReviews = howManyReviews_example; // String | How many reviews
$minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
$reviewsSite = reviewsSite_example; // String | Review site name

try {
    $result = $api_instance->getReviewsByCompanyIDRatingAndReviewSite($companyid, $howManyReviews, $minimumRatings, $reviewsSite);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByCompanyIDRatingAndReviewSite: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $companyid = companyid_example; # String | Company ID
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $minimumRatings = minimumRatings_example; # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
my $reviewsSite = reviewsSite_example; # String | Review site name

eval { 
    my $result = $api_instance->getReviewsByCompanyIDRatingAndReviewSite(companyid => $companyid, howManyReviews => $howManyReviews, minimumRatings => $minimumRatings, reviewsSite => $reviewsSite);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByCompanyIDRatingAndReviewSite: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
companyid = companyid_example # String | Company ID
howManyReviews = howManyReviews_example # String | How many reviews
minimumRatings = minimumRatings_example # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
reviewsSite = reviewsSite_example # String | Review site name

try: 
    # Get X last reviews that equal or over X stars of a review site of a company
    api_response = api_instance.getReviewsByCompanyIDRatingAndReviewSite(companyid, howManyReviews, minimumRatings, reviewsSite)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByCompanyIDRatingAndReviewSite: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*
howManyReviews*
minimumRatings*
reviewsSite*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByCompanyIdAndRating

Get X last reviews that equal or over X stars of a company

Get X last reviews that between X stars (For example, last 50 reviews between 2 to 5 stars)


/getReviewsByCompanyIdAndRating

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByCompanyIdAndRating?companyid=&howManyReviews=&lastHowManyDays=&minimumRatings=&maximumRatings="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String maximumRatings = maximumRatings_example; // String | Maximum review rating
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIdAndRating(companyid, howManyReviews, lastHowManyDays, minimumRatings, maximumRatings);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIdAndRating");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String companyid = companyid_example; // String | Company ID
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String maximumRatings = maximumRatings_example; // String | Maximum review rating
        try {
            array[Review] result = apiInstance.getReviewsByCompanyIdAndRating(companyid, howManyReviews, lastHowManyDays, minimumRatings, maximumRatings);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByCompanyIdAndRating");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back
String *minimumRatings = minimumRatings_example; // Minimum review rating (reviews that are equal or over minimumRatings stars)
String *maximumRatings = maximumRatings_example; // Maximum review rating

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

// Get X last reviews that equal or over X stars of a company
[apiInstance getReviewsByCompanyIdAndRatingWith:companyid
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
    minimumRatings:minimumRatings
    maximumRatings:maximumRatings
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var companyid = companyid_example; // {String} Company ID

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back

var minimumRatings = minimumRatings_example; // {String} Minimum review rating (reviews that are equal or over minimumRatings stars)

var maximumRatings = maximumRatings_example; // {String} Maximum review rating


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByCompanyIdAndRating(companyid, howManyReviews, lastHowManyDays, minimumRatings, maximumRatings, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByCompanyIdAndRatingExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var companyid = companyid_example;  // String | Company ID
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back
            var minimumRatings = minimumRatings_example;  // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
            var maximumRatings = maximumRatings_example;  // String | Maximum review rating

            try
            {
                // Get X last reviews that equal or over X stars of a company
                array[Review] result = apiInstance.getReviewsByCompanyIdAndRating(companyid, howManyReviews, lastHowManyDays, minimumRatings, maximumRatings);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByCompanyIdAndRating: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$companyid = companyid_example; // String | Company ID
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back
$minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
$maximumRatings = maximumRatings_example; // String | Maximum review rating

try {
    $result = $api_instance->getReviewsByCompanyIdAndRating($companyid, $howManyReviews, $lastHowManyDays, $minimumRatings, $maximumRatings);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByCompanyIdAndRating: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $companyid = companyid_example; # String | Company ID
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back
my $minimumRatings = minimumRatings_example; # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
my $maximumRatings = maximumRatings_example; # String | Maximum review rating

eval { 
    my $result = $api_instance->getReviewsByCompanyIdAndRating(companyid => $companyid, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays, minimumRatings => $minimumRatings, maximumRatings => $maximumRatings);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByCompanyIdAndRating: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
companyid = companyid_example # String | Company ID
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back
minimumRatings = minimumRatings_example # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
maximumRatings = maximumRatings_example # String | Maximum review rating

try: 
    # Get X last reviews that equal or over X stars of a company
    api_response = api_instance.getReviewsByCompanyIdAndRating(companyid, howManyReviews, lastHowManyDays, minimumRatings, maximumRatings)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByCompanyIdAndRating: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*
howManyReviews*
lastHowManyDays*
minimumRatings*
maximumRatings*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByUserName

Get X last reviews less than X days old of an account

Get X last reviews less than X days old (For example, last 100 reviews that are less than 365 days old)


/getReviewsByUserName

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByUserName?username=&howManyReviews=&lastHowManyDays="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        try {
            array[Review] result = apiInstance.getReviewsByUserName(username, howManyReviews, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        try {
            array[Review] result = apiInstance.getReviewsByUserName(username, howManyReviews, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserName");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back

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

// Get X last reviews less than X days old of an account
[apiInstance getReviewsByUserNameWith:username
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var username = username_example; // {String} User Name or Email address

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByUserName(username, howManyReviews, lastHowManyDays, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByUserNameExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var username = username_example;  // String | User Name or Email address
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back

            try
            {
                // Get X last reviews less than X days old of an account
                array[Review] result = apiInstance.getReviewsByUserName(username, howManyReviews, lastHowManyDays);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByUserName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$username = username_example; // String | User Name or Email address
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back

try {
    $result = $api_instance->getReviewsByUserName($username, $howManyReviews, $lastHowManyDays);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByUserName: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $username = username_example; # String | User Name or Email address
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back

eval { 
    my $result = $api_instance->getReviewsByUserName(username => $username, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByUserName: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
username = username_example # String | User Name or Email address
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back

try: 
    # Get X last reviews less than X days old of an account
    api_response = api_instance.getReviewsByUserName(username, howManyReviews, lastHowManyDays)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByUserName: %s\n" % e)

Parameters

Query parameters
Name Description
username*
howManyReviews*
lastHowManyDays*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByUserNameAndRating

Get X last reviews that equal or over X stars of an account

Get X last reviews that equal or over X stars (For example, last 50 reviews that are equal or over 4 stars)


/getReviewsByUserNameAndRating

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByUserNameAndRating?username=&howManyReviews=&lastHowManyDays=&minimumRatings="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        try {
            array[Review] result = apiInstance.getReviewsByUserNameAndRating(username, howManyReviews, lastHowManyDays, minimumRatings);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameAndRating");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        try {
            array[Review] result = apiInstance.getReviewsByUserNameAndRating(username, howManyReviews, lastHowManyDays, minimumRatings);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameAndRating");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back
String *minimumRatings = minimumRatings_example; // Minimum review rating (reviews that are equal or over minimumRatings stars)

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

// Get X last reviews that equal or over X stars of an account
[apiInstance getReviewsByUserNameAndRatingWith:username
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
    minimumRatings:minimumRatings
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var username = username_example; // {String} User Name or Email address

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back

var minimumRatings = minimumRatings_example; // {String} Minimum review rating (reviews that are equal or over minimumRatings stars)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByUserNameAndRating(username, howManyReviews, lastHowManyDays, minimumRatings, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByUserNameAndRatingExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var username = username_example;  // String | User Name or Email address
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back
            var minimumRatings = minimumRatings_example;  // String | Minimum review rating (reviews that are equal or over minimumRatings stars)

            try
            {
                // Get X last reviews that equal or over X stars of an account
                array[Review] result = apiInstance.getReviewsByUserNameAndRating(username, howManyReviews, lastHowManyDays, minimumRatings);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByUserNameAndRating: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$username = username_example; // String | User Name or Email address
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back
$minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)

try {
    $result = $api_instance->getReviewsByUserNameAndRating($username, $howManyReviews, $lastHowManyDays, $minimumRatings);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByUserNameAndRating: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $username = username_example; # String | User Name or Email address
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back
my $minimumRatings = minimumRatings_example; # String | Minimum review rating (reviews that are equal or over minimumRatings stars)

eval { 
    my $result = $api_instance->getReviewsByUserNameAndRating(username => $username, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays, minimumRatings => $minimumRatings);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByUserNameAndRating: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
username = username_example # String | User Name or Email address
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back
minimumRatings = minimumRatings_example # String | Minimum review rating (reviews that are equal or over minimumRatings stars)

try: 
    # Get X last reviews that equal or over X stars of an account
    api_response = api_instance.getReviewsByUserNameAndRating(username, howManyReviews, lastHowManyDays, minimumRatings)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByUserNameAndRating: %s\n" % e)

Parameters

Query parameters
Name Description
username*
howManyReviews*
lastHowManyDays*
minimumRatings*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByUserNameAndReviewSite

Get X last reviews less than X days old of a review site of an account

Get X last reviews less than X days old of a review site (For Example, Google reviews…)


/getReviewsByUserNameAndReviewSite

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByUserNameAndReviewSite?username=&howManyReviews=&lastHowManyDays=&reviewsSite="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByUserNameAndReviewSite(username, howManyReviews, lastHowManyDays, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameAndReviewSite");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String lastHowManyDays = lastHowManyDays_example; // String | How many days back
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByUserNameAndReviewSite(username, howManyReviews, lastHowManyDays, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameAndReviewSite");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address
String *howManyReviews = howManyReviews_example; // How many reviews
String *lastHowManyDays = lastHowManyDays_example; // How many days back
String *reviewsSite = reviewsSite_example; // Review site name

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

// Get X last reviews less than X days old of a review site of an account
[apiInstance getReviewsByUserNameAndReviewSiteWith:username
    howManyReviews:howManyReviews
    lastHowManyDays:lastHowManyDays
    reviewsSite:reviewsSite
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var username = username_example; // {String} User Name or Email address

var howManyReviews = howManyReviews_example; // {String} How many reviews

var lastHowManyDays = lastHowManyDays_example; // {String} How many days back

var reviewsSite = reviewsSite_example; // {String} Review site name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByUserNameAndReviewSite(username, howManyReviews, lastHowManyDays, reviewsSite, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByUserNameAndReviewSiteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var username = username_example;  // String | User Name or Email address
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var lastHowManyDays = lastHowManyDays_example;  // String | How many days back
            var reviewsSite = reviewsSite_example;  // String | Review site name

            try
            {
                // Get X last reviews less than X days old of a review site of an account
                array[Review] result = apiInstance.getReviewsByUserNameAndReviewSite(username, howManyReviews, lastHowManyDays, reviewsSite);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByUserNameAndReviewSite: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$username = username_example; // String | User Name or Email address
$howManyReviews = howManyReviews_example; // String | How many reviews
$lastHowManyDays = lastHowManyDays_example; // String | How many days back
$reviewsSite = reviewsSite_example; // String | Review site name

try {
    $result = $api_instance->getReviewsByUserNameAndReviewSite($username, $howManyReviews, $lastHowManyDays, $reviewsSite);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByUserNameAndReviewSite: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $username = username_example; # String | User Name or Email address
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $lastHowManyDays = lastHowManyDays_example; # String | How many days back
my $reviewsSite = reviewsSite_example; # String | Review site name

eval { 
    my $result = $api_instance->getReviewsByUserNameAndReviewSite(username => $username, howManyReviews => $howManyReviews, lastHowManyDays => $lastHowManyDays, reviewsSite => $reviewsSite);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByUserNameAndReviewSite: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
username = username_example # String | User Name or Email address
howManyReviews = howManyReviews_example # String | How many reviews
lastHowManyDays = lastHowManyDays_example # String | How many days back
reviewsSite = reviewsSite_example # String | Review site name

try: 
    # Get X last reviews less than X days old of a review site of an account
    api_response = api_instance.getReviewsByUserNameAndReviewSite(username, howManyReviews, lastHowManyDays, reviewsSite)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByUserNameAndReviewSite: %s\n" % e)

Parameters

Query parameters
Name Description
username*
howManyReviews*
lastHowManyDays*
reviewsSite*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getReviewsByUserNameRatingAndReviewSite

Get X last reviews that equal or over X stars of a review site of an account

Get X last reviews that equal or over X stars of a review site (For example, Google reviews…)


/getReviewsByUserNameRatingAndReviewSite

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getReviewsByUserNameRatingAndReviewSite?username=&howManyReviews=&minimumRatings=&reviewsSite="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByUserNameRatingAndReviewSite(username, howManyReviews, minimumRatings, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameRatingAndReviewSite");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String username = username_example; // String | User Name or Email address
        String howManyReviews = howManyReviews_example; // String | How many reviews
        String minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
        String reviewsSite = reviewsSite_example; // String | Review site name
        try {
            array[Review] result = apiInstance.getReviewsByUserNameRatingAndReviewSite(username, howManyReviews, minimumRatings, reviewsSite);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#getReviewsByUserNameRatingAndReviewSite");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *username = username_example; // User Name or Email address
String *howManyReviews = howManyReviews_example; // How many reviews
String *minimumRatings = minimumRatings_example; // Minimum review rating (reviews that are equal or over minimumRatings stars)
String *reviewsSite = reviewsSite_example; // Review site name

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

// Get X last reviews that equal or over X stars of a review site of an account
[apiInstance getReviewsByUserNameRatingAndReviewSiteWith:username
    howManyReviews:howManyReviews
    minimumRatings:minimumRatings
    reviewsSite:reviewsSite
              completionHandler: ^(array[Review] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var username = username_example; // {String} User Name or Email address

var howManyReviews = howManyReviews_example; // {String} How many reviews

var minimumRatings = minimumRatings_example; // {String} Minimum review rating (reviews that are equal or over minimumRatings stars)

var reviewsSite = reviewsSite_example; // {String} Review site name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReviewsByUserNameRatingAndReviewSite(username, howManyReviews, minimumRatings, reviewsSite, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReviewsByUserNameRatingAndReviewSiteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var username = username_example;  // String | User Name or Email address
            var howManyReviews = howManyReviews_example;  // String | How many reviews
            var minimumRatings = minimumRatings_example;  // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
            var reviewsSite = reviewsSite_example;  // String | Review site name

            try
            {
                // Get X last reviews that equal or over X stars of a review site of an account
                array[Review] result = apiInstance.getReviewsByUserNameRatingAndReviewSite(username, howManyReviews, minimumRatings, reviewsSite);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.getReviewsByUserNameRatingAndReviewSite: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$username = username_example; // String | User Name or Email address
$howManyReviews = howManyReviews_example; // String | How many reviews
$minimumRatings = minimumRatings_example; // String | Minimum review rating (reviews that are equal or over minimumRatings stars)
$reviewsSite = reviewsSite_example; // String | Review site name

try {
    $result = $api_instance->getReviewsByUserNameRatingAndReviewSite($username, $howManyReviews, $minimumRatings, $reviewsSite);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->getReviewsByUserNameRatingAndReviewSite: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $username = username_example; # String | User Name or Email address
my $howManyReviews = howManyReviews_example; # String | How many reviews
my $minimumRatings = minimumRatings_example; # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
my $reviewsSite = reviewsSite_example; # String | Review site name

eval { 
    my $result = $api_instance->getReviewsByUserNameRatingAndReviewSite(username => $username, howManyReviews => $howManyReviews, minimumRatings => $minimumRatings, reviewsSite => $reviewsSite);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsApi->getReviewsByUserNameRatingAndReviewSite: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
username = username_example # String | User Name or Email address
howManyReviews = howManyReviews_example # String | How many reviews
minimumRatings = minimumRatings_example # String | Minimum review rating (reviews that are equal or over minimumRatings stars)
reviewsSite = reviewsSite_example # String | Review site name

try: 
    # Get X last reviews that equal or over X stars of a review site of an account
    api_response = api_instance.getReviewsByUserNameRatingAndReviewSite(username, howManyReviews, minimumRatings, reviewsSite)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsApi->getReviewsByUserNameRatingAndReviewSite: %s\n" % e)

Parameters

Query parameters
Name Description
username*
howManyReviews*
minimumRatings*
reviewsSite*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


postCommentOnReview

Comment on a Feedback / Review

This API call posts a Comment on a Feedback / Review. When posted, the Platform sends an Email to the Commenter / Reviewer with a copy of the posted Comment. NOTE: The Moderation Team receives a copy of the Email sent to the Commenter / Reviewer The API call has the same effect as using the Reputation Control Center (URL: https://reputationcrm.com/reputation-control), locating in the datatable the Feedback / Review that will be commented, and clicking on the 'Comment on the Platform' button to leave a Comment Please refer https://reputationcrm.com/api/repcrm-api-img/CommentOnReview.jpg for more information


/postCommentOnReview

Usage and SDK Samples

curl -X post -H "key: [[apiKey]]" "https://reputationcrm.com/v2/postCommentOnReview"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsApi;

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

public class ReviewsApiExample {

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

        ReviewsApi apiInstance = new ReviewsApi();
        String reviewid = reviewid_example; // String | Review ID
        String commenttext = commenttext_example; // String | Comment Text

        try {
            apiInstance.postCommentOnReview(reviewid, commenttext);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#postCommentOnReview");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsApi;

public class ReviewsApiExample {

    public static void main(String[] args) {
        ReviewsApi apiInstance = new ReviewsApi();
        String reviewid = reviewid_example; // String | Review ID
        String commenttext = commenttext_example; // String | Comment Text

        try {
            apiInstance.postCommentOnReview(reviewid, commenttext);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsApi#postCommentOnReview");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *reviewid = reviewid_example; // Review ID
String *commenttext = commenttext_example; // Comment Text


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

// Comment on a Feedback / Review
[apiInstance postCommentOnReviewWith:reviewid
    commenttext:commenttext
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsApi()

var reviewid = reviewid_example; // {String} Review ID

var commenttext = commenttext_example; // {String} Comment Text



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.postCommentOnReview(reviewid, commenttext, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class postCommentOnReviewExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsApi();
            var reviewid = reviewid_example;  // String | Review ID
            var commenttext = commenttext_example;  // String | Comment Text


            try
            {
                // Comment on a Feedback / Review
                apiInstance.postCommentOnReview(reviewid, commenttext);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsApi.postCommentOnReview: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsApi();
$reviewid = reviewid_example; // String | Review ID
$commenttext = commenttext_example; // String | Comment Text


try {
    $api_instance->postCommentOnReview($reviewid, $commenttext);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsApi->postCommentOnReview: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsApi->new();
my $reviewid = reviewid_example; # String | Review ID
my $commenttext = commenttext_example; # String | Comment Text


eval { 
    $api_instance->postCommentOnReview(reviewid => $reviewid, commenttext => $commenttext);
};
if ($@) {
    warn "Exception when calling ReviewsApi->postCommentOnReview: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsApi()
reviewid = reviewid_example # String | Review ID
commenttext = commenttext_example # String | Comment Text


try: 
    # Comment on a Feedback / Review
    api_instance.postCommentOnReview(reviewid, commenttext)
except ApiException as e:
    print("Exception when calling ReviewsApi->postCommentOnReview: %s\n" % e)

Parameters

Form parameters
Name Description
reviewid*
commenttext*

Responses

Status: 200 - Successful response


ReviewsStats

getNumberOfReviewsPostedInLastDaysByCompanyId

Get total reviews received for each review site

Get total reviews received for each review site


/getNumberOfReviewsPostedInLastDaysByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getNumberOfReviewsPostedInLastDaysByCompanyId?companyid=&lastHowManyDays="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        String lastHowManyDays = lastHowManyDays_example; // String | Last how many days
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsPostedInLastDaysByCompanyId(companyid, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getNumberOfReviewsPostedInLastDaysByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        String lastHowManyDays = lastHowManyDays_example; // String | Last how many days
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsPostedInLastDaysByCompanyId(companyid, lastHowManyDays);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getNumberOfReviewsPostedInLastDaysByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID
String *lastHowManyDays = lastHowManyDays_example; // Last how many days

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

// Get total reviews received for each review site
[apiInstance getNumberOfReviewsPostedInLastDaysByCompanyIdWith:companyid
    lastHowManyDays:lastHowManyDays
              completionHandler: ^(array[ReviewSitesReviewCount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID

var lastHowManyDays = lastHowManyDays_example; // {String} Last how many days


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNumberOfReviewsPostedInLastDaysByCompanyId(companyid, lastHowManyDays, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getNumberOfReviewsPostedInLastDaysByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID
            var lastHowManyDays = lastHowManyDays_example;  // String | Last how many days

            try
            {
                // Get total reviews received for each review site
                array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsPostedInLastDaysByCompanyId(companyid, lastHowManyDays);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getNumberOfReviewsPostedInLastDaysByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID
$lastHowManyDays = lastHowManyDays_example; // String | Last how many days

try {
    $result = $api_instance->getNumberOfReviewsPostedInLastDaysByCompanyId($companyid, $lastHowManyDays);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReviewsStatsApi->getNumberOfReviewsPostedInLastDaysByCompanyId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReviewsStatsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID
my $lastHowManyDays = lastHowManyDays_example; # String | Last how many days

eval { 
    my $result = $api_instance->getNumberOfReviewsPostedInLastDaysByCompanyId(companyid => $companyid, lastHowManyDays => $lastHowManyDays);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getNumberOfReviewsPostedInLastDaysByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID
lastHowManyDays = lastHowManyDays_example # String | Last how many days

try: 
    # Get total reviews received for each review site
    api_response = api_instance.getNumberOfReviewsPostedInLastDaysByCompanyId(companyid, lastHowManyDays)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getNumberOfReviewsPostedInLastDaysByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*
lastHowManyDays*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getNumberOfReviewsRequiredToAchieve5StarByCompanyId

Get for ALL Review Sites the number of 5-star Feedback / Reviews needed to achieve a 5-star Customer Experience

This API call returns for each Review Site of a Company / Location / Feedback Page, the total number of 5-star Feedback / Reviews that the Company / Location needs, to achieve a 5-star Customer Experience. (NOTE: Most Review Sites display a 5-star image when the Overall Rating of a Company / Location is above 4.51. We decided to work as they do and we display a 5-star image for any Overall Rating above 4.51). URL: https://reputationcrm.com/reputation-control Please refer this image for more information https://reputationcrm.com/api/repcrm-api-img/NumberOfReviewsRequiredToAchieve5Star.jpg


/getNumberOfReviewsRequiredToAchieve5StarByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getNumberOfReviewsRequiredToAchieve5StarByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getNumberOfReviewsRequiredToAchieve5StarByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getNumberOfReviewsRequiredToAchieve5StarByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get for ALL Review Sites the number of 5-star Feedback / Reviews needed to achieve a 5-star Customer Experience

[apiInstance getNumberOfReviewsRequiredToAchieve5StarByCompanyIdWith:companyid
              completionHandler: ^(array[ReviewSitesReviewCount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getNumberOfReviewsRequiredToAchieve5StarByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get for ALL Review Sites the number of 5-star Feedback / Reviews needed to achieve a 5-star Customer Experience

                array[ReviewSitesReviewCount] result = apiInstance.getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getNumberOfReviewsRequiredToAchieve5StarByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getNumberOfReviewsRequiredToAchieve5StarByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID

try: 
    # Get for ALL Review Sites the number of 5-star Feedback / Reviews needed to achieve a 5-star Customer Experience

    api_response = api_instance.getNumberOfReviewsRequiredToAchieve5StarByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getNumberOfReviewsRequiredToAchieve5StarByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getOverallRatingForEachReviewSiteByCompanyId

Get overall rating for each review site

Get overall rating for each review site


/getOverallRatingForEachReviewSiteByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getOverallRatingForEachReviewSiteByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesRating] result = apiInstance.getOverallRatingForEachReviewSiteByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallRatingForEachReviewSiteByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesRating] result = apiInstance.getOverallRatingForEachReviewSiteByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallRatingForEachReviewSiteByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get overall rating for each review site
[apiInstance getOverallRatingForEachReviewSiteByCompanyIdWith:companyid
              completionHandler: ^(array[ReviewSitesRating] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOverallRatingForEachReviewSiteByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOverallRatingForEachReviewSiteByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get overall rating for each review site
                array[ReviewSitesRating] result = apiInstance.getOverallRatingForEachReviewSiteByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getOverallRatingForEachReviewSiteByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getOverallRatingForEachReviewSiteByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getOverallRatingForEachReviewSiteByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID

try: 
    # Get overall rating for each review site
    api_response = api_instance.getOverallRatingForEachReviewSiteByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getOverallRatingForEachReviewSiteByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getOverallRatingOfCompanyByCompanyId

Get The Overall Rating of a Company / Location / Feedback Page

This API call returns the Overall Rating of a Company / Location / Feedback Page. The number (from 1.00 to 5.00) includes all Feedback / Reviews of a Company / Location / Feedback Page. URL: https://reputationcrm.com/reputation-control Please refer https://reputationcrm.com/api/repcrm-api-img/OverallCompanyRating.jpg for more information


/getOverallRatingOfCompanyByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getOverallRatingOfCompanyByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[OverallCompanyRating] result = apiInstance.getOverallRatingOfCompanyByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallRatingOfCompanyByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[OverallCompanyRating] result = apiInstance.getOverallRatingOfCompanyByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallRatingOfCompanyByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get The Overall Rating of a Company / Location / Feedback Page

[apiInstance getOverallRatingOfCompanyByCompanyIdWith:companyid
              completionHandler: ^(array[OverallCompanyRating] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOverallRatingOfCompanyByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOverallRatingOfCompanyByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get The Overall Rating of a Company / Location / Feedback Page

                array[OverallCompanyRating] result = apiInstance.getOverallRatingOfCompanyByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getOverallRatingOfCompanyByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getOverallRatingOfCompanyByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getOverallRatingOfCompanyByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID

try: 
    # Get The Overall Rating of a Company / Location / Feedback Page

    api_response = api_instance.getOverallRatingOfCompanyByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getOverallRatingOfCompanyByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getOverallReputationChangeOfAllReviewSitesByCompanyId

Get the Overall Reputation Increase / Decrease of ALL Review Sites

This API call returns for each Review Site of a Company / Location / Feedback Page, the Overall Reputation Increase / Decrease of the last 30 days compared to the previous month (31-60 days). 0 means no change: most likely, no new Feedback / Reviews were posted in the past 60 days, or the same number of Feedback / Reviews were posted in the last 30 days compared to the last 31-60 days period. A negative percentage means that the Overall Reputation has suffered. Finally, a positive percentage means an improvement in the Overall Reputation of the Company / Location / Feedback Page. URL: https://reputationcrm.com/reputation-control Please refer https://reputationcrm.com/api/repcrm-api-img/ReputationChangeInTheLastMonth.jpg for more information


/getOverallReputationChangeOfAllReviewSitesByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getOverallReputationChangeOfAllReviewSitesByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReputationChange] result = apiInstance.getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallReputationChangeOfAllReviewSitesByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReputationChange] result = apiInstance.getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getOverallReputationChangeOfAllReviewSitesByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get the Overall Reputation Increase / Decrease of ALL Review Sites

[apiInstance getOverallReputationChangeOfAllReviewSitesByCompanyIdWith:companyid
              completionHandler: ^(array[ReviewSitesReputationChange] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOverallReputationChangeOfAllReviewSitesByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get the Overall Reputation Increase / Decrease of ALL Review Sites

                array[ReviewSitesReputationChange] result = apiInstance.getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getOverallReputationChangeOfAllReviewSitesByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getOverallReputationChangeOfAllReviewSitesByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID

try: 
    # Get the Overall Reputation Increase / Decrease of ALL Review Sites

    api_response = api_instance.getOverallReputationChangeOfAllReviewSitesByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getOverallReputationChangeOfAllReviewSitesByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getTotalReviewsReceivedForEachReviewSiteByCompanyId

Get total reviews received for each review site

Get total reviews received for each review site


/getTotalReviewsReceivedForEachReviewSiteByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getTotalReviewsReceivedForEachReviewSiteByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReviewsStatsApi;

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

public class ReviewsStatsApiExample {

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

        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getTotalReviewsReceivedForEachReviewSiteByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReviewsStatsApi;

public class ReviewsStatsApiExample {

    public static void main(String[] args) {
        ReviewsStatsApi apiInstance = new ReviewsStatsApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[ReviewSitesReviewCount] result = apiInstance.getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReviewsStatsApi#getTotalReviewsReceivedForEachReviewSiteByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get total reviews received for each review site
[apiInstance getTotalReviewsReceivedForEachReviewSiteByCompanyIdWith:companyid
              completionHandler: ^(array[ReviewSitesReviewCount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.ReviewsStatsApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTotalReviewsReceivedForEachReviewSiteByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new ReviewsStatsApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get total reviews received for each review site
                array[ReviewSitesReviewCount] result = apiInstance.getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReviewsStatsApi.getTotalReviewsReceivedForEachReviewSiteByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\ReviewsStatsApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ReviewsStatsApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReviewsStatsApi->getTotalReviewsReceivedForEachReviewSiteByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ReviewsStatsApi()
companyid = companyid_example # String | Company ID

try: 
    # Get total reviews received for each review site
    api_response = api_instance.getTotalReviewsReceivedForEachReviewSiteByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReviewsStatsApi->getTotalReviewsReceivedForEachReviewSiteByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


SentLog

getSentLogByCompanyId

Get company's sent log

Get company's sent log


/getSentLogByCompanyId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getSentLogByCompanyId?companyid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SentLogApi;

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

public class SentLogApiExample {

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

        SentLogApi apiInstance = new SentLogApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[SentLog] result = apiInstance.getSentLogByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SentLogApi#getSentLogByCompanyId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SentLogApi;

public class SentLogApiExample {

    public static void main(String[] args) {
        SentLogApi apiInstance = new SentLogApi();
        String companyid = companyid_example; // String | Company ID
        try {
            array[SentLog] result = apiInstance.getSentLogByCompanyId(companyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SentLogApi#getSentLogByCompanyId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *companyid = companyid_example; // Company ID

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

// Get company's sent log
[apiInstance getSentLogByCompanyIdWith:companyid
              completionHandler: ^(array[SentLog] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.SentLogApi()

var companyid = companyid_example; // {String} Company ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSentLogByCompanyId(companyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSentLogByCompanyIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new SentLogApi();
            var companyid = companyid_example;  // String | Company ID

            try
            {
                // Get company's sent log
                array[SentLog] result = apiInstance.getSentLogByCompanyId(companyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SentLogApi.getSentLogByCompanyId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\SentLogApi();
$companyid = companyid_example; // String | Company ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SentLogApi->new();
my $companyid = companyid_example; # String | Company ID

eval { 
    my $result = $api_instance->getSentLogByCompanyId(companyid => $companyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SentLogApi->getSentLogByCompanyId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SentLogApi()
companyid = companyid_example # String | Company ID

try: 
    # Get company's sent log
    api_response = api_instance.getSentLogByCompanyId(companyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SentLogApi->getSentLogByCompanyId: %s\n" % e)

Parameters

Query parameters
Name Description
companyid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


getSentLogByCustomerId

Get a customer’s sent log

Get a customer’s sent log


/getSentLogByCustomerId

Usage and SDK Samples

curl -X get -H "key: [[apiKey]]" "https://reputationcrm.com/v2/getSentLogByCustomerId?customerid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SentLogApi;

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

public class SentLogApiExample {

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

        SentLogApi apiInstance = new SentLogApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[SentLog] result = apiInstance.getSentLogByCustomerId(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SentLogApi#getSentLogByCustomerId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SentLogApi;

public class SentLogApiExample {

    public static void main(String[] args) {
        SentLogApi apiInstance = new SentLogApi();
        String customerid = customerid_example; // String | Customer ID
        try {
            array[SentLog] result = apiInstance.getSentLogByCustomerId(customerid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SentLogApi#getSentLogByCustomerId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"key"];

String *customerid = customerid_example; // Customer ID

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

// Get a customer’s sent log
[apiInstance getSentLogByCustomerIdWith:customerid
              completionHandler: ^(array[SentLog] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ReputationCrmApi = require('reputation_crm_api');
var defaultClient = ReputationCrmApi.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['key'] = "Token"

var api = new ReputationCrmApi.SentLogApi()

var customerid = customerid_example; // {String} Customer ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSentLogByCustomerId(customerid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSentLogByCustomerIdExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("key", "Bearer");

            var apiInstance = new SentLogApi();
            var customerid = customerid_example;  // String | Customer ID

            try
            {
                // Get a customer’s sent log
                array[SentLog] result = apiInstance.getSentLogByCustomerId(customerid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SentLogApi.getSentLogByCustomerId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('key', 'Bearer');

$api_instance = new Swagger\Client\Api\SentLogApi();
$customerid = customerid_example; // String | Customer ID

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

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SentLogApi->new();
my $customerid = customerid_example; # String | Customer ID

eval { 
    my $result = $api_instance->getSentLogByCustomerId(customerid => $customerid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SentLogApi->getSentLogByCustomerId: $@\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['key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SentLogApi()
customerid = customerid_example # String | Customer ID

try: 
    # Get a customer’s sent log
    api_response = api_instance.getSentLogByCustomerId(customerid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SentLogApi->getSentLogByCustomerId: %s\n" % e)

Parameters

Query parameters
Name Description
customerid*

Responses

Status: 200 - successful operation

Status: 0 - Unexpected error


Generated 2017-03-21T10:15:50.495Z