ODM2 REST API

Actions

getActions

All ODM2 actions retrieval


/actions

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/actions?actionID=&actionType=&samplingFeatureID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ActionsApi;

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

public class ActionsApiExample {

    public static void main(String[] args) {
        
        ActionsApi apiInstance = new ActionsApi();
        String actionID = actionID_example; // String | Action ID(s)
        String actionType = actionType_example; // String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). Integer samplingFeatureID = 56; // Integer | Sampling Feature ID try { apiInstance.getActions(actionID, actionType, samplingFeatureID); } catch (ApiException e) { System.err.println("Exception when calling ActionsApi#getActions"); e.printStackTrace(); } } }
import io.swagger.client.api.ActionsApi;

public class ActionsApiExample {

    public static void main(String[] args) {
        ActionsApi apiInstance = new ActionsApi();
        String actionID = actionID_example; // String | Action ID(s)
        String actionType = actionType_example; // String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). Integer samplingFeatureID = 56; // Integer | Sampling Feature ID try { apiInstance.getActions(actionID, actionType, samplingFeatureID); } catch (ApiException e) { System.err.println("Exception when calling ActionsApi#getActions"); e.printStackTrace(); } } }
String *actionID = actionID_example; // Action ID(s) (optional)
String *actionType = actionType_example; // Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). (optional) Integer *samplingFeatureID = 56; // Sampling Feature ID (optional) ActionsApi *apiInstance = [[ActionsApi alloc] init]; // All ODM2 actions retrieval [apiInstance getActionsWith:actionID actionType:actionType samplingFeatureID:samplingFeatureID completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.ActionsApi()

var opts = { 
  'actionID': actionID_example, // {String} Action ID(s)
  'actionType': actionType_example, // {String} Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). 'samplingFeatureID': 56 // {Integer} Sampling Feature ID }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getActions(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getActionsExample
    {
        public void main()
        {
            
            var apiInstance = new ActionsApi();
            var actionID = actionID_example;  // String | Action ID(s) (optional) 
            var actionType = actionType_example;  // String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). (optional) var samplingFeatureID = 56; // Integer | Sampling Feature ID (optional) try { // All ODM2 actions retrieval apiInstance.getActions(actionID, actionType, samplingFeatureID); } catch (Exception e) { Debug.Print("Exception when calling ActionsApi.getActions: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ActionsApi();
$actionID = actionID_example; // String | Action ID(s)
$actionType = actionType_example; // String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). $samplingFeatureID = 56; // Integer | Sampling Feature ID try { $api_instance->getActions($actionID, $actionType, $samplingFeatureID); } catch (Exception $e) { echo 'Exception when calling ActionsApi->getActions: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ActionsApi;

my $api_instance = WWW::SwaggerClient::ActionsApi->new();
my $actionID = actionID_example; # String | Action ID(s)
my $actionType = actionType_example; # String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). my $samplingFeatureID = 56; # Integer | Sampling Feature ID eval { $api_instance->getActions(actionID => $actionID, actionType => $actionType, samplingFeatureID => $samplingFeatureID); }; if ($@) { warn "Exception when calling ActionsApi->getActions: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ActionsApi()
actionID = actionID_example # String | Action ID(s) (optional)
actionType = actionType_example # String | Action Type (Name). 
See all available Action Types [here](http://vocabulary.odm2.org/actiontype/). (optional) samplingFeatureID = 56 # Integer | Sampling Feature ID (optional) try: # All ODM2 actions retrieval api_instance.get_actions(actionID=actionID, actionType=actionType, samplingFeatureID=samplingFeatureID) except ApiException as e: print("Exception when calling ActionsApi->getActions: %s\n" % e)

Parameters

Query parameters
Name Description
actionID
String
Action ID(s)
actionType
String
Action Type (Name). <br> See all available Action Types [here](http://vocabulary.odm2.org/actiontype/).
samplingFeatureID
Integer
Sampling Feature ID

Responses

Status: 200 - 200 Response


Affiliations

getAffiliations

ODM2 affiliations retrieval by Affiliation ID(s)


/affiliations

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/affiliations?affiliationID=&firstName=&lastName=&organizationCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AffiliationsApi;

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

public class AffiliationsApiExample {

    public static void main(String[] args) {
        
        AffiliationsApi apiInstance = new AffiliationsApi();
        String affiliationID = affiliationID_example; // String | Affiliation ID(s)
        String firstName = firstName_example; // String | Person First Name
        String lastName = lastName_example; // String | Person Last Name
        String organizationCode = organizationCode_example; // String | Organization Code
        try {
            apiInstance.getAffiliations(affiliationID, firstName, lastName, organizationCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling AffiliationsApi#getAffiliations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AffiliationsApi;

public class AffiliationsApiExample {

    public static void main(String[] args) {
        AffiliationsApi apiInstance = new AffiliationsApi();
        String affiliationID = affiliationID_example; // String | Affiliation ID(s)
        String firstName = firstName_example; // String | Person First Name
        String lastName = lastName_example; // String | Person Last Name
        String organizationCode = organizationCode_example; // String | Organization Code
        try {
            apiInstance.getAffiliations(affiliationID, firstName, lastName, organizationCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling AffiliationsApi#getAffiliations");
            e.printStackTrace();
        }
    }
}
String *affiliationID = affiliationID_example; // Affiliation ID(s) (optional)
String *firstName = firstName_example; // Person First Name (optional)
String *lastName = lastName_example; // Person Last Name (optional)
String *organizationCode = organizationCode_example; // Organization Code (optional)

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

// ODM2 affiliations retrieval by Affiliation ID(s)
[apiInstance getAffiliationsWith:affiliationID
    firstName:firstName
    lastName:lastName
    organizationCode:organizationCode
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.AffiliationsApi()

var opts = { 
  'affiliationID': affiliationID_example, // {String} Affiliation ID(s)
  'firstName': firstName_example, // {String} Person First Name
  'lastName': lastName_example, // {String} Person Last Name
  'organizationCode': organizationCode_example // {String} Organization Code
};

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

namespace Example
{
    public class getAffiliationsExample
    {
        public void main()
        {
            
            var apiInstance = new AffiliationsApi();
            var affiliationID = affiliationID_example;  // String | Affiliation ID(s) (optional) 
            var firstName = firstName_example;  // String | Person First Name (optional) 
            var lastName = lastName_example;  // String | Person Last Name (optional) 
            var organizationCode = organizationCode_example;  // String | Organization Code (optional) 

            try
            {
                // ODM2 affiliations retrieval by Affiliation ID(s)
                apiInstance.getAffiliations(affiliationID, firstName, lastName, organizationCode);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AffiliationsApi.getAffiliations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AffiliationsApi();
$affiliationID = affiliationID_example; // String | Affiliation ID(s)
$firstName = firstName_example; // String | Person First Name
$lastName = lastName_example; // String | Person Last Name
$organizationCode = organizationCode_example; // String | Organization Code

try {
    $api_instance->getAffiliations($affiliationID, $firstName, $lastName, $organizationCode);
} catch (Exception $e) {
    echo 'Exception when calling AffiliationsApi->getAffiliations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AffiliationsApi;

my $api_instance = WWW::SwaggerClient::AffiliationsApi->new();
my $affiliationID = affiliationID_example; # String | Affiliation ID(s)
my $firstName = firstName_example; # String | Person First Name
my $lastName = lastName_example; # String | Person Last Name
my $organizationCode = organizationCode_example; # String | Organization Code

eval { 
    $api_instance->getAffiliations(affiliationID => $affiliationID, firstName => $firstName, lastName => $lastName, organizationCode => $organizationCode);
};
if ($@) {
    warn "Exception when calling AffiliationsApi->getAffiliations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AffiliationsApi()
affiliationID = affiliationID_example # String | Affiliation ID(s) (optional)
firstName = firstName_example # String | Person First Name (optional)
lastName = lastName_example # String | Person Last Name (optional)
organizationCode = organizationCode_example # String | Organization Code (optional)

try: 
    # ODM2 affiliations retrieval by Affiliation ID(s)
    api_instance.get_affiliations(affiliationID=affiliationID, firstName=firstName, lastName=lastName, organizationCode=organizationCode)
except ApiException as e:
    print("Exception when calling AffiliationsApi->getAffiliations: %s\n" % e)

Parameters

Query parameters
Name Description
affiliationID
String
Affiliation ID(s)
firstName
String
Person First Name
lastName
String
Person Last Name
organizationCode
String
Organization Code

Responses

Status: 200 - 200 Response


Datasetresults

getDatasetResults

All ODM2 Dataset Results retrieval


/datasetresults

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/datasetresults?datasetID=&datasetUUID=&datasetCode=&datasetType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatasetresultsApi;

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

public class DatasetresultsApiExample {

    public static void main(String[] args) {
        
        DatasetresultsApi apiInstance = new DatasetresultsApi();
        String datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
        String datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
        String datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getDatasetResults(datasetID, datasetUUID, datasetCode, datasetType); } catch (ApiException e) { System.err.println("Exception when calling DatasetresultsApi#getDatasetResults"); e.printStackTrace(); } } }
import io.swagger.client.api.DatasetresultsApi;

public class DatasetresultsApiExample {

    public static void main(String[] args) {
        DatasetresultsApi apiInstance = new DatasetresultsApi();
        String datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
        String datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
        String datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getDatasetResults(datasetID, datasetUUID, datasetCode, datasetType); } catch (ApiException e) { System.err.println("Exception when calling DatasetresultsApi#getDatasetResults"); e.printStackTrace(); } } }
String *datasetID = datasetID_example; // Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional)
String *datasetUUID = datasetUUID_example; // Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional)
String *datasetCode = datasetCode_example; // Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional)
String *datasetType = datasetType_example; // Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) DatasetresultsApi *apiInstance = [[DatasetresultsApi alloc] init]; // All ODM2 Dataset Results retrieval [apiInstance getDatasetResultsWith:datasetID datasetUUID:datasetUUID datasetCode:datasetCode datasetType:datasetType completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.DatasetresultsApi()

var opts = { 
  'datasetID': datasetID_example, // {String} Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
  'datasetUUID': datasetUUID_example, // {String} Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
  'datasetCode': datasetCode_example, // {String} Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
  'datasetType': datasetType_example // {String} Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getDatasetResults(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDatasetResultsExample
    {
        public void main()
        {
            
            var apiInstance = new DatasetresultsApi();
            var datasetID = datasetID_example;  // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional) 
            var datasetUUID = datasetUUID_example;  // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional) 
            var datasetCode = datasetCode_example;  // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional) 
            var datasetType = datasetType_example;  // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try { // All ODM2 Dataset Results retrieval apiInstance.getDatasetResults(datasetID, datasetUUID, datasetCode, datasetType); } catch (Exception e) { Debug.Print("Exception when calling DatasetresultsApi.getDatasetResults: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DatasetresultsApi();
$datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
$datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
$datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
$datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { $api_instance->getDatasetResults($datasetID, $datasetUUID, $datasetCode, $datasetType); } catch (Exception $e) { echo 'Exception when calling DatasetresultsApi->getDatasetResults: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DatasetresultsApi;

my $api_instance = WWW::SwaggerClient::DatasetresultsApi->new();
my $datasetID = datasetID_example; # String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
my $datasetUUID = datasetUUID_example; # String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
my $datasetCode = datasetCode_example; # String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
my $datasetType = datasetType_example; # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). eval { $api_instance->getDatasetResults(datasetID => $datasetID, datasetUUID => $datasetUUID, datasetCode => $datasetCode, datasetType => $datasetType); }; if ($@) { warn "Exception when calling DatasetresultsApi->getDatasetResults: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DatasetresultsApi()
datasetID = datasetID_example # String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional)
datasetUUID = datasetUUID_example # String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional)
datasetCode = datasetCode_example # String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional)
datasetType = datasetType_example # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try: # All ODM2 Dataset Results retrieval api_instance.get_dataset_results(datasetID=datasetID, datasetUUID=datasetUUID, datasetCode=datasetCode, datasetType=datasetType) except ApiException as e: print("Exception when calling DatasetresultsApi->getDatasetResults: %s\n" % e)

Parameters

Query parameters
Name Description
datasetID
String
Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
datasetUUID
String
Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
datasetCode
String
Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
datasetType
String
Dataset Type (Name). <br> See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/).

Responses

Status: 200 - 200 Response


Datasets

getDataSets

All ODM2 datasets retrieval.


/datasets

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/datasets?datasetUUID=&datasetCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatasetsApi;

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

public class DatasetsApiExample {

    public static void main(String[] args) {
        
        DatasetsApi apiInstance = new DatasetsApi();
        String datasetUUID = datasetUUID_example; // String | Data Set UUID(s)
        String datasetCode = datasetCode_example; // String | Data Set Code(s)
        try {
            apiInstance.getDataSets(datasetUUID, datasetCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatasetsApi#getDataSets");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DatasetsApi;

public class DatasetsApiExample {

    public static void main(String[] args) {
        DatasetsApi apiInstance = new DatasetsApi();
        String datasetUUID = datasetUUID_example; // String | Data Set UUID(s)
        String datasetCode = datasetCode_example; // String | Data Set Code(s)
        try {
            apiInstance.getDataSets(datasetUUID, datasetCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatasetsApi#getDataSets");
            e.printStackTrace();
        }
    }
}
String *datasetUUID = datasetUUID_example; // Data Set UUID(s) (optional)
String *datasetCode = datasetCode_example; // Data Set Code(s) (optional)

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

// All ODM2 datasets retrieval.
[apiInstance getDataSetsWith:datasetUUID
    datasetCode:datasetCode
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.DatasetsApi()

var opts = { 
  'datasetUUID': datasetUUID_example, // {String} Data Set UUID(s)
  'datasetCode': datasetCode_example // {String} Data Set Code(s)
};

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

namespace Example
{
    public class getDataSetsExample
    {
        public void main()
        {
            
            var apiInstance = new DatasetsApi();
            var datasetUUID = datasetUUID_example;  // String | Data Set UUID(s) (optional) 
            var datasetCode = datasetCode_example;  // String | Data Set Code(s) (optional) 

            try
            {
                // All ODM2 datasets retrieval.
                apiInstance.getDataSets(datasetUUID, datasetCode);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DatasetsApi.getDataSets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DatasetsApi();
$datasetUUID = datasetUUID_example; // String | Data Set UUID(s)
$datasetCode = datasetCode_example; // String | Data Set Code(s)

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

my $api_instance = WWW::SwaggerClient::DatasetsApi->new();
my $datasetUUID = datasetUUID_example; # String | Data Set UUID(s)
my $datasetCode = datasetCode_example; # String | Data Set Code(s)

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

# create an instance of the API class
api_instance = swagger_client.DatasetsApi()
datasetUUID = datasetUUID_example # String | Data Set UUID(s) (optional)
datasetCode = datasetCode_example # String | Data Set Code(s) (optional)

try: 
    # All ODM2 datasets retrieval.
    api_instance.get_data_sets(datasetUUID=datasetUUID, datasetCode=datasetCode)
except ApiException as e:
    print("Exception when calling DatasetsApi->getDataSets: %s\n" % e)

Parameters

Query parameters
Name Description
datasetUUID
String
Data Set UUID(s)
datasetCode
String
Data Set Code(s)

Responses

Status: 200 - 200 Response


Datasetvalues

getDataSetsValues

ODM2 datasetvalues retrieval


/datasetvalues

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/datasetvalues?datasetID=&datasetUUID=&datasetCode=&datasetType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatasetvaluesApi;

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

public class DatasetvaluesApiExample {

    public static void main(String[] args) {
        
        DatasetvaluesApi apiInstance = new DatasetvaluesApi();
        String datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
        String datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
        String datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getDataSetsValues(datasetID, datasetUUID, datasetCode, datasetType); } catch (ApiException e) { System.err.println("Exception when calling DatasetvaluesApi#getDataSetsValues"); e.printStackTrace(); } } }
import io.swagger.client.api.DatasetvaluesApi;

public class DatasetvaluesApiExample {

    public static void main(String[] args) {
        DatasetvaluesApi apiInstance = new DatasetvaluesApi();
        String datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
        String datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
        String datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getDataSetsValues(datasetID, datasetUUID, datasetCode, datasetType); } catch (ApiException e) { System.err.println("Exception when calling DatasetvaluesApi#getDataSetsValues"); e.printStackTrace(); } } }
String *datasetID = datasetID_example; // Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional)
String *datasetUUID = datasetUUID_example; // Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional)
String *datasetCode = datasetCode_example; // Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional)
String *datasetType = datasetType_example; // Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) DatasetvaluesApi *apiInstance = [[DatasetvaluesApi alloc] init]; // ODM2 datasetvalues retrieval [apiInstance getDataSetsValuesWith:datasetID datasetUUID:datasetUUID datasetCode:datasetCode datasetType:datasetType completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.DatasetvaluesApi()

var opts = { 
  'datasetID': datasetID_example, // {String} Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
  'datasetUUID': datasetUUID_example, // {String} Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
  'datasetCode': datasetCode_example, // {String} Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
  'datasetType': datasetType_example // {String} Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getDataSetsValues(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDataSetsValuesExample
    {
        public void main()
        {
            
            var apiInstance = new DatasetvaluesApi();
            var datasetID = datasetID_example;  // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional) 
            var datasetUUID = datasetUUID_example;  // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional) 
            var datasetCode = datasetCode_example;  // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional) 
            var datasetType = datasetType_example;  // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try { // ODM2 datasetvalues retrieval apiInstance.getDataSetsValues(datasetID, datasetUUID, datasetCode, datasetType); } catch (Exception e) { Debug.Print("Exception when calling DatasetvaluesApi.getDataSetsValues: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DatasetvaluesApi();
$datasetID = datasetID_example; // String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
$datasetUUID = datasetUUID_example; // String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
$datasetCode = datasetCode_example; // String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
$datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { $api_instance->getDataSetsValues($datasetID, $datasetUUID, $datasetCode, $datasetType); } catch (Exception $e) { echo 'Exception when calling DatasetvaluesApi->getDataSetsValues: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DatasetvaluesApi;

my $api_instance = WWW::SwaggerClient::DatasetvaluesApi->new();
my $datasetID = datasetID_example; # String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
my $datasetUUID = datasetUUID_example; # String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
my $datasetCode = datasetCode_example; # String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
my $datasetType = datasetType_example; # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). eval { $api_instance->getDataSetsValues(datasetID => $datasetID, datasetUUID => $datasetUUID, datasetCode => $datasetCode, datasetType => $datasetType); }; if ($@) { warn "Exception when calling DatasetvaluesApi->getDataSetsValues: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DatasetvaluesApi()
datasetID = datasetID_example # String | Dataset ID(s) **Required (or Dataset UUID or Dataset Code)** (optional)
datasetUUID = datasetUUID_example # String | Dataset UUID(s) **Required (or Dataset ID or Dataset Code)** (optional)
datasetCode = datasetCode_example # String | Dataset Code(s) **Required (or Dataset ID or Dataset UUID)** (optional)
datasetType = datasetType_example # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try: # ODM2 datasetvalues retrieval api_instance.get_data_sets_values(datasetID=datasetID, datasetUUID=datasetUUID, datasetCode=datasetCode, datasetType=datasetType) except ApiException as e: print("Exception when calling DatasetvaluesApi->getDataSetsValues: %s\n" % e)

Parameters

Query parameters
Name Description
datasetID
String
Dataset ID(s) **Required (or Dataset UUID or Dataset Code)**
datasetUUID
String
Dataset UUID(s) **Required (or Dataset ID or Dataset Code)**
datasetCode
String
Dataset Code(s) **Required (or Dataset ID or Dataset UUID)**
datasetType
String
Dataset Type (Name). <br> See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/).

Responses

Status: 200 - 200 Response


Methods

getMethods

All ODM2 methods retrieval


/methods

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/methods?methodCode=&methodID=&methodType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MethodsApi;

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

public class MethodsApiExample {

    public static void main(String[] args) {
        
        MethodsApi apiInstance = new MethodsApi();
        String methodCode = methodCode_example; // String | Method Code(s)
        String methodID = methodID_example; // String | Method ID(s)
        String methodType = methodType_example; // String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). try { apiInstance.getMethods(methodCode, methodID, methodType); } catch (ApiException e) { System.err.println("Exception when calling MethodsApi#getMethods"); e.printStackTrace(); } } }
import io.swagger.client.api.MethodsApi;

public class MethodsApiExample {

    public static void main(String[] args) {
        MethodsApi apiInstance = new MethodsApi();
        String methodCode = methodCode_example; // String | Method Code(s)
        String methodID = methodID_example; // String | Method ID(s)
        String methodType = methodType_example; // String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). try { apiInstance.getMethods(methodCode, methodID, methodType); } catch (ApiException e) { System.err.println("Exception when calling MethodsApi#getMethods"); e.printStackTrace(); } } }
String *methodCode = methodCode_example; // Method Code(s) (optional)
String *methodID = methodID_example; // Method ID(s) (optional)
String *methodType = methodType_example; // Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). (optional) MethodsApi *apiInstance = [[MethodsApi alloc] init]; // All ODM2 methods retrieval [apiInstance getMethodsWith:methodCode methodID:methodID methodType:methodType completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.MethodsApi()

var opts = { 
  'methodCode': methodCode_example, // {String} Method Code(s)
  'methodID': methodID_example, // {String} Method ID(s)
  'methodType': methodType_example // {String} Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getMethods(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getMethodsExample
    {
        public void main()
        {
            
            var apiInstance = new MethodsApi();
            var methodCode = methodCode_example;  // String | Method Code(s) (optional) 
            var methodID = methodID_example;  // String | Method ID(s) (optional) 
            var methodType = methodType_example;  // String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). (optional) try { // All ODM2 methods retrieval apiInstance.getMethods(methodCode, methodID, methodType); } catch (Exception e) { Debug.Print("Exception when calling MethodsApi.getMethods: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MethodsApi();
$methodCode = methodCode_example; // String | Method Code(s)
$methodID = methodID_example; // String | Method ID(s)
$methodType = methodType_example; // String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). try { $api_instance->getMethods($methodCode, $methodID, $methodType); } catch (Exception $e) { echo 'Exception when calling MethodsApi->getMethods: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MethodsApi;

my $api_instance = WWW::SwaggerClient::MethodsApi->new();
my $methodCode = methodCode_example; # String | Method Code(s)
my $methodID = methodID_example; # String | Method ID(s)
my $methodType = methodType_example; # String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). eval { $api_instance->getMethods(methodCode => $methodCode, methodID => $methodID, methodType => $methodType); }; if ($@) { warn "Exception when calling MethodsApi->getMethods: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MethodsApi()
methodCode = methodCode_example # String | Method Code(s) (optional)
methodID = methodID_example # String | Method ID(s) (optional)
methodType = methodType_example # String | Method Type (Name). 
See all available Method Types [here](http://vocabulary.odm2.org/methodtype/). (optional) try: # All ODM2 methods retrieval api_instance.get_methods(methodCode=methodCode, methodID=methodID, methodType=methodType) except ApiException as e: print("Exception when calling MethodsApi->getMethods: %s\n" % e)

Parameters

Query parameters
Name Description
methodCode
String
Method Code(s)
methodID
String
Method ID(s)
methodType
String
Method Type (Name). <br> See all available Method Types [here](http://vocabulary.odm2.org/methodtype/).

Responses

Status: 200 - 200 Response


Organizations

getOrganizations

All ODM2 organizations retrieval


/organizations

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/organizations?organizationID=&organizationCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrganizationsApi;

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

public class OrganizationsApiExample {

    public static void main(String[] args) {
        
        OrganizationsApi apiInstance = new OrganizationsApi();
        String organizationID = organizationID_example; // String | Organization ID(s)
        String organizationCode = organizationCode_example; // String | Organization Code(s)
        try {
            apiInstance.getOrganizations(organizationID, organizationCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationsApi#getOrganizations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrganizationsApi;

public class OrganizationsApiExample {

    public static void main(String[] args) {
        OrganizationsApi apiInstance = new OrganizationsApi();
        String organizationID = organizationID_example; // String | Organization ID(s)
        String organizationCode = organizationCode_example; // String | Organization Code(s)
        try {
            apiInstance.getOrganizations(organizationID, organizationCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrganizationsApi#getOrganizations");
            e.printStackTrace();
        }
    }
}
String *organizationID = organizationID_example; // Organization ID(s) (optional)
String *organizationCode = organizationCode_example; // Organization Code(s) (optional)

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

// All ODM2 organizations retrieval
[apiInstance getOrganizationsWith:organizationID
    organizationCode:organizationCode
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.OrganizationsApi()

var opts = { 
  'organizationID': organizationID_example, // {String} Organization ID(s)
  'organizationCode': organizationCode_example // {String} Organization Code(s)
};

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

namespace Example
{
    public class getOrganizationsExample
    {
        public void main()
        {
            
            var apiInstance = new OrganizationsApi();
            var organizationID = organizationID_example;  // String | Organization ID(s) (optional) 
            var organizationCode = organizationCode_example;  // String | Organization Code(s) (optional) 

            try
            {
                // All ODM2 organizations retrieval
                apiInstance.getOrganizations(organizationID, organizationCode);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrganizationsApi.getOrganizations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\OrganizationsApi();
$organizationID = organizationID_example; // String | Organization ID(s)
$organizationCode = organizationCode_example; // String | Organization Code(s)

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

my $api_instance = WWW::SwaggerClient::OrganizationsApi->new();
my $organizationID = organizationID_example; # String | Organization ID(s)
my $organizationCode = organizationCode_example; # String | Organization Code(s)

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

# create an instance of the API class
api_instance = swagger_client.OrganizationsApi()
organizationID = organizationID_example # String | Organization ID(s) (optional)
organizationCode = organizationCode_example # String | Organization Code(s) (optional)

try: 
    # All ODM2 organizations retrieval
    api_instance.get_organizations(organizationID=organizationID, organizationCode=organizationCode)
except ApiException as e:
    print("Exception when calling OrganizationsApi->getOrganizations: %s\n" % e)

Parameters

Query parameters
Name Description
organizationID
String
Organization ID(s)
organizationCode
String
Organization Code(s)

Responses

Status: 200 - 200 Response


People

getPeopleVersion1

All ODM2 people retrieval.


/people

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/people?peopleID=&firstName=&lastName="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PeopleApi;

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

public class PeopleApiExample {

    public static void main(String[] args) {
        
        PeopleApi apiInstance = new PeopleApi();
        String peopleID = peopleID_example; // String | People ID(s)
        String firstName = firstName_example; // String | Person First Name
        String lastName = lastName_example; // String | Person Last Name
        try {
            apiInstance.getPeopleVersion1(peopleID, firstName, lastName);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getPeopleVersion1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PeopleApi;

public class PeopleApiExample {

    public static void main(String[] args) {
        PeopleApi apiInstance = new PeopleApi();
        String peopleID = peopleID_example; // String | People ID(s)
        String firstName = firstName_example; // String | Person First Name
        String lastName = lastName_example; // String | Person Last Name
        try {
            apiInstance.getPeopleVersion1(peopleID, firstName, lastName);
        } catch (ApiException e) {
            System.err.println("Exception when calling PeopleApi#getPeopleVersion1");
            e.printStackTrace();
        }
    }
}
String *peopleID = peopleID_example; // People ID(s) (optional)
String *firstName = firstName_example; // Person First Name (optional)
String *lastName = lastName_example; // Person Last Name (optional)

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

// All ODM2 people retrieval.
[apiInstance getPeopleVersion1With:peopleID
    firstName:firstName
    lastName:lastName
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.PeopleApi()

var opts = { 
  'peopleID': peopleID_example, // {String} People ID(s)
  'firstName': firstName_example, // {String} Person First Name
  'lastName': lastName_example // {String} Person Last Name
};

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

namespace Example
{
    public class getPeopleVersion1Example
    {
        public void main()
        {
            
            var apiInstance = new PeopleApi();
            var peopleID = peopleID_example;  // String | People ID(s) (optional) 
            var firstName = firstName_example;  // String | Person First Name (optional) 
            var lastName = lastName_example;  // String | Person Last Name (optional) 

            try
            {
                // All ODM2 people retrieval.
                apiInstance.getPeopleVersion1(peopleID, firstName, lastName);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PeopleApi.getPeopleVersion1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PeopleApi();
$peopleID = peopleID_example; // String | People ID(s)
$firstName = firstName_example; // String | Person First Name
$lastName = lastName_example; // String | Person Last Name

try {
    $api_instance->getPeopleVersion1($peopleID, $firstName, $lastName);
} catch (Exception $e) {
    echo 'Exception when calling PeopleApi->getPeopleVersion1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PeopleApi;

my $api_instance = WWW::SwaggerClient::PeopleApi->new();
my $peopleID = peopleID_example; # String | People ID(s)
my $firstName = firstName_example; # String | Person First Name
my $lastName = lastName_example; # String | Person Last Name

eval { 
    $api_instance->getPeopleVersion1(peopleID => $peopleID, firstName => $firstName, lastName => $lastName);
};
if ($@) {
    warn "Exception when calling PeopleApi->getPeopleVersion1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PeopleApi()
peopleID = peopleID_example # String | People ID(s) (optional)
firstName = firstName_example # String | Person First Name (optional)
lastName = lastName_example # String | Person Last Name (optional)

try: 
    # All ODM2 people retrieval.
    api_instance.get_people_version1(peopleID=peopleID, firstName=firstName, lastName=lastName)
except ApiException as e:
    print("Exception when calling PeopleApi->getPeopleVersion1: %s\n" % e)

Parameters

Query parameters
Name Description
peopleID
String
People ID(s)
firstName
String
Person First Name
lastName
String
Person Last Name

Responses

Status: 200 - 200 Response


Processinglevels

getProcessingLevels

All ODM2 Processing Levels retrieval


/processinglevels

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/processinglevels?processingLevelID=&processingLevelCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcessinglevelsApi;

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

public class ProcessinglevelsApiExample {

    public static void main(String[] args) {
        
        ProcessinglevelsApi apiInstance = new ProcessinglevelsApi();
        String processingLevelID = processingLevelID_example; // String | Processing Level ID(s)
        String processingLevelCode = processingLevelCode_example; // String | Processing Level Code(s)
        try {
            apiInstance.getProcessingLevels(processingLevelID, processingLevelCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcessinglevelsApi#getProcessingLevels");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcessinglevelsApi;

public class ProcessinglevelsApiExample {

    public static void main(String[] args) {
        ProcessinglevelsApi apiInstance = new ProcessinglevelsApi();
        String processingLevelID = processingLevelID_example; // String | Processing Level ID(s)
        String processingLevelCode = processingLevelCode_example; // String | Processing Level Code(s)
        try {
            apiInstance.getProcessingLevels(processingLevelID, processingLevelCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcessinglevelsApi#getProcessingLevels");
            e.printStackTrace();
        }
    }
}
String *processingLevelID = processingLevelID_example; // Processing Level ID(s) (optional)
String *processingLevelCode = processingLevelCode_example; // Processing Level Code(s) (optional)

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

// All ODM2 Processing Levels retrieval
[apiInstance getProcessingLevelsWith:processingLevelID
    processingLevelCode:processingLevelCode
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.ProcessinglevelsApi()

var opts = { 
  'processingLevelID': processingLevelID_example, // {String} Processing Level ID(s)
  'processingLevelCode': processingLevelCode_example // {String} Processing Level Code(s)
};

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

namespace Example
{
    public class getProcessingLevelsExample
    {
        public void main()
        {
            
            var apiInstance = new ProcessinglevelsApi();
            var processingLevelID = processingLevelID_example;  // String | Processing Level ID(s) (optional) 
            var processingLevelCode = processingLevelCode_example;  // String | Processing Level Code(s) (optional) 

            try
            {
                // All ODM2 Processing Levels retrieval
                apiInstance.getProcessingLevels(processingLevelID, processingLevelCode);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcessinglevelsApi.getProcessingLevels: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProcessinglevelsApi();
$processingLevelID = processingLevelID_example; // String | Processing Level ID(s)
$processingLevelCode = processingLevelCode_example; // String | Processing Level Code(s)

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

my $api_instance = WWW::SwaggerClient::ProcessinglevelsApi->new();
my $processingLevelID = processingLevelID_example; # String | Processing Level ID(s)
my $processingLevelCode = processingLevelCode_example; # String | Processing Level Code(s)

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

# create an instance of the API class
api_instance = swagger_client.ProcessinglevelsApi()
processingLevelID = processingLevelID_example # String | Processing Level ID(s) (optional)
processingLevelCode = processingLevelCode_example # String | Processing Level Code(s) (optional)

try: 
    # All ODM2 Processing Levels retrieval
    api_instance.get_processing_levels(processingLevelID=processingLevelID, processingLevelCode=processingLevelCode)
except ApiException as e:
    print("Exception when calling ProcessinglevelsApi->getProcessingLevels: %s\n" % e)

Parameters

Query parameters
Name Description
processingLevelID
String
Processing Level ID(s)
processingLevelCode
String
Processing Level Code(s)

Responses

Status: 200 - 200 Response


Results

getResultsVersion1

All ODM2 results retrieval.


/results

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/results?resultID=&resultUUID=&resultType=&actionID=&samplingFeatureID=&siteID=&variableID=&simulationID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ResultsApi;

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

public class ResultsApiExample {

    public static void main(String[] args) {
        
        ResultsApi apiInstance = new ResultsApi();
        String resultID = resultID_example; // String | Result ID(s)
        String resultUUID = resultUUID_example; // String | Result UUID(s)
        String resultType = resultType_example; // String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). Integer actionID = 56; // Integer | Action ID Integer samplingFeatureID = 56; // Integer | Sampling Feature ID Integer siteID = 56; // Integer | Site ID Integer variableID = 56; // Integer | Variable ID Integer simulationID = 56; // Integer | Simulation ID try { apiInstance.getResultsVersion1(resultID, resultUUID, resultType, actionID, samplingFeatureID, siteID, variableID, simulationID); } catch (ApiException e) { System.err.println("Exception when calling ResultsApi#getResultsVersion1"); e.printStackTrace(); } } }
import io.swagger.client.api.ResultsApi;

public class ResultsApiExample {

    public static void main(String[] args) {
        ResultsApi apiInstance = new ResultsApi();
        String resultID = resultID_example; // String | Result ID(s)
        String resultUUID = resultUUID_example; // String | Result UUID(s)
        String resultType = resultType_example; // String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). Integer actionID = 56; // Integer | Action ID Integer samplingFeatureID = 56; // Integer | Sampling Feature ID Integer siteID = 56; // Integer | Site ID Integer variableID = 56; // Integer | Variable ID Integer simulationID = 56; // Integer | Simulation ID try { apiInstance.getResultsVersion1(resultID, resultUUID, resultType, actionID, samplingFeatureID, siteID, variableID, simulationID); } catch (ApiException e) { System.err.println("Exception when calling ResultsApi#getResultsVersion1"); e.printStackTrace(); } } }
String *resultID = resultID_example; // Result ID(s) (optional)
String *resultUUID = resultUUID_example; // Result UUID(s) (optional)
String *resultType = resultType_example; // Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). (optional) Integer *actionID = 56; // Action ID (optional) Integer *samplingFeatureID = 56; // Sampling Feature ID (optional) Integer *siteID = 56; // Site ID (optional) Integer *variableID = 56; // Variable ID (optional) Integer *simulationID = 56; // Simulation ID (optional) ResultsApi *apiInstance = [[ResultsApi alloc] init]; // All ODM2 results retrieval. [apiInstance getResultsVersion1With:resultID resultUUID:resultUUID resultType:resultType actionID:actionID samplingFeatureID:samplingFeatureID siteID:siteID variableID:variableID simulationID:simulationID completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.ResultsApi()

var opts = { 
  'resultID': resultID_example, // {String} Result ID(s)
  'resultUUID': resultUUID_example, // {String} Result UUID(s)
  'resultType': resultType_example, // {String} Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). 'actionID': 56, // {Integer} Action ID 'samplingFeatureID': 56, // {Integer} Sampling Feature ID 'siteID': 56, // {Integer} Site ID 'variableID': 56, // {Integer} Variable ID 'simulationID': 56 // {Integer} Simulation ID }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getResultsVersion1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getResultsVersion1Example
    {
        public void main()
        {
            
            var apiInstance = new ResultsApi();
            var resultID = resultID_example;  // String | Result ID(s) (optional) 
            var resultUUID = resultUUID_example;  // String | Result UUID(s) (optional) 
            var resultType = resultType_example;  // String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). (optional) var actionID = 56; // Integer | Action ID (optional) var samplingFeatureID = 56; // Integer | Sampling Feature ID (optional) var siteID = 56; // Integer | Site ID (optional) var variableID = 56; // Integer | Variable ID (optional) var simulationID = 56; // Integer | Simulation ID (optional) try { // All ODM2 results retrieval. apiInstance.getResultsVersion1(resultID, resultUUID, resultType, actionID, samplingFeatureID, siteID, variableID, simulationID); } catch (Exception e) { Debug.Print("Exception when calling ResultsApi.getResultsVersion1: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ResultsApi();
$resultID = resultID_example; // String | Result ID(s)
$resultUUID = resultUUID_example; // String | Result UUID(s)
$resultType = resultType_example; // String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). $actionID = 56; // Integer | Action ID $samplingFeatureID = 56; // Integer | Sampling Feature ID $siteID = 56; // Integer | Site ID $variableID = 56; // Integer | Variable ID $simulationID = 56; // Integer | Simulation ID try { $api_instance->getResultsVersion1($resultID, $resultUUID, $resultType, $actionID, $samplingFeatureID, $siteID, $variableID, $simulationID); } catch (Exception $e) { echo 'Exception when calling ResultsApi->getResultsVersion1: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ResultsApi;

my $api_instance = WWW::SwaggerClient::ResultsApi->new();
my $resultID = resultID_example; # String | Result ID(s)
my $resultUUID = resultUUID_example; # String | Result UUID(s)
my $resultType = resultType_example; # String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). my $actionID = 56; # Integer | Action ID my $samplingFeatureID = 56; # Integer | Sampling Feature ID my $siteID = 56; # Integer | Site ID my $variableID = 56; # Integer | Variable ID my $simulationID = 56; # Integer | Simulation ID eval { $api_instance->getResultsVersion1(resultID => $resultID, resultUUID => $resultUUID, resultType => $resultType, actionID => $actionID, samplingFeatureID => $samplingFeatureID, siteID => $siteID, variableID => $variableID, simulationID => $simulationID); }; if ($@) { warn "Exception when calling ResultsApi->getResultsVersion1: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ResultsApi()
resultID = resultID_example # String | Result ID(s) (optional)
resultUUID = resultUUID_example # String | Result UUID(s) (optional)
resultType = resultType_example # String | Result Type (Name). 
See all available Result Types [here](http://vocabulary.odm2.org/resulttype/). (optional) actionID = 56 # Integer | Action ID (optional) samplingFeatureID = 56 # Integer | Sampling Feature ID (optional) siteID = 56 # Integer | Site ID (optional) variableID = 56 # Integer | Variable ID (optional) simulationID = 56 # Integer | Simulation ID (optional) try: # All ODM2 results retrieval. api_instance.get_results_version1(resultID=resultID, resultUUID=resultUUID, resultType=resultType, actionID=actionID, samplingFeatureID=samplingFeatureID, siteID=siteID, variableID=variableID, simulationID=simulationID) except ApiException as e: print("Exception when calling ResultsApi->getResultsVersion1: %s\n" % e)

Parameters

Query parameters
Name Description
resultID
String
Result ID(s)
resultUUID
String
Result UUID(s)
resultType
String
Result Type (Name). <br> See all available Result Types [here](http://vocabulary.odm2.org/resulttype/).
actionID
Integer
Action ID
samplingFeatureID
Integer
Sampling Feature ID
siteID
Integer
Site ID
variableID
Integer
Variable ID
simulationID
Integer
Simulation ID

Responses

Status: 200 - 200 Response


Resultvalues

getResultValuesByResultID

ODM2 result values retrieval by Result ID(s)


/resultvalues

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/resultvalues?resultID=&beginDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ResultvaluesApi;

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

public class ResultvaluesApiExample {

    public static void main(String[] args) {
        
        ResultvaluesApi apiInstance = new ResultvaluesApi();
        String resultID = resultID_example; // String | Result ID(s)
        String beginDate = beginDate_example; // String | Begin Date 'yyyy-mm-dd hh:mm:ss'
        String endDate = endDate_example; // String | End Date 'yyyy-mm-dd hh:mm:ss'
        try {
            apiInstance.getResultValuesByResultID(resultID, beginDate, endDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling ResultvaluesApi#getResultValuesByResultID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ResultvaluesApi;

public class ResultvaluesApiExample {

    public static void main(String[] args) {
        ResultvaluesApi apiInstance = new ResultvaluesApi();
        String resultID = resultID_example; // String | Result ID(s)
        String beginDate = beginDate_example; // String | Begin Date 'yyyy-mm-dd hh:mm:ss'
        String endDate = endDate_example; // String | End Date 'yyyy-mm-dd hh:mm:ss'
        try {
            apiInstance.getResultValuesByResultID(resultID, beginDate, endDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling ResultvaluesApi#getResultValuesByResultID");
            e.printStackTrace();
        }
    }
}
String *resultID = resultID_example; // Result ID(s)
String *beginDate = beginDate_example; // Begin Date 'yyyy-mm-dd hh:mm:ss' (optional)
String *endDate = endDate_example; // End Date 'yyyy-mm-dd hh:mm:ss' (optional)

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

// ODM2 result values retrieval by Result ID(s)
[apiInstance getResultValuesByResultIDWith:resultID
    beginDate:beginDate
    endDate:endDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.ResultvaluesApi()

var resultID = resultID_example; // {String} Result ID(s)

var opts = { 
  'beginDate': beginDate_example, // {String} Begin Date 'yyyy-mm-dd hh:mm:ss'
  'endDate': endDate_example // {String} End Date 'yyyy-mm-dd hh:mm:ss'
};

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

namespace Example
{
    public class getResultValuesByResultIDExample
    {
        public void main()
        {
            
            var apiInstance = new ResultvaluesApi();
            var resultID = resultID_example;  // String | Result ID(s)
            var beginDate = beginDate_example;  // String | Begin Date 'yyyy-mm-dd hh:mm:ss' (optional) 
            var endDate = endDate_example;  // String | End Date 'yyyy-mm-dd hh:mm:ss' (optional) 

            try
            {
                // ODM2 result values retrieval by Result ID(s)
                apiInstance.getResultValuesByResultID(resultID, beginDate, endDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ResultvaluesApi.getResultValuesByResultID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ResultvaluesApi();
$resultID = resultID_example; // String | Result ID(s)
$beginDate = beginDate_example; // String | Begin Date 'yyyy-mm-dd hh:mm:ss'
$endDate = endDate_example; // String | End Date 'yyyy-mm-dd hh:mm:ss'

try {
    $api_instance->getResultValuesByResultID($resultID, $beginDate, $endDate);
} catch (Exception $e) {
    echo 'Exception when calling ResultvaluesApi->getResultValuesByResultID: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ResultvaluesApi;

my $api_instance = WWW::SwaggerClient::ResultvaluesApi->new();
my $resultID = resultID_example; # String | Result ID(s)
my $beginDate = beginDate_example; # String | Begin Date 'yyyy-mm-dd hh:mm:ss'
my $endDate = endDate_example; # String | End Date 'yyyy-mm-dd hh:mm:ss'

eval { 
    $api_instance->getResultValuesByResultID(resultID => $resultID, beginDate => $beginDate, endDate => $endDate);
};
if ($@) {
    warn "Exception when calling ResultvaluesApi->getResultValuesByResultID: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ResultvaluesApi()
resultID = resultID_example # String | Result ID(s)
beginDate = beginDate_example # String | Begin Date 'yyyy-mm-dd hh:mm:ss' (optional)
endDate = endDate_example # String | End Date 'yyyy-mm-dd hh:mm:ss' (optional)

try: 
    # ODM2 result values retrieval by Result ID(s)
    api_instance.get_result_values_by_result_id(resultID, beginDate=beginDate, endDate=endDate)
except ApiException as e:
    print("Exception when calling ResultvaluesApi->getResultValuesByResultID: %s\n" % e)

Parameters

Query parameters
Name Description
resultID*
String
Result ID(s)
Required
beginDate
String
Begin Date 'yyyy-mm-dd hh:mm:ss'
endDate
String
End Date 'yyyy-mm-dd hh:mm:ss'

Responses

Status: 200 - 200 Response


Samplingfeaturedatasets

getSamplingFeatureDatasets

Get ODM2 Datasets for given set of SamplingFeatures


/samplingfeaturedatasets

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/samplingfeaturedatasets?samplingFeatureID=&samplingFeatureUUID=&samplingFeatureCode=&samplingFeatureType=&datasetType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingfeaturedatasetsApi;

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

public class SamplingfeaturedatasetsApiExample {

    public static void main(String[] args) {
        
        SamplingfeaturedatasetsApi apiInstance = new SamplingfeaturedatasetsApi();
        String samplingFeatureID = samplingFeatureID_example; // String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
        String samplingFeatureUUID = samplingFeatureUUID_example; // String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
        String samplingFeatureCode = samplingFeatureCode_example; // String | SamplingFeature Code(s)
        String samplingFeatureType = samplingFeatureType_example; // String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getSamplingFeatureDatasets(samplingFeatureID, samplingFeatureUUID, samplingFeatureCode, samplingFeatureType, datasetType); } catch (ApiException e) { System.err.println("Exception when calling SamplingfeaturedatasetsApi#getSamplingFeatureDatasets"); e.printStackTrace(); } } }
import io.swagger.client.api.SamplingfeaturedatasetsApi;

public class SamplingfeaturedatasetsApiExample {

    public static void main(String[] args) {
        SamplingfeaturedatasetsApi apiInstance = new SamplingfeaturedatasetsApi();
        String samplingFeatureID = samplingFeatureID_example; // String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
        String samplingFeatureUUID = samplingFeatureUUID_example; // String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
        String samplingFeatureCode = samplingFeatureCode_example; // String | SamplingFeature Code(s)
        String samplingFeatureType = samplingFeatureType_example; // String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
        String datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { apiInstance.getSamplingFeatureDatasets(samplingFeatureID, samplingFeatureUUID, samplingFeatureCode, samplingFeatureType, datasetType); } catch (ApiException e) { System.err.println("Exception when calling SamplingfeaturedatasetsApi#getSamplingFeatureDatasets"); e.printStackTrace(); } } }
String *samplingFeatureID = samplingFeatureID_example; // SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)** (optional)
String *samplingFeatureUUID = samplingFeatureUUID_example; // SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)** (optional)
String *samplingFeatureCode = samplingFeatureCode_example; // SamplingFeature Code(s) (optional)
String *samplingFeatureType = samplingFeatureType_example; // SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)** (optional)
String *datasetType = datasetType_example; // Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) SamplingfeaturedatasetsApi *apiInstance = [[SamplingfeaturedatasetsApi alloc] init]; // Get ODM2 Datasets for given set of SamplingFeatures [apiInstance getSamplingFeatureDatasetsWith:samplingFeatureID samplingFeatureUUID:samplingFeatureUUID samplingFeatureCode:samplingFeatureCode samplingFeatureType:samplingFeatureType datasetType:datasetType completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.SamplingfeaturedatasetsApi()

var opts = { 
  'samplingFeatureID': samplingFeatureID_example, // {String} SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
  'samplingFeatureUUID': samplingFeatureUUID_example, // {String} SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
  'samplingFeatureCode': samplingFeatureCode_example, // {String} SamplingFeature Code(s)
  'samplingFeatureType': samplingFeatureType_example, // {String} SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
  'datasetType': datasetType_example // {String} Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getSamplingFeatureDatasets(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSamplingFeatureDatasetsExample
    {
        public void main()
        {
            
            var apiInstance = new SamplingfeaturedatasetsApi();
            var samplingFeatureID = samplingFeatureID_example;  // String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)** (optional) 
            var samplingFeatureUUID = samplingFeatureUUID_example;  // String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)** (optional) 
            var samplingFeatureCode = samplingFeatureCode_example;  // String | SamplingFeature Code(s) (optional) 
            var samplingFeatureType = samplingFeatureType_example;  // String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)** (optional) 
            var datasetType = datasetType_example;  // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try { // Get ODM2 Datasets for given set of SamplingFeatures apiInstance.getSamplingFeatureDatasets(samplingFeatureID, samplingFeatureUUID, samplingFeatureCode, samplingFeatureType, datasetType); } catch (Exception e) { Debug.Print("Exception when calling SamplingfeaturedatasetsApi.getSamplingFeatureDatasets: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SamplingfeaturedatasetsApi();
$samplingFeatureID = samplingFeatureID_example; // String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
$samplingFeatureUUID = samplingFeatureUUID_example; // String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
$samplingFeatureCode = samplingFeatureCode_example; // String | SamplingFeature Code(s)
$samplingFeatureType = samplingFeatureType_example; // String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
$datasetType = datasetType_example; // String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). try { $api_instance->getSamplingFeatureDatasets($samplingFeatureID, $samplingFeatureUUID, $samplingFeatureCode, $samplingFeatureType, $datasetType); } catch (Exception $e) { echo 'Exception when calling SamplingfeaturedatasetsApi->getSamplingFeatureDatasets: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingfeaturedatasetsApi;

my $api_instance = WWW::SwaggerClient::SamplingfeaturedatasetsApi->new();
my $samplingFeatureID = samplingFeatureID_example; # String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
my $samplingFeatureUUID = samplingFeatureUUID_example; # String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
my $samplingFeatureCode = samplingFeatureCode_example; # String | SamplingFeature Code(s)
my $samplingFeatureType = samplingFeatureType_example; # String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
my $datasetType = datasetType_example; # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). eval { $api_instance->getSamplingFeatureDatasets(samplingFeatureID => $samplingFeatureID, samplingFeatureUUID => $samplingFeatureUUID, samplingFeatureCode => $samplingFeatureCode, samplingFeatureType => $samplingFeatureType, datasetType => $datasetType); }; if ($@) { warn "Exception when calling SamplingfeaturedatasetsApi->getSamplingFeatureDatasets: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SamplingfeaturedatasetsApi()
samplingFeatureID = samplingFeatureID_example # String | SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)** (optional)
samplingFeatureUUID = samplingFeatureUUID_example # String | SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)** (optional)
samplingFeatureCode = samplingFeatureCode_example # String | SamplingFeature Code(s) (optional)
samplingFeatureType = samplingFeatureType_example # String | SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)** (optional)
datasetType = datasetType_example # String | Dataset Type (Name). 
See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/). (optional) try: # Get ODM2 Datasets for given set of SamplingFeatures api_instance.get_sampling_feature_datasets(samplingFeatureID=samplingFeatureID, samplingFeatureUUID=samplingFeatureUUID, samplingFeatureCode=samplingFeatureCode, samplingFeatureType=samplingFeatureType, datasetType=datasetType) except ApiException as e: print("Exception when calling SamplingfeaturedatasetsApi->getSamplingFeatureDatasets: %s\n" % e)

Parameters

Query parameters
Name Description
samplingFeatureID
String
SamplingFeature ID(s) **Required (or SamplingfeatureUUID or SamplingFeatureType)**
samplingFeatureUUID
String
SamplingFeature UUID(s) **Required (or SamplingFeatureID or SamplingFeatureType)**
samplingFeatureCode
String
SamplingFeature Code(s)
samplingFeatureType
String
SamplingFeature Type **Required (or SamplingfeatureUUID or SamplingfeatureID)**
datasetType
String
Dataset Type (Name). <br> See all available Dataset Types [here](http://vocabulary.odm2.org/datasettype/).

Responses

Status: 200 - 200 Response


Samplingfeatures

getSamplingFeatures

All ODM2 samplingfeatures retrieval.


/samplingfeatures

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/samplingfeatures?samplingFeatureID=&samplingFeatureCode=&samplingFeatureType=&results="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingfeaturesApi;

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

public class SamplingfeaturesApiExample {

    public static void main(String[] args) {
        
        SamplingfeaturesApi apiInstance = new SamplingfeaturesApi();
        String samplingFeatureID = samplingFeatureID_example; // String | Sampling Feature ID(s)
        String samplingFeatureCode = samplingFeatureCode_example; // String | Sampling Feature Code(s)
        String samplingFeatureType = samplingFeatureType_example; // String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). Boolean results = true; // Boolean | Get Sampling Features that has Results try { apiInstance.getSamplingFeatures(samplingFeatureID, samplingFeatureCode, samplingFeatureType, results); } catch (ApiException e) { System.err.println("Exception when calling SamplingfeaturesApi#getSamplingFeatures"); e.printStackTrace(); } } }
import io.swagger.client.api.SamplingfeaturesApi;

public class SamplingfeaturesApiExample {

    public static void main(String[] args) {
        SamplingfeaturesApi apiInstance = new SamplingfeaturesApi();
        String samplingFeatureID = samplingFeatureID_example; // String | Sampling Feature ID(s)
        String samplingFeatureCode = samplingFeatureCode_example; // String | Sampling Feature Code(s)
        String samplingFeatureType = samplingFeatureType_example; // String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). Boolean results = true; // Boolean | Get Sampling Features that has Results try { apiInstance.getSamplingFeatures(samplingFeatureID, samplingFeatureCode, samplingFeatureType, results); } catch (ApiException e) { System.err.println("Exception when calling SamplingfeaturesApi#getSamplingFeatures"); e.printStackTrace(); } } }
String *samplingFeatureID = samplingFeatureID_example; // Sampling Feature ID(s) (optional)
String *samplingFeatureCode = samplingFeatureCode_example; // Sampling Feature Code(s) (optional)
String *samplingFeatureType = samplingFeatureType_example; // Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). (optional) Boolean *results = true; // Get Sampling Features that has Results (optional) SamplingfeaturesApi *apiInstance = [[SamplingfeaturesApi alloc] init]; // All ODM2 samplingfeatures retrieval. [apiInstance getSamplingFeaturesWith:samplingFeatureID samplingFeatureCode:samplingFeatureCode samplingFeatureType:samplingFeatureType results:results completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.SamplingfeaturesApi()

var opts = { 
  'samplingFeatureID': samplingFeatureID_example, // {String} Sampling Feature ID(s)
  'samplingFeatureCode': samplingFeatureCode_example, // {String} Sampling Feature Code(s)
  'samplingFeatureType': samplingFeatureType_example, // {String} Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). 'results': true // {Boolean} Get Sampling Features that has Results }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getSamplingFeatures(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSamplingFeaturesExample
    {
        public void main()
        {
            
            var apiInstance = new SamplingfeaturesApi();
            var samplingFeatureID = samplingFeatureID_example;  // String | Sampling Feature ID(s) (optional) 
            var samplingFeatureCode = samplingFeatureCode_example;  // String | Sampling Feature Code(s) (optional) 
            var samplingFeatureType = samplingFeatureType_example;  // String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). (optional) var results = true; // Boolean | Get Sampling Features that has Results (optional) try { // All ODM2 samplingfeatures retrieval. apiInstance.getSamplingFeatures(samplingFeatureID, samplingFeatureCode, samplingFeatureType, results); } catch (Exception e) { Debug.Print("Exception when calling SamplingfeaturesApi.getSamplingFeatures: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SamplingfeaturesApi();
$samplingFeatureID = samplingFeatureID_example; // String | Sampling Feature ID(s)
$samplingFeatureCode = samplingFeatureCode_example; // String | Sampling Feature Code(s)
$samplingFeatureType = samplingFeatureType_example; // String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). $results = true; // Boolean | Get Sampling Features that has Results try { $api_instance->getSamplingFeatures($samplingFeatureID, $samplingFeatureCode, $samplingFeatureType, $results); } catch (Exception $e) { echo 'Exception when calling SamplingfeaturesApi->getSamplingFeatures: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingfeaturesApi;

my $api_instance = WWW::SwaggerClient::SamplingfeaturesApi->new();
my $samplingFeatureID = samplingFeatureID_example; # String | Sampling Feature ID(s)
my $samplingFeatureCode = samplingFeatureCode_example; # String | Sampling Feature Code(s)
my $samplingFeatureType = samplingFeatureType_example; # String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). my $results = true; # Boolean | Get Sampling Features that has Results eval { $api_instance->getSamplingFeatures(samplingFeatureID => $samplingFeatureID, samplingFeatureCode => $samplingFeatureCode, samplingFeatureType => $samplingFeatureType, results => $results); }; if ($@) { warn "Exception when calling SamplingfeaturesApi->getSamplingFeatures: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SamplingfeaturesApi()
samplingFeatureID = samplingFeatureID_example # String | Sampling Feature ID(s) (optional)
samplingFeatureCode = samplingFeatureCode_example # String | Sampling Feature Code(s) (optional)
samplingFeatureType = samplingFeatureType_example # String | Sampling Feature Type (Name). 
See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/). (optional) results = true # Boolean | Get Sampling Features that has Results (optional) try: # All ODM2 samplingfeatures retrieval. api_instance.get_sampling_features(samplingFeatureID=samplingFeatureID, samplingFeatureCode=samplingFeatureCode, samplingFeatureType=samplingFeatureType, results=results) except ApiException as e: print("Exception when calling SamplingfeaturesApi->getSamplingFeatures: %s\n" % e)

Parameters

Query parameters
Name Description
samplingFeatureID
String
Sampling Feature ID(s)
samplingFeatureCode
String
Sampling Feature Code(s)
samplingFeatureType
String
Sampling Feature Type (Name). <br> See all available Sampling Feature Types [here](http://vocabulary.odm2.org/samplingfeaturetype/).
results
Boolean
Get Sampling Features that has Results

Responses

Status: 200 - 200 Response


Units

getUnits

All ODM2 units retrieval


/units

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/units?unitsID=&unitsName=&unitsType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UnitsApi;

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

public class UnitsApiExample {

    public static void main(String[] args) {
        
        UnitsApi apiInstance = new UnitsApi();
        String unitsID = unitsID_example; // String | Units ID(s)
        String unitsName = unitsName_example; // String | Units Name
        String unitsType = unitsType_example; // String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). try { apiInstance.getUnits(unitsID, unitsName, unitsType); } catch (ApiException e) { System.err.println("Exception when calling UnitsApi#getUnits"); e.printStackTrace(); } } }
import io.swagger.client.api.UnitsApi;

public class UnitsApiExample {

    public static void main(String[] args) {
        UnitsApi apiInstance = new UnitsApi();
        String unitsID = unitsID_example; // String | Units ID(s)
        String unitsName = unitsName_example; // String | Units Name
        String unitsType = unitsType_example; // String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). try { apiInstance.getUnits(unitsID, unitsName, unitsType); } catch (ApiException e) { System.err.println("Exception when calling UnitsApi#getUnits"); e.printStackTrace(); } } }
String *unitsID = unitsID_example; // Units ID(s) (optional)
String *unitsName = unitsName_example; // Units Name (optional)
String *unitsType = unitsType_example; // Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). (optional) UnitsApi *apiInstance = [[UnitsApi alloc] init]; // All ODM2 units retrieval [apiInstance getUnitsWith:unitsID unitsName:unitsName unitsType:unitsType completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.UnitsApi()

var opts = { 
  'unitsID': unitsID_example, // {String} Units ID(s)
  'unitsName': unitsName_example, // {String} Units Name
  'unitsType': unitsType_example // {String} Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.getUnits(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUnitsExample
    {
        public void main()
        {
            
            var apiInstance = new UnitsApi();
            var unitsID = unitsID_example;  // String | Units ID(s) (optional) 
            var unitsName = unitsName_example;  // String | Units Name (optional) 
            var unitsType = unitsType_example;  // String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). (optional) try { // All ODM2 units retrieval apiInstance.getUnits(unitsID, unitsName, unitsType); } catch (Exception e) { Debug.Print("Exception when calling UnitsApi.getUnits: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UnitsApi();
$unitsID = unitsID_example; // String | Units ID(s)
$unitsName = unitsName_example; // String | Units Name
$unitsType = unitsType_example; // String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). try { $api_instance->getUnits($unitsID, $unitsName, $unitsType); } catch (Exception $e) { echo 'Exception when calling UnitsApi->getUnits: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UnitsApi;

my $api_instance = WWW::SwaggerClient::UnitsApi->new();
my $unitsID = unitsID_example; # String | Units ID(s)
my $unitsName = unitsName_example; # String | Units Name
my $unitsType = unitsType_example; # String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). eval { $api_instance->getUnits(unitsID => $unitsID, unitsName => $unitsName, unitsType => $unitsType); }; if ($@) { warn "Exception when calling UnitsApi->getUnits: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.UnitsApi()
unitsID = unitsID_example # String | Units ID(s) (optional)
unitsName = unitsName_example # String | Units Name (optional)
unitsType = unitsType_example # String | Units Type (Name). 
See all available Units Types [here](http://vocabulary.odm2.org/unitstype/). (optional) try: # All ODM2 units retrieval api_instance.get_units(unitsID=unitsID, unitsName=unitsName, unitsType=unitsType) except ApiException as e: print("Exception when calling UnitsApi->getUnits: %s\n" % e)

Parameters

Query parameters
Name Description
unitsID
String
Units ID(s)
unitsName
String
Units Name
unitsType
String
Units Type (Name). <br> See all available Units Types [here](http://vocabulary.odm2.org/unitstype/).

Responses

Status: 200 - 200 Response


Variables

getVariables

All ODM2 variables retrieval


/variables

Usage and SDK Samples

curl -X GET "http://odm2sandbox.uwrl.usu.edu:8000/v1/variables?variableID=&variableCode=&siteCode=&results="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VariablesApi;

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

public class VariablesApiExample {

    public static void main(String[] args) {
        
        VariablesApi apiInstance = new VariablesApi();
        String variableID = variableID_example; // String | Variable ID(s)
        String variableCode = variableCode_example; // String | Variable Code(s)
        Integer siteCode = 56; // Integer | Sampling Feature ID
        Boolean results = true; // Boolean | 
        try {
            apiInstance.getVariables(variableID, variableCode, siteCode, results);
        } catch (ApiException e) {
            System.err.println("Exception when calling VariablesApi#getVariables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VariablesApi;

public class VariablesApiExample {

    public static void main(String[] args) {
        VariablesApi apiInstance = new VariablesApi();
        String variableID = variableID_example; // String | Variable ID(s)
        String variableCode = variableCode_example; // String | Variable Code(s)
        Integer siteCode = 56; // Integer | Sampling Feature ID
        Boolean results = true; // Boolean | 
        try {
            apiInstance.getVariables(variableID, variableCode, siteCode, results);
        } catch (ApiException e) {
            System.err.println("Exception when calling VariablesApi#getVariables");
            e.printStackTrace();
        }
    }
}
String *variableID = variableID_example; // Variable ID(s) (optional)
String *variableCode = variableCode_example; // Variable Code(s) (optional)
Integer *siteCode = 56; // Sampling Feature ID (optional)
Boolean *results = true; //  (optional)

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

// All ODM2 variables retrieval
[apiInstance getVariablesWith:variableID
    variableCode:variableCode
    siteCode:siteCode
    results:results
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Odm2RestApi = require('odm2_rest_api');

var api = new Odm2RestApi.VariablesApi()

var opts = { 
  'variableID': variableID_example, // {String} Variable ID(s)
  'variableCode': variableCode_example, // {String} Variable Code(s)
  'siteCode': 56, // {Integer} Sampling Feature ID
  'results': true // {Boolean} 
};

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

namespace Example
{
    public class getVariablesExample
    {
        public void main()
        {
            
            var apiInstance = new VariablesApi();
            var variableID = variableID_example;  // String | Variable ID(s) (optional) 
            var variableCode = variableCode_example;  // String | Variable Code(s) (optional) 
            var siteCode = 56;  // Integer | Sampling Feature ID (optional) 
            var results = true;  // Boolean |  (optional) 

            try
            {
                // All ODM2 variables retrieval
                apiInstance.getVariables(variableID, variableCode, siteCode, results);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VariablesApi.getVariables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\VariablesApi();
$variableID = variableID_example; // String | Variable ID(s)
$variableCode = variableCode_example; // String | Variable Code(s)
$siteCode = 56; // Integer | Sampling Feature ID
$results = true; // Boolean | 

try {
    $api_instance->getVariables($variableID, $variableCode, $siteCode, $results);
} catch (Exception $e) {
    echo 'Exception when calling VariablesApi->getVariables: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VariablesApi;

my $api_instance = WWW::SwaggerClient::VariablesApi->new();
my $variableID = variableID_example; # String | Variable ID(s)
my $variableCode = variableCode_example; # String | Variable Code(s)
my $siteCode = 56; # Integer | Sampling Feature ID
my $results = true; # Boolean | 

eval { 
    $api_instance->getVariables(variableID => $variableID, variableCode => $variableCode, siteCode => $siteCode, results => $results);
};
if ($@) {
    warn "Exception when calling VariablesApi->getVariables: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.VariablesApi()
variableID = variableID_example # String | Variable ID(s) (optional)
variableCode = variableCode_example # String | Variable Code(s) (optional)
siteCode = 56 # Integer | Sampling Feature ID (optional)
results = true # Boolean |  (optional)

try: 
    # All ODM2 variables retrieval
    api_instance.get_variables(variableID=variableID, variableCode=variableCode, siteCode=siteCode, results=results)
except ApiException as e:
    print("Exception when calling VariablesApi->getVariables: %s\n" % e)

Parameters

Query parameters
Name Description
variableID
String
Variable ID(s)
variableCode
String
Variable Code(s)
siteCode
Integer
Sampling Feature ID
results
Boolean

Responses

Status: 200 - 200 Response


Generated 2018-02-02T20:29:39.559Z