MediVetLabHub

LabHub

apiAbaxisV1LabHubGetLabResultsPost


/api/Abaxis/v1/LabHub/GetLabResults

Usage and SDK Samples

curl -X POST "https://localhost/api/Abaxis/v1/LabHub/GetLabResults"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LabHubApi;

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

public class LabHubApiExample {

    public static void main(String[] args) {
        
        LabHubApi apiInstance = new LabHubApi();
        GetLabResultsRequest body = ; // GetLabResultsRequest | 
        try {
            array[LabHubResults] result = apiInstance.apiAbaxisV1LabHubGetLabResultsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabHubApi#apiAbaxisV1LabHubGetLabResultsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LabHubApi;

public class LabHubApiExample {

    public static void main(String[] args) {
        LabHubApi apiInstance = new LabHubApi();
        GetLabResultsRequest body = ; // GetLabResultsRequest | 
        try {
            array[LabHubResults] result = apiInstance.apiAbaxisV1LabHubGetLabResultsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabHubApi#apiAbaxisV1LabHubGetLabResultsPost");
            e.printStackTrace();
        }
    }
}
GetLabResultsRequest *body = ; //  (optional)

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

[apiInstance apiAbaxisV1LabHubGetLabResultsPostWith:body
              completionHandler: ^(array[LabHubResults] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MediVetLabHub = require('medi_vet_lab_hub');

var api = new MediVetLabHub.LabHubApi()

var opts = { 
  'body':  // {GetLabResultsRequest} 
};

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

namespace Example
{
    public class apiAbaxisV1LabHubGetLabResultsPostExample
    {
        public void main()
        {
            
            var apiInstance = new LabHubApi();
            var body = new GetLabResultsRequest(); // GetLabResultsRequest |  (optional) 

            try
            {
                array[LabHubResults] result = apiInstance.apiAbaxisV1LabHubGetLabResultsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LabHubApi.apiAbaxisV1LabHubGetLabResultsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LabHubApi();
$body = ; // GetLabResultsRequest | 

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

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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiAbaxisV1LabHubSaveLabRequestPost


/api/Abaxis/v1/LabHub/SaveLabRequest

Usage and SDK Samples

curl -X POST "https://localhost/api/Abaxis/v1/LabHub/SaveLabRequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LabHubApi;

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

public class LabHubApiExample {

    public static void main(String[] args) {
        
        LabHubApi apiInstance = new LabHubApi();
        SaveLabRequest body = ; // SaveLabRequest | 
        try {
            SaveLabResponce result = apiInstance.apiAbaxisV1LabHubSaveLabRequestPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LabHubApi#apiAbaxisV1LabHubSaveLabRequestPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LabHubApi;

public class LabHubApiExample {

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

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

[apiInstance apiAbaxisV1LabHubSaveLabRequestPostWith:body
              completionHandler: ^(SaveLabResponce output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MediVetLabHub = require('medi_vet_lab_hub');

var api = new MediVetLabHub.LabHubApi()

var opts = { 
  'body':  // {SaveLabRequest} 
};

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

namespace Example
{
    public class apiAbaxisV1LabHubSaveLabRequestPostExample
    {
        public void main()
        {
            
            var apiInstance = new LabHubApi();
            var body = new SaveLabRequest(); // SaveLabRequest |  (optional) 

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

$api_instance = new Swagger\Client\Api\LabHubApi();
$body = ; // SaveLabRequest | 

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

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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success