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 |