apiCatalogIdGet
Get one catalog by id with min or max data of catalog
/api/catalog/{id}
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json"\
"http://localhost/api/catalog/{id}?data="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CatalogApi;
import java.io.File;
import java.util.*;
public class CatalogApiExample {
public static void main(String[] args) {
CatalogApi apiInstance = new CatalogApi();
Integer id = 56; // Integer |
array[String] data = ; // array[String] | Zakres wybranych informacji
try {
inline_response_200 result = apiInstance.apiCatalogIdGet(id, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogApi#apiCatalogIdGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CatalogApi;
public class CatalogApiExample {
public static void main(String[] args) {
CatalogApi apiInstance = new CatalogApi();
Integer id = 56; // Integer |
array[String] data = ; // array[String] | Zakres wybranych informacji
try {
inline_response_200 result = apiInstance.apiCatalogIdGet(id, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogApi#apiCatalogIdGet");
e.printStackTrace();
}
}
}
Integer *id = 56; //
array[String] *data = ; // Zakres wybranych informacji (optional)
CatalogApi *apiInstance = [[CatalogApi alloc] init];
// Get one catalog by id with min or max data of catalog
[apiInstance apiCatalogIdGetWith:id
data:data
completionHandler: ^(inline_response_200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiKataloginagrod = require('api_kataloginagrod');
var api = new ApiKataloginagrod.CatalogApi()
var id = 56; // {{Integer}}
var opts = {
'data': // {{array[String]}} Zakres wybranych informacji
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiCatalogIdGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiCatalogIdGetExample
{
public void main()
{
var apiInstance = new CatalogApi();
var id = 56; // Integer |
var data = new array[String](); // array[String] | Zakres wybranych informacji (optional)
try
{
// Get one catalog by id with min or max data of catalog
inline_response_200 result = apiInstance.apiCatalogIdGet(id, data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CatalogApi.apiCatalogIdGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiCatalogApi();
$id = 56; // Integer |
$data = ; // array[String] | Zakres wybranych informacji
try {
$result = $api_instance->apiCatalogIdGet($id, $data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogApi->apiCatalogIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CatalogApi;
my $api_instance = WWW::SwaggerClient::CatalogApi->new();
my $id = 56; # Integer |
my $data = []; # array[String] | Zakres wybranych informacji
eval {
my $result = $api_instance->apiCatalogIdGet(id => $id, data => $data);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CatalogApi->apiCatalogIdGet: $@\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.CatalogApi()
id = 56 # Integer |
data = # array[String] | Zakres wybranych informacji (optional)
try:
# Get one catalog by id with min or max data of catalog
api_response = api_instance.api_catalog_id_get(id, data=data)
pprint(api_response)
except ApiException as e:
print("Exception when calling CatalogApi->apiCatalogIdGet: %s\n" % e)
Parameters
Name | Description |
---|---|
id* |
Integer
Required
|
Name | Description |
---|---|
data |
array[String]
Zakres wybranych informacji
|