apiV1PartnerIdReportListPost
Retrieve a list of ready reports for a given external ID
/api/v1/[partnerId]/report/list
Usage and SDK Samples
curl -X POST\
-H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://openhealthtechnologies.com/api/v1/[partnerId]/report/list?page=&limit="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InDevelopmentApi;
import java.io.File;
import java.util.*;
public class InDevelopmentApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
InDevelopmentApi apiInstance = new InDevelopmentApi();
Report_list_body body = ; // Report_list_body |
Integer page = 56; // Integer | Page number of the results (starts from 1)
Integer limit = 56; // Integer | Number of results per page (up to 100)
try {
PaginatedList result = apiInstance.apiV1PartnerIdReportListPost(body, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InDevelopmentApi#apiV1PartnerIdReportListPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.InDevelopmentApi;
public class InDevelopmentApiExample {
public static void main(String[] args) {
InDevelopmentApi apiInstance = new InDevelopmentApi();
Report_list_body body = ; // Report_list_body |
Integer page = 56; // Integer | Page number of the results (starts from 1)
Integer limit = 56; // Integer | Number of results per page (up to 100)
try {
PaginatedList result = apiInstance.apiV1PartnerIdReportListPost(body, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InDevelopmentApi#apiV1PartnerIdReportListPost");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
Report_list_body *body = ; //
Integer *page = 56; // Page number of the results (starts from 1) (optional) (default to 1)
Integer *limit = 56; // Number of results per page (up to 100) (optional) (default to 10)
InDevelopmentApi *apiInstance = [[InDevelopmentApi alloc] init];
// Retrieve a list of ready reports for a given external ID
[apiInstance apiV1PartnerIdReportListPostWith:body
page:page
limit:limit
completionHandler: ^(PaginatedList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OpenhealthTechnologiesApi = require('openhealth_technologies___api');
var defaultClient = OpenhealthTechnologiesApi.ApiClient.instance;
var api = new OpenhealthTechnologiesApi.InDevelopmentApi()
var body = ; // {{Report_list_body}}
var opts = {
'page': 56 // {{Integer}} Page number of the results (starts from 1)
'limit': 56 // {{Integer}} Number of results per page (up to 100)
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiV1PartnerIdReportListPost(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiV1PartnerIdReportListPostExample
{
public void main()
{
var apiInstance = new InDevelopmentApi();
var body = new Report_list_body(); // Report_list_body |
var page = 56; // Integer | Page number of the results (starts from 1) (optional) (default to 1)
var limit = 56; // Integer | Number of results per page (up to 100) (optional) (default to 10)
try
{
// Retrieve a list of ready reports for a given external ID
PaginatedList result = apiInstance.apiV1PartnerIdReportListPost(body, page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling InDevelopmentApi.apiV1PartnerIdReportListPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiInDevelopmentApi();
$body = ; // Report_list_body |
$page = 56; // Integer | Page number of the results (starts from 1)
$limit = 56; // Integer | Number of results per page (up to 100)
try {
$result = $api_instance->apiV1PartnerIdReportListPost($body, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InDevelopmentApi->apiV1PartnerIdReportListPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::InDevelopmentApi;
my $api_instance = WWW::SwaggerClient::InDevelopmentApi->new();
my $body = WWW::SwaggerClient::Object::Report_list_body->new(); # Report_list_body |
my $page = 56; # Integer | Page number of the results (starts from 1)
my $limit = 56; # Integer | Number of results per page (up to 100)
eval {
my $result = $api_instance->apiV1PartnerIdReportListPost(body => $body, page => $page, limit => $limit);
print Dumper($result);
};
if ($@) {
warn "Exception when calling InDevelopmentApi->apiV1PartnerIdReportListPost: $@\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.InDevelopmentApi()
body = # Report_list_body |
page = 56 # Integer | Page number of the results (starts from 1) (optional) (default to 1)
limit = 56 # Integer | Number of results per page (up to 100) (optional) (default to 10)
try:
# Retrieve a list of ready reports for a given external ID
api_response = api_instance.api_v1_partner_id_report_list_post(body, page=page, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling InDevelopmentApi->apiV1PartnerIdReportListPost: %s\n" % e)
Parameters
Name | Description |
---|---|
body * |
Name | Description |
---|---|
page |
Integer
Page number of the results (starts from 1)
|
limit |
Integer
Number of results per page (up to 100)
|