Infermedica API Documentation

Conditions

conditions

Returns a list of all available conditions.


/v2/conditions/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/conditions/?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConditionsApi;

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

public class ConditionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ConditionsApi apiInstance = new ConditionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200 result = apiInstance.conditions(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConditionsApi#conditions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConditionsApi;

public class ConditionsApiExample {

    public static void main(String[] args) {
        ConditionsApi apiInstance = new ConditionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200 result = apiInstance.conditions(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConditionsApi#conditions");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance conditionsWith:apiecoKey
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.ConditionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new ConditionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200 result = apiInstance.conditions(apiecoKey, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConditionsApi.conditions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\ConditionsApi();
$apiecoKey = apiecoKey_example; // String | 
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::ConditionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.ConditionsApi()
apiecoKey = apiecoKey_example # String | 
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.conditions(apiecoKey, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConditionsApi->conditions: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


conditionsByID

Returns details of a single condition specified by id parameter.


/v2/conditions/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/conditions/{id}/?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConditionsApi;

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

public class ConditionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ConditionsApi apiInstance = new ConditionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | condition id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200 result = apiInstance.conditionsByID(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConditionsApi#conditionsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConditionsApi;

public class ConditionsApiExample {

    public static void main(String[] args) {
        ConditionsApi apiInstance = new ConditionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | condition id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200 result = apiInstance.conditionsByID(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConditionsApi#conditionsByID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // condition id
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance conditionsByIDWith:apiecoKey
    id:id
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.ConditionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} condition id

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new ConditionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | condition id
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200 result = apiInstance.conditionsByID(apiecoKey, id, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConditionsApi.conditionsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\ConditionsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | condition id
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::ConditionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | condition id
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.ConditionsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | condition id
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.conditions_by_id(apiecoKey, id, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConditionsApi->conditionsByID: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
condition id
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Diagnosis

diagnosis

Suggests possible diagnoses and relevant observations based on provided patient information.


/v2/diagnosis/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/diagnosis/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DiagnosisApi;

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

public class DiagnosisApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        DiagnosisApi apiInstance = new DiagnosisApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body body = ; // Body | 
        try {
            inline_response_200_1 result = apiInstance.diagnosis(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosisApi#diagnosis");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DiagnosisApi;

public class DiagnosisApiExample {

    public static void main(String[] args) {
        DiagnosisApi apiInstance = new DiagnosisApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body body = ; // Body | 
        try {
            inline_response_200_1 result = apiInstance.diagnosis(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosisApi#diagnosis");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body *body = ; // 

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

// 
[apiInstance diagnosisWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.DiagnosisApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body} 


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

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

            var apiInstance = new DiagnosisApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body(); // Body | 

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

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

$api_instance = new Swagger\Client\Api\DiagnosisApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body | 

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

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

my $api_instance = WWW::SwaggerClient::DiagnosisApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

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

# create an instance of the API class
api_instance = swagger_client.DiagnosisApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body | 

try: 
    # 
    api_response = api_instance.diagnosis(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DiagnosisApi->diagnosis: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Explain

explain

Explains which evidence impact probability of selected condition.


/v2/explain/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/explain/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExplainApi;

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

public class ExplainApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ExplainApi apiInstance = new ExplainApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_2 result = apiInstance.explain(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExplainApi#explain");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExplainApi;

public class ExplainApiExample {

    public static void main(String[] args) {
        ExplainApi apiInstance = new ExplainApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_2 result = apiInstance.explain(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExplainApi#explain");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_1 *body = ; // 

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

// 
[apiInstance explainWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.ExplainApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_1} 


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

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

            var apiInstance = new ExplainApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_1(); // Body_1 | 

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

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

$api_instance = new Swagger\Client\Api\ExplainApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_1 | 

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

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

my $api_instance = WWW::SwaggerClient::ExplainApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

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

# create an instance of the API class
api_instance = swagger_client.ExplainApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_1 | 

try: 
    # 
    api_response = api_instance.explain(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExplainApi->explain: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Info

info

Returns information about data used by diagnostic engine.


/v2/info/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/info/?age="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InfoApi;

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

public class InfoApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        InfoApi apiInstance = new InfoApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        try {
            inline_response_200_3 result = apiInstance.info(apiecoKey, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InfoApi#info");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InfoApi;

public class InfoApiExample {

    public static void main(String[] args) {
        InfoApi apiInstance = new InfoApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        try {
            inline_response_200_3 result = apiInstance.info(apiecoKey, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InfoApi#info");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *age = age_example; // age

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

// 
[apiInstance infoWith:apiecoKey
    age:age
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.InfoApi()

var apiecoKey = apiecoKey_example; // {String} 

var age = age_example; // {String} age


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

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

            var apiInstance = new InfoApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var age = age_example;  // String | age

            try
            {
                // 
                inline_response_200_3 result = apiInstance.info(apiecoKey, age);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InfoApi.info: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\InfoApi();
$apiecoKey = apiecoKey_example; // String | 
$age = age_example; // String | age

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

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

my $api_instance = WWW::SwaggerClient::InfoApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $age = age_example; # String | age

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

# create an instance of the API class
api_instance = swagger_client.InfoApi()
apiecoKey = apiecoKey_example # String | 
age = age_example # String | age

try: 
    # 
    api_response = api_instance.info(apiecoKey, age)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InfoApi->info: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


LabTests

labTests

Returns a list of all available lab tests.


/v2/lab_tests

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/lab_tests?age="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LabTestsApi;

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

public class LabTestsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LabTestsApi apiInstance = new LabTestsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        try {
            inline_response_200_4 result = apiInstance.labTests(apiecoKey, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabTestsApi#labTests");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LabTestsApi;

public class LabTestsApiExample {

    public static void main(String[] args) {
        LabTestsApi apiInstance = new LabTestsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        try {
            inline_response_200_4 result = apiInstance.labTests(apiecoKey, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabTestsApi#labTests");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *age = age_example; // age

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

// 
[apiInstance labTestsWith:apiecoKey
    age:age
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.LabTestsApi()

var apiecoKey = apiecoKey_example; // {String} 

var age = age_example; // {String} age


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

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

            var apiInstance = new LabTestsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var age = age_example;  // String | age

            try
            {
                // 
                inline_response_200_4 result = apiInstance.labTests(apiecoKey, age);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LabTestsApi.labTests: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\LabTestsApi();
$apiecoKey = apiecoKey_example; // String | 
$age = age_example; // String | age

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

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

my $api_instance = WWW::SwaggerClient::LabTestsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $age = age_example; # String | age

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

# create an instance of the API class
api_instance = swagger_client.LabTestsApi()
apiecoKey = apiecoKey_example # String | 
age = age_example # String | age

try: 
    # 
    api_response = api_instance.lab_tests(apiecoKey, age)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LabTestsApi->labTests: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


labTestsByID

Returns details of a single lab test specified by id parameter.


/v2/lab_tests/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/lab_tests/{id}/?age="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LabTestsApi;

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

public class LabTestsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LabTestsApi apiInstance = new LabTestsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | lab test id
        String age = age_example; // String | age
        try {
            inline_response_200_4 result = apiInstance.labTestsByID(apiecoKey, id, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabTestsApi#labTestsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LabTestsApi;

public class LabTestsApiExample {

    public static void main(String[] args) {
        LabTestsApi apiInstance = new LabTestsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | lab test id
        String age = age_example; // String | age
        try {
            inline_response_200_4 result = apiInstance.labTestsByID(apiecoKey, id, age);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabTestsApi#labTestsByID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // lab test id
String *age = age_example; // age

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

// 
[apiInstance labTestsByIDWith:apiecoKey
    id:id
    age:age
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.LabTestsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} lab test id

var age = age_example; // {String} age


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

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

            var apiInstance = new LabTestsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | lab test id
            var age = age_example;  // String | age

            try
            {
                // 
                inline_response_200_4 result = apiInstance.labTestsByID(apiecoKey, id, age);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LabTestsApi.labTestsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\LabTestsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | lab test id
$age = age_example; // String | age

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

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

my $api_instance = WWW::SwaggerClient::LabTestsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | lab test id
my $age = age_example; # String | age

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

# create an instance of the API class
api_instance = swagger_client.LabTestsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | lab test id
age = age_example # String | age

try: 
    # 
    api_response = api_instance.lab_tests_by_id(apiecoKey, id, age)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LabTestsApi->labTestsByID: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
lab test id
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Lookup

lookup

Returns a single observation matching given phrase.


/v2/lookup/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/lookup/?age=&phrase=&sex="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LookupApi;

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

public class LookupApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LookupApi apiInstance = new LookupApi();
        String apiecoKey = apiecoKey_example; // String | 
        String phrase = phrase_example; // String | phrase to match
        String age = age_example; // String | age
        String sex = sex_example; // String | sex filter
        try {
            inline_response_200_1_question_items_choices result = apiInstance.lookup(apiecoKey, phrase, age, sex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LookupApi#lookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LookupApi;

public class LookupApiExample {

    public static void main(String[] args) {
        LookupApi apiInstance = new LookupApi();
        String apiecoKey = apiecoKey_example; // String | 
        String phrase = phrase_example; // String | phrase to match
        String age = age_example; // String | age
        String sex = sex_example; // String | sex filter
        try {
            inline_response_200_1_question_items_choices result = apiInstance.lookup(apiecoKey, phrase, age, sex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LookupApi#lookup");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *phrase = phrase_example; // phrase to match
String *age = age_example; // age (optional)
String *sex = sex_example; // sex filter (optional)

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

// 
[apiInstance lookupWith:apiecoKey
    phrase:phrase
    age:age
    sex:sex
              completionHandler: ^(inline_response_200_1_question_items_choices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.LookupApi()

var apiecoKey = apiecoKey_example; // {String} 

var phrase = phrase_example; // {String} phrase to match

var opts = { 
  'age': age_example, // {String} age
  'sex': sex_example // {String} sex filter
};

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

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

            var apiInstance = new LookupApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var phrase = phrase_example;  // String | phrase to match
            var age = age_example;  // String | age (optional) 
            var sex = sex_example;  // String | sex filter (optional) 

            try
            {
                // 
                inline_response_200_1_question_items_choices result = apiInstance.lookup(apiecoKey, phrase, age, sex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LookupApi.lookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\LookupApi();
$apiecoKey = apiecoKey_example; // String | 
$phrase = phrase_example; // String | phrase to match
$age = age_example; // String | age
$sex = sex_example; // String | sex filter

try {
    $result = $api_instance->lookup($apiecoKey, $phrase, $age, $sex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LookupApi->lookup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LookupApi;

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

my $api_instance = WWW::SwaggerClient::LookupApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $phrase = phrase_example; # String | phrase to match
my $age = age_example; # String | age
my $sex = sex_example; # String | sex filter

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

# create an instance of the API class
api_instance = swagger_client.LookupApi()
apiecoKey = apiecoKey_example # String | 
phrase = phrase_example # String | phrase to match
age = age_example # String | age (optional)
sex = sex_example # String | sex filter (optional)

try: 
    # 
    api_response = api_instance.lookup(apiecoKey, phrase, age=age, sex=sex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LookupApi->lookup: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age
String
age
phrase*
String
phrase to match
Required
sex
String
sex filter

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Parse

parse

Returns list of mentions of observation found in given text.


/v2/parse/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/parse/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ParseApi;

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

public class ParseApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ParseApi apiInstance = new ParseApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_5 result = apiInstance.parse(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ParseApi#parse");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ParseApi;

public class ParseApiExample {

    public static void main(String[] args) {
        ParseApi apiInstance = new ParseApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_5 result = apiInstance.parse(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ParseApi#parse");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_2 *body = ; // 

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

// 
[apiInstance parseWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.ParseApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_2} 


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

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

            var apiInstance = new ParseApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_2(); // Body_2 | 

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

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

$api_instance = new Swagger\Client\Api\ParseApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_2 | 

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

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

my $api_instance = WWW::SwaggerClient::ParseApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

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

# create an instance of the API class
api_instance = swagger_client.ParseApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_2 | 

try: 
    # 
    api_response = api_instance.parse(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ParseApi->parse: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Rationale

rationale

Returns rationale behind the question asked by the system.


/v2/rationale/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/rationale/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RationaleApi;

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

public class RationaleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        RationaleApi apiInstance = new RationaleApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_6 result = apiInstance.rationale(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RationaleApi#rationale");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RationaleApi;

public class RationaleApiExample {

    public static void main(String[] args) {
        RationaleApi apiInstance = new RationaleApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_6 result = apiInstance.rationale(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RationaleApi#rationale");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_3 *body = ; // 

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

// 
[apiInstance rationaleWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.RationaleApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_3} 


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

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

            var apiInstance = new RationaleApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_3(); // Body_3 | 

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

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

$api_instance = new Swagger\Client\Api\RationaleApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_3 | 

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

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

my $api_instance = WWW::SwaggerClient::RationaleApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 

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

# create an instance of the API class
api_instance = swagger_client.RationaleApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_3 | 

try: 
    # 
    api_response = api_instance.rationale(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RationaleApi->rationale: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


RedFlags

red Flags

Returns rationale behind the question asked by the system.


/v2/red_flags/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/red_flags/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RedFlagsApi;

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

public class RedFlagsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        RedFlagsApi apiInstance = new RedFlagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_2_supporting_evidence result = apiInstance.red Flags(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RedFlagsApi#red Flags");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RedFlagsApi;

public class RedFlagsApiExample {

    public static void main(String[] args) {
        RedFlagsApi apiInstance = new RedFlagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_2_supporting_evidence result = apiInstance.red Flags(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RedFlagsApi#red Flags");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_4 *body = ; // 

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

// 
[apiInstance red FlagsWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2_supporting_evidence output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.RedFlagsApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_4} 


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

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

            var apiInstance = new RedFlagsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_4(); // Body_4 | 

            try
            {
                // 
                inline_response_200_2_supporting_evidence result = apiInstance.red Flags(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RedFlagsApi.red Flags: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RedFlagsApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_4 | 

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

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

my $api_instance = WWW::SwaggerClient::RedFlagsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 

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

# create an instance of the API class
api_instance = swagger_client.RedFlagsApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_4 | 

try: 
    # 
    api_response = api_instance.red_flags(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RedFlagsApi->red Flags: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


RiskFactors

riskFactors

Returns details of a single risk factor specified by id parameter.


/v2/risk_factors/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/risk_factors/{id}/?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RiskFactorsApi;

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

public class RiskFactorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        RiskFactorsApi apiInstance = new RiskFactorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | risk factor id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_7 result = apiInstance.riskFactors(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RiskFactorsApi#riskFactors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RiskFactorsApi;

public class RiskFactorsApiExample {

    public static void main(String[] args) {
        RiskFactorsApi apiInstance = new RiskFactorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | risk factor id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_7 result = apiInstance.riskFactors(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RiskFactorsApi#riskFactors");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // risk factor id
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance riskFactorsWith:apiecoKey
    id:id
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.RiskFactorsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} risk factor id

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new RiskFactorsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | risk factor id
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200_7 result = apiInstance.riskFactors(apiecoKey, id, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RiskFactorsApi.riskFactors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RiskFactorsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | risk factor id
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::RiskFactorsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | risk factor id
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.RiskFactorsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | risk factor id
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.risk_factors(apiecoKey, id, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RiskFactorsApi->riskFactors: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
risk factor id
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


riskFactorsByID

Returns a list of all available risk factors.


/v2/risk_factors/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/risk_factors/?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RiskFactorsApi;

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

public class RiskFactorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        RiskFactorsApi apiInstance = new RiskFactorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_7 result = apiInstance.riskFactorsByID(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RiskFactorsApi#riskFactorsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RiskFactorsApi;

public class RiskFactorsApiExample {

    public static void main(String[] args) {
        RiskFactorsApi apiInstance = new RiskFactorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_7 result = apiInstance.riskFactorsByID(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RiskFactorsApi#riskFactorsByID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance riskFactorsByIDWith:apiecoKey
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.RiskFactorsApi()

var apiecoKey = apiecoKey_example; // {String} 

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new RiskFactorsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200_7 result = apiInstance.riskFactorsByID(apiecoKey, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RiskFactorsApi.riskFactorsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RiskFactorsApi();
$apiecoKey = apiecoKey_example; // String | 
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::RiskFactorsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.RiskFactorsApi()
apiecoKey = apiecoKey_example # String | 
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.risk_factors_by_id(apiecoKey, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RiskFactorsApi->riskFactorsByID: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Suggest

suggest

Suggests possible symptoms based on provided patient information.


/v2/suggest/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/suggest/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SuggestApi;

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

public class SuggestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        SuggestApi apiInstance = new SuggestApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_2_supporting_evidence result = apiInstance.suggest(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SuggestApi#suggest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SuggestApi;

public class SuggestApiExample {

    public static void main(String[] args) {
        SuggestApi apiInstance = new SuggestApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_2_supporting_evidence result = apiInstance.suggest(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SuggestApi#suggest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_5 *body = ; // 

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

// 
[apiInstance suggestWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2_supporting_evidence output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.SuggestApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_5} 


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

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

            var apiInstance = new SuggestApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_5(); // Body_5 | 

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

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

$api_instance = new Swagger\Client\Api\SuggestApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_5 | 

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

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

my $api_instance = WWW::SwaggerClient::SuggestApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 

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

# create an instance of the API class
api_instance = swagger_client.SuggestApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_5 | 

try: 
    # 
    api_response = api_instance.suggest(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SuggestApi->suggest: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Symptoms

symptoms

Returns a list of all available symptoms.


/v2/symptoms//

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/symptoms//?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SymptomsApi;

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

public class SymptomsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        SymptomsApi apiInstance = new SymptomsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_8 result = apiInstance.symptoms(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SymptomsApi#symptoms");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SymptomsApi;

public class SymptomsApiExample {

    public static void main(String[] args) {
        SymptomsApi apiInstance = new SymptomsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_8 result = apiInstance.symptoms(apiecoKey, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SymptomsApi#symptoms");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance symptomsWith:apiecoKey
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.SymptomsApi()

var apiecoKey = apiecoKey_example; // {String} 

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new SymptomsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200_8 result = apiInstance.symptoms(apiecoKey, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SymptomsApi.symptoms: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\SymptomsApi();
$apiecoKey = apiecoKey_example; // String | 
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::SymptomsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.SymptomsApi()
apiecoKey = apiecoKey_example # String | 
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.symptoms(apiecoKey, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SymptomsApi->symptoms: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


symptomsByID

Returns details of a single symptom specified by id parameter.


/v2/symptoms/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/symptoms/{id}/?age=&enable_triage_5="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SymptomsApi;

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

public class SymptomsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        SymptomsApi apiInstance = new SymptomsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | symptoms id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_8 result = apiInstance.symptomsByID(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SymptomsApi#symptomsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SymptomsApi;

public class SymptomsApiExample {

    public static void main(String[] args) {
        SymptomsApi apiInstance = new SymptomsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | symptoms id
        String age = age_example; // String | age
        Boolean enableTriage5 = true; // Boolean | enable 5-level triage values
        try {
            inline_response_200_8 result = apiInstance.symptomsByID(apiecoKey, id, age, enableTriage5);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SymptomsApi#symptomsByID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // symptoms id
String *age = age_example; // age
Boolean *enableTriage5 = true; // enable 5-level triage values

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

// 
[apiInstance symptomsByIDWith:apiecoKey
    id:id
    age:age
    enableTriage5:enableTriage5
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.SymptomsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} symptoms id

var age = age_example; // {String} age

var enableTriage5 = true; // {Boolean} enable 5-level triage values


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

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

            var apiInstance = new SymptomsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | symptoms id
            var age = age_example;  // String | age
            var enableTriage5 = true;  // Boolean | enable 5-level triage values

            try
            {
                // 
                inline_response_200_8 result = apiInstance.symptomsByID(apiecoKey, id, age, enableTriage5);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SymptomsApi.symptomsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\SymptomsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | symptoms id
$age = age_example; // String | age
$enableTriage5 = true; // Boolean | enable 5-level triage values

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

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

my $api_instance = WWW::SwaggerClient::SymptomsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | symptoms id
my $age = age_example; # String | age
my $enableTriage5 = true; # Boolean | enable 5-level triage values

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

# create an instance of the API class
api_instance = swagger_client.SymptomsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | symptoms id
age = age_example # String | age
enableTriage5 = true # Boolean | enable 5-level triage values

try: 
    # 
    api_response = api_instance.symptoms_by_id(apiecoKey, id, age, enableTriage5)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SymptomsApi->symptomsByID: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
symptoms id
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
age*
String
age
Required
enable_triage_5*
Boolean
enable 5-level triage values
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Triage

triage

Estimates triage level based on provided patient information.


/v2/triage/

Usage and SDK Samples

curl -X POST -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/infermedica/v2/triage/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TriageApi;

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

public class TriageApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        TriageApi apiInstance = new TriageApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_9 result = apiInstance.triage(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TriageApi#triage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TriageApi;

public class TriageApiExample {

    public static void main(String[] args) {
        TriageApi apiInstance = new TriageApi();
        String apiecoKey = apiecoKey_example; // String | 
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_9 result = apiInstance.triage(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TriageApi#triage");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
Body_6 *body = ; // 

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

// 
[apiInstance triageWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var InfermedicaApiDocumentation = require('infermedica_api_documentation');
var defaultClient = InfermedicaApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new InfermedicaApiDocumentation.TriageApi()

var apiecoKey = apiecoKey_example; // {String} 

var body = ; // {Body_6} 


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

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

            var apiInstance = new TriageApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var body = new Body_6(); // Body_6 | 

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

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

$api_instance = new Swagger\Client\Api\TriageApi();
$apiecoKey = apiecoKey_example; // String | 
$body = ; // Body_6 | 

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

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

my $api_instance = WWW::SwaggerClient::TriageApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $body = WWW::SwaggerClient::Object::Body_6->new(); # Body_6 | 

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

# create an instance of the API class
api_instance = swagger_client.TriageApi()
apiecoKey = apiecoKey_example # String | 
body =  # Body_6 | 

try: 
    # 
    api_response = api_instance.triage(apiecoKey, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TriageApi->triage: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Successful

Status: 405 - Invalid input