Patient Context Middleware

CallerID

GiveCallerIDString

Provide caller ID variables as semi-colon delimted string.


/CallerID/GiveCallerIDString

Usage and SDK Samples

curl -X GET\
"//CallerID/GiveCallerIDString?callerIdString=&clientId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallerIDApi;

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

public class CallerIDApiExample {

    public static void main(String[] args) {
        
        CallerIDApi apiInstance = new CallerIDApi();
        String callerIdString = callerIdString_example; // String | Format: agentId;externalNumber;externalName
        UUID clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        try {
            apiInstance.callerIDGiveCallerIDStringGet(callerIdString, clientId);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallerIDApi#callerIDGiveCallerIDStringGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CallerIDApi;

public class CallerIDApiExample {

    public static void main(String[] args) {
        CallerIDApi apiInstance = new CallerIDApi();
        String callerIdString = callerIdString_example; // String | Format: agentId;externalNumber;externalName
        UUID clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        try {
            apiInstance.callerIDGiveCallerIDStringGet(callerIdString, clientId);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallerIDApi#callerIDGiveCallerIDStringGet");
            e.printStackTrace();
        }
    }
}
String *callerIdString = callerIdString_example; // Format: agentId;externalNumber;externalName (optional)
UUID *clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //  (optional)

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

// Provide caller ID variables as semi-colon delimted string.
[apiInstance callerIDGiveCallerIDStringGetWith:callerIdString
    clientId:clientId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PatientContextMiddleware = require('patient_context_middleware');

var api = new PatientContextMiddleware.CallerIDApi()
var opts = { 
  'callerIdString': callerIdString_example, // {{String}} Format: agentId;externalNumber;externalName
  'clientId': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {{UUID}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.callerIDGiveCallerIDStringGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class callerIDGiveCallerIDStringGetExample
    {
        public void main()
        {

            var apiInstance = new CallerIDApi();
            var callerIdString = callerIdString_example;  // String | Format: agentId;externalNumber;externalName (optional) 
            var clientId = new UUID(); // UUID |  (optional) 

            try
            {
                // Provide caller ID variables as semi-colon delimted string.
                apiInstance.callerIDGiveCallerIDStringGet(callerIdString, clientId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CallerIDApi.callerIDGiveCallerIDStringGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCallerIDApi();
$callerIdString = callerIdString_example; // String | Format: agentId;externalNumber;externalName
$clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 

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

my $api_instance = WWW::SwaggerClient::CallerIDApi->new();
my $callerIdString = callerIdString_example; # String | Format: agentId;externalNumber;externalName
my $clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | 

eval { 
    $api_instance->callerIDGiveCallerIDStringGet(callerIdString => $callerIdString, clientId => $clientId);
};
if ($@) {
    warn "Exception when calling CallerIDApi->callerIDGiveCallerIDStringGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CallerIDApi()
callerIdString = callerIdString_example # String | Format: agentId;externalNumber;externalName (optional)
clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |  (optional)

try: 
    # Provide caller ID variables as semi-colon delimted string.
    api_instance.caller_id_give_caller_id_string_get(callerIdString=callerIdString, clientId=clientId)
except ApiException as e:
    print("Exception when calling CallerIDApi->callerIDGiveCallerIDStringGet: %s\n" % e)

Parameters

Query parameters
Name Description
callerIdString
String
Format: agentId;externalNumber;externalName
clientId
UUID (uuid)

Responses

Status: 200 - Success

Status: 400 - Missing or invalid values

Status: 500 - Internal Server Error


GiveCallerIDVariables

Provide caller ID variables as query parameters.


/CallerID/GiveCallerIDVariables

Usage and SDK Samples

curl -X GET\
"//CallerID/GiveCallerIDVariables?agent=&externalNumber=&externalName=&clientId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallerIDApi;

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

public class CallerIDApiExample {

    public static void main(String[] args) {
        
        CallerIDApi apiInstance = new CallerIDApi();
        String agent = agent_example; // String | 
        String externalNumber = externalNumber_example; // String | 
        String externalName = externalName_example; // String | 
        UUID clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        try {
            apiInstance.callerIDGiveCallerIDVariablesGet(agent, externalNumber, externalName, clientId);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallerIDApi#callerIDGiveCallerIDVariablesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CallerIDApi;

public class CallerIDApiExample {

    public static void main(String[] args) {
        CallerIDApi apiInstance = new CallerIDApi();
        String agent = agent_example; // String | 
        String externalNumber = externalNumber_example; // String | 
        String externalName = externalName_example; // String | 
        UUID clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        try {
            apiInstance.callerIDGiveCallerIDVariablesGet(agent, externalNumber, externalName, clientId);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallerIDApi#callerIDGiveCallerIDVariablesGet");
            e.printStackTrace();
        }
    }
}
String *agent = agent_example; //  (optional)
String *externalNumber = externalNumber_example; //  (optional)
String *externalName = externalName_example; //  (optional)
UUID *clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //  (optional)

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

// Provide caller ID variables as query parameters.
[apiInstance callerIDGiveCallerIDVariablesGetWith:agent
    externalNumber:externalNumber
    externalName:externalName
    clientId:clientId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PatientContextMiddleware = require('patient_context_middleware');

var api = new PatientContextMiddleware.CallerIDApi()
var opts = { 
  'agent': agent_example, // {{String}} 
  'externalNumber': externalNumber_example, // {{String}} 
  'externalName': externalName_example, // {{String}} 
  'clientId': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {{UUID}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.callerIDGiveCallerIDVariablesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class callerIDGiveCallerIDVariablesGetExample
    {
        public void main()
        {

            var apiInstance = new CallerIDApi();
            var agent = agent_example;  // String |  (optional) 
            var externalNumber = externalNumber_example;  // String |  (optional) 
            var externalName = externalName_example;  // String |  (optional) 
            var clientId = new UUID(); // UUID |  (optional) 

            try
            {
                // Provide caller ID variables as query parameters.
                apiInstance.callerIDGiveCallerIDVariablesGet(agent, externalNumber, externalName, clientId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CallerIDApi.callerIDGiveCallerIDVariablesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCallerIDApi();
$agent = agent_example; // String | 
$externalNumber = externalNumber_example; // String | 
$externalName = externalName_example; // String | 
$clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 

try {
    $api_instance->callerIDGiveCallerIDVariablesGet($agent, $externalNumber, $externalName, $clientId);
} catch (Exception $e) {
    echo 'Exception when calling CallerIDApi->callerIDGiveCallerIDVariablesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CallerIDApi;

my $api_instance = WWW::SwaggerClient::CallerIDApi->new();
my $agent = agent_example; # String | 
my $externalNumber = externalNumber_example; # String | 
my $externalName = externalName_example; # String | 
my $clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | 

eval { 
    $api_instance->callerIDGiveCallerIDVariablesGet(agent => $agent, externalNumber => $externalNumber, externalName => $externalName, clientId => $clientId);
};
if ($@) {
    warn "Exception when calling CallerIDApi->callerIDGiveCallerIDVariablesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CallerIDApi()
agent = agent_example # String |  (optional)
externalNumber = externalNumber_example # String |  (optional)
externalName = externalName_example # String |  (optional)
clientId = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |  (optional)

try: 
    # Provide caller ID variables as query parameters.
    api_instance.caller_id_give_caller_id_variables_get(agent=agent, externalNumber=externalNumber, externalName=externalName, clientId=clientId)
except ApiException as e:
    print("Exception when calling CallerIDApi->callerIDGiveCallerIDVariablesGet: %s\n" % e)

Parameters

Query parameters
Name Description
agent
String
externalNumber
String
externalName
String
clientId
UUID (uuid)

Responses

Status: 200 - Success

Status: 400 - Missing or invalid values

Status: 500 - Internal Server Error