InterSystems Payer Services - DTR Component Configuration API

Config

configsettingsGet

Query the database for configuration setting values, including Utilization Management (UM) system integration settings.


/config/$settings

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,default"\
"<base url>/csp/healthshare/hp-dtr/app/api/config/$settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConfigApi;

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

public class ConfigApiExample {

    public static void main(String[] args) {

        ConfigApi apiInstance = new ConfigApi();
        try {
            config_output result = apiInstance.configsettingsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConfigApi#configsettingsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConfigApi;

public class ConfigApiExample {

    public static void main(String[] args) {
        ConfigApi apiInstance = new ConfigApi();
        try {
            config_output result = apiInstance.configsettingsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConfigApi#configsettingsGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance configsettingsGetWithCompletionHandler:
              ^(config_output output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InterSystemsPayerServicesDtrComponentConfigurationApi = require('inter_systems_payer_services___dtr_component_configuration_api');

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

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

            var apiInstance = new ConfigApi();

            try
            {
                config_output result = apiInstance.configsettingsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConfigApi.configsettingsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConfigApi();

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

my $api_instance = WWW::SwaggerClient::ConfigApi->new();

eval {
    my $result = $api_instance->configsettingsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConfigApi->configsettingsGet: $@\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.ConfigApi()

try:
    api_response = api_instance.configsettings_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConfigApi->configsettingsGet: %s\n" % e)

Parameters

Responses

Status: 200 - A successful response

Status: 403 - Forbidden: Authentication Failure

Status: 406 - Unsupported Mediatype: The requested mediatype is not compatible with any supported response mediatypes.

Status: 415 - Unsupported Mediatype: Mediatype is not compatible with any supported request mediatypes.


configsettingsPost

Create new configuration settings, including for Utilization Management (UM) system integration. Currently supported keys: UMIntegrationAuthType: UM system authentication type, must be "basic" or "oauthUseClient" UMIntegrationEndpoint: endpoint of UM system, excluding host and port. Must begin with " \ " UMIntegrationHTTPCredentialsConfig: ID of the Credentials created in InterSystems IRIS for Health Management Portal UMIntegrationHost: Host of the UM system UMIntegrationPort: Optional port of the UM system UMIntegrationSSLConfig: Name of SSL configuration defined in InterSystems IRIS for Health Management Portal


/config/$settings

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json,default"\
-H "Content-Type: application/json"\
"<base url>/csp/healthshare/hp-dtr/app/api/config/$settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConfigApi;

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

public class ConfigApiExample {

    public static void main(String[] args) {

        ConfigApi apiInstance = new ConfigApi();
        Config_input body = ; // Config_input |
        try {
            config_output result = apiInstance.configsettingsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConfigApi#configsettingsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConfigApi;

public class ConfigApiExample {

    public static void main(String[] args) {
        ConfigApi apiInstance = new ConfigApi();
        Config_input body = ; // Config_input |
        try {
            config_output result = apiInstance.configsettingsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConfigApi#configsettingsPost");
            e.printStackTrace();
        }
    }
}
Config_input *body = ; //

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

[apiInstance configsettingsPostWith:body
              completionHandler: ^(config_output output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InterSystemsPayerServicesDtrComponentConfigurationApi = require('inter_systems_payer_services___dtr_component_configuration_api');

var api = new InterSystemsPayerServicesDtrComponentConfigurationApi.ConfigApi()
var body = ; // {{Config_input}}

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

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

            var apiInstance = new ConfigApi();
            var body = new Config_input(); // Config_input |

            try
            {
                config_output result = apiInstance.configsettingsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConfigApi.configsettingsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConfigApi();
$body = ; // Config_input |

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

my $api_instance = WWW::SwaggerClient::ConfigApi->new();
my $body = WWW::SwaggerClient::Object::Config_input->new(); # Config_input |

eval {
    my $result = $api_instance->configsettingsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConfigApi->configsettingsPost: $@\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.ConfigApi()
body =  # Config_input |

try:
    api_response = api_instance.configsettings_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConfigApi->configsettingsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - A successful response

Status: 403 - Forbidden: Authentication Failure

Status: 406 - Unsupported Mediatype: The requested mediatype is not compatible with any supported response mediatypes.

Status: 415 - Unsupported Mediatype: Mediatype is not compatible with any supported request mediatypes.


© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.    Privacy & Terms Guarantee Accessibility