Vision PLM Web API Reference Guide

Authentication

Visionᴺᴳ Web API requires valid OAuth token to be send with each request. Token holds required authentication information alongside User's authorization claims.

Obtain Token

Example Token Request

#Prepare Request Body
$Body = @{
    grant_type = "password"
    username   = "your_username"
    password   = "your_password"
}

#Invoke Request
Invoke-RestMethod -Method 'Post' -Uri '{{BaseURL}}/token' -Body $Body

Example Token Response

{
    "access_token": "$token",
    "token_type": "bearer",
    "expires_in": 604799,
    "refresh_token": "$refresh_token",
    "user_name": "your_username"
}

Security Token may be obtained by sending POST request to /token endpoint. Request must include user credentials and grant type.

HTTP Request

POST {{BaseURL}}/token

Required Fields

Field Name Value Type Comments
grant_type String Valid Value: "password"
username String
password String

Security Token Response

Property Type Description
access_token string Security Token - Need to be stored and attached to all following resource request
token_type string Value: "bearer"
expires_in number Expiration time in seconds
refresh_token string Refresh Token - May be used to add additional layer of security
user_name string Token's Owner - Authenticated Username

Authentication Error Object

{
    "error": "invalid_grant",
    "error_description": "The user name or password is incorrect."
}

Any request made related to Web API authentication or authorization, such as retrieving or refreshing an access token, may result in error. Response follows RFC 6749 on the OAuth 2.0 Authorization Framework.

Attach Token

Attach Authentication Header to Request

# Example Endpoint
$url = "{{BaseURL}}/api/Products"

# Required Header
$Headers = @{
    Authorization = "Bearer " + $token
}

# Attach Header to Call
Invoke-RestMethod -Method 'Get' -Uri $url -Headers $Headers

Once Security Token is obtained, it should be attached to any Web API requests.

Authorization

Access to all Visionᴺᴳ's resources requires sufficient permissions. These are defined within system. Web API users inherits permissions from the user.

Permissions Required for CRUD Operations:

Application Area Action Required Permission
Create string Modify
Read string Read Only
Update string Modify
Delete string Full Access

Querying Data

OData Support

Collection endpoints offers OData support. OData allows for advanced request manipulation, therefore more accurate and efficient data querying.

Supported OData Parameters

Examples of OData Queries

# Get Top 2 Records
Invoke-RestMethod -Uri "{{BaseURL}}/api/Products?$top=2"

# Get All Records, Where Id > 10
Invoke-RestMethod -Uri "{{BaseURL}}/api/Products?$filter= Id gt 10"

# Get All Records, Order By Name ASC
Invoke-RestMethod -Uri "{{BaseURL}}/api/Products?$orderby=Name"

# Get Top 5 Records, Where Name Contains 'product_02', Order By Id DESC
Invoke-RestMethod -Uri "{{BaseURL}}/api/Products?$filter=substringof('product_02',Name)&$top=5&$orderby=Id desc"
OData Parameter Type Description
$orderby string Determinate what values are used to order the collection.
$top integer The number of items to return.
$skip integer The number of items to skip before starting to collect the result set.
$filter string Select only entities that satisfy the predicate expression.
$select string Return only specified resource's properties

Pagination

To provide best performance, collection request returns paged set of items. All of these, returns PagedResultOf<Entity> object, which holds information about next page (if applicable).

PagedResultOf<Product> Example Response

{
    "Items": [],
    "NextPageLink": "{{BaseURL}}/api/Products?$skip=100",
    "Count": 170
}

Page Result

Property Type Description
Items Collection Resource Collection
NextPageLink String Link to Next Page
Count Number Total Number of Records (if requested)

Request Count Property

Invoke-RestMethod -Uri "{{BaseURL}}/api/Products?$inlinecount=allpages"

In order to get Count property populated, $inlinecount request parameter need to be specified. The only accepted values are allpages and none.

Client-Side Paging

Client-Side Paging Example - 25 Items per Page:

# Get First Page
Invoke-RestMethod -Uri '{{BaseURL}}/api/Products?$top=25'

# Get Second Page
Invoke-RestMethod -Uri '{{BaseURL}}/api/Products?$top=25&$skip=25'

# Get Third Page
Invoke-RestMethod -Uri '{{BaseURL}}/api/Products?$top=25&$skip=50'

It is possible to explicitly request specific piece of data. Providing $top and $skip query parameters gives an ability to implement client-side paging.

Rate Limiting

Rate Limiting enables to share access to Web API resources across many users equally. Rate limiting is applied as per user login.

To quickly check Rate Reset time, use web browser's console:

  new Date(1532428594 * 1000)
  // Tue Jul 24 2018 11:36:34 GMT+0100 (British Summer Time)

Any API response, have set of rates limiting headers attached:

Header Name Description
X-RateLimit-Limit The maximum number of requests you're permitted to make per minute.
X-RateLimit-Remaining The number of requests remaining in the current rate limit window.
X-RateLimit-Reset The time at which the current rate limit window resets in UTC epoch seconds.

Resources

Attach Authorization Header

# Required Header
$Headers = @{
    Authorization = "Bearer " + $token
}

# Attach Header to Call
$response = Invoke-RestMethod -Method 'Get' -Uri $url -Headers $Headers

Accessing any of the resources require valid authentication token.

BillOfMaterialItemCategories

billOfMaterialItemCategoriesDelete

Delete Bill Of Material Item Category


/api/BillOfMaterialItemCategories/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/BillOfMaterialItemCategories/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemCategoriesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemCategoriesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category's Unique Identifier

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

// Delete Bill Of Material Item Category
[apiInstance billOfMaterialItemCategoriesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var id = 56; // {Integer} Bill Of Material Item Category's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemCategoriesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var id = 56;  // Integer | Bill Of Material Item Category's Unique Identifier

            try
            {
                // Delete Bill Of Material Item Category
                Object result = apiInstance.billOfMaterialItemCategoriesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$id = 56; // Integer | Bill Of Material Item Category's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesDelete: $@\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.BillOfMaterialItemCategoriesApi()
id = 56 # Integer | Bill Of Material Item Category's Unique Identifier

try: 
    # Delete Bill Of Material Item Category
    api_response = api_instance.bill_of_material_item_categories_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoriesGetAll

Get Set of Bill Of Material Item Categories


/api/BillOfMaterialItemCategories

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItemCategories?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Bill Of Material Item Categories
[apiInstance billOfMaterialItemCategoriesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfBillOfMaterialItemCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class billOfMaterialItemCategoriesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Bill Of Material Item Categories
                PageResultOfBillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->billOfMaterialItemCategoriesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BillOfMaterialItemCategoriesApi;

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesGetAll: $@\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.BillOfMaterialItemCategoriesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Bill Of Material Item Categories
    api_response = api_instance.bill_of_material_item_categories_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Bill Of Material Item Categories

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoriesGetById

Get Bill Of Material Item Category


/api/BillOfMaterialItemCategories/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItemCategories/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category's Unique Identifier

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

// Get Bill Of Material Item Category
[apiInstance billOfMaterialItemCategoriesGetByIdWith:id
              completionHandler: ^(BillOfMaterialItemCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var id = 56; // {Integer} Bill Of Material Item Category's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemCategoriesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var id = 56;  // Integer | Bill Of Material Item Category's Unique Identifier

            try
            {
                // Get Bill Of Material Item Category
                BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$id = 56; // Integer | Bill Of Material Item Category's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesGetById: $@\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.BillOfMaterialItemCategoriesApi()
id = 56 # Integer | Bill Of Material Item Category's Unique Identifier

try: 
    # Get Bill Of Material Item Category
    api_response = api_instance.bill_of_material_item_categories_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category's Unique Identifier
Required

Responses

Status: 200 - Bill Of Material Item Category

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


billOfMaterialItemCategoriesPatch

Patch Bill Of Material Item Category


/api/BillOfMaterialItemCategories/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/BillOfMaterialItemCategories/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Category Patch
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Category Patch
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category's Unique Identifier
Object *patch = ; // Bill Of Material Item Category Patch

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

// Patch Bill Of Material Item Category
[apiInstance billOfMaterialItemCategoriesPatchWith:id
    patch:patch
              completionHandler: ^(BillOfMaterialItemCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var id = 56; // {Integer} Bill Of Material Item Category's Unique Identifier

var patch = ; // {Object} Bill Of Material Item Category Patch


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

namespace Example
{
    public class billOfMaterialItemCategoriesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var id = 56;  // Integer | Bill Of Material Item Category's Unique Identifier
            var patch = new Object(); // Object | Bill Of Material Item Category Patch

            try
            {
                // Patch Bill Of Material Item Category
                BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
$patch = ; // Object | Bill Of Material Item Category Patch

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Bill Of Material Item Category Patch

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPatch: $@\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.BillOfMaterialItemCategoriesApi()
id = 56 # Integer | Bill Of Material Item Category's Unique Identifier
patch =  # Object | Bill Of Material Item Category Patch

try: 
    # Patch Bill Of Material Item Category
    api_response = api_instance.bill_of_material_item_categories_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Bill Of Material Item Category

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoriesPost

Create Bill Of Material Item Category


/api/BillOfMaterialItemCategories

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/BillOfMaterialItemCategories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        BillOfMaterialItemCategory model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category
        try {
            Object result = apiInstance.billOfMaterialItemCategoriesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        BillOfMaterialItemCategory model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category
        try {
            Object result = apiInstance.billOfMaterialItemCategoriesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPost");
            e.printStackTrace();
        }
    }
}
BillOfMaterialItemCategory *model = ; // Bill Of Material Item Category

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

// Create Bill Of Material Item Category
[apiInstance billOfMaterialItemCategoriesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var model = ; // {BillOfMaterialItemCategory} Bill Of Material Item Category


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

namespace Example
{
    public class billOfMaterialItemCategoriesPostExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var model = new BillOfMaterialItemCategory(); // BillOfMaterialItemCategory | Bill Of Material Item Category

            try
            {
                // Create Bill Of Material Item Category
                Object result = apiInstance.billOfMaterialItemCategoriesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $model = WWW::SwaggerClient::Object::BillOfMaterialItemCategory->new(); # BillOfMaterialItemCategory | Bill Of Material Item Category

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPost: $@\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.BillOfMaterialItemCategoriesApi()
model =  # BillOfMaterialItemCategory | Bill Of Material Item Category

try: 
    # Create Bill Of Material Item Category
    api_response = api_instance.bill_of_material_item_categories_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Bill Of Material Item Category

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoriesPut

Update Bill Of Material Item Category


/api/BillOfMaterialItemCategories/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/BillOfMaterialItemCategories/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

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

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        BillOfMaterialItemCategory model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoriesApi;

public class BillOfMaterialItemCategoriesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoriesApi apiInstance = new BillOfMaterialItemCategoriesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
        BillOfMaterialItemCategory model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category
        try {
            BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoriesApi#billOfMaterialItemCategoriesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category's Unique Identifier
BillOfMaterialItemCategory *model = ; // Bill Of Material Item Category

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

// Update Bill Of Material Item Category
[apiInstance billOfMaterialItemCategoriesPutWith:id
    model:model
              completionHandler: ^(BillOfMaterialItemCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoriesApi()

var id = 56; // {Integer} Bill Of Material Item Category's Unique Identifier

var model = ; // {BillOfMaterialItemCategory} Bill Of Material Item Category


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

namespace Example
{
    public class billOfMaterialItemCategoriesPutExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoriesApi();
            var id = 56;  // Integer | Bill Of Material Item Category's Unique Identifier
            var model = new BillOfMaterialItemCategory(); // BillOfMaterialItemCategory | Bill Of Material Item Category

            try
            {
                // Update Bill Of Material Item Category
                BillOfMaterialItemCategory result = apiInstance.billOfMaterialItemCategoriesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoriesApi.billOfMaterialItemCategoriesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoriesApi();
$id = 56; // Integer | Bill Of Material Item Category's Unique Identifier
$model = ; // BillOfMaterialItemCategory | Bill Of Material Item Category

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoriesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category's Unique Identifier
my $model = WWW::SwaggerClient::Object::BillOfMaterialItemCategory->new(); # BillOfMaterialItemCategory | Bill Of Material Item Category

eval { 
    my $result = $api_instance->billOfMaterialItemCategoriesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPut: $@\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.BillOfMaterialItemCategoriesApi()
id = 56 # Integer | Bill Of Material Item Category's Unique Identifier
model =  # BillOfMaterialItemCategory | Bill Of Material Item Category

try: 
    # Update Bill Of Material Item Category
    api_response = api_instance.bill_of_material_item_categories_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoriesApi->billOfMaterialItemCategoriesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Bill Of Material Item Category

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


BillOfMaterialItemCategoryMaterialTypes

billOfMaterialItemCategoryMaterialTypesDelete

Delete Bill Of Material Item Category Material Type


/api/BillOfMaterialItemCategoryMaterialTypes/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category Material Type's Unique Identifier

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

// Delete Bill Of Material Item Category Material Type
[apiInstance billOfMaterialItemCategoryMaterialTypesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var id = 56; // {Integer} Bill Of Material Item Category Material Type's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var id = 56;  // Integer | Bill Of Material Item Category Material Type's Unique Identifier

            try
            {
                // Delete Bill Of Material Item Category Material Type
                Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category Material Type's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesDelete: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
id = 56 # Integer | Bill Of Material Item Category Material Type's Unique Identifier

try: 
    # Delete Bill Of Material Item Category Material Type
    api_response = api_instance.bill_of_material_item_category_material_types_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category Material Type's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoryMaterialTypesGetAll

Get Set of Bill Of Material Item Category Material Types


/api/BillOfMaterialItemCategoryMaterialTypes

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Bill Of Material Item Category Material Types
[apiInstance billOfMaterialItemCategoryMaterialTypesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfBillOfMaterialItemCategoryMaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Bill Of Material Item Category Material Types
                PageResultOfBillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->billOfMaterialItemCategoryMaterialTypesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi;

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesGetAll: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Bill Of Material Item Category Material Types
    api_response = api_instance.bill_of_material_item_category_material_types_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Bill Of Material Item Category Material Types

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoryMaterialTypesGetById

Get Bill Of Material Item Category Material Type


/api/BillOfMaterialItemCategoryMaterialTypes/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category Material Type's Unique Identifier

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

// Get Bill Of Material Item Category Material Type
[apiInstance billOfMaterialItemCategoryMaterialTypesGetByIdWith:id
              completionHandler: ^(BillOfMaterialItemCategoryMaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var id = 56; // {Integer} Bill Of Material Item Category Material Type's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var id = 56;  // Integer | Bill Of Material Item Category Material Type's Unique Identifier

            try
            {
                // Get Bill Of Material Item Category Material Type
                BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category Material Type's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesGetById: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
id = 56 # Integer | Bill Of Material Item Category Material Type's Unique Identifier

try: 
    # Get Bill Of Material Item Category Material Type
    api_response = api_instance.bill_of_material_item_category_material_types_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category Material Type's Unique Identifier
Required

Responses

Status: 200 - Bill Of Material Item Category Material Type

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


billOfMaterialItemCategoryMaterialTypesPatch

Patch Bill Of Material Item Category Material Type


/api/BillOfMaterialItemCategoryMaterialTypes/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Category Material Type Patch
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Category Material Type Patch
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category Material Type's Unique Identifier
Object *patch = ; // Bill Of Material Item Category Material Type Patch

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

// Patch Bill Of Material Item Category Material Type
[apiInstance billOfMaterialItemCategoryMaterialTypesPatchWith:id
    patch:patch
              completionHandler: ^(BillOfMaterialItemCategoryMaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var id = 56; // {Integer} Bill Of Material Item Category Material Type's Unique Identifier

var patch = ; // {Object} Bill Of Material Item Category Material Type Patch


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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var id = 56;  // Integer | Bill Of Material Item Category Material Type's Unique Identifier
            var patch = new Object(); // Object | Bill Of Material Item Category Material Type Patch

            try
            {
                // Patch Bill Of Material Item Category Material Type
                BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
$patch = ; // Object | Bill Of Material Item Category Material Type Patch

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category Material Type's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Bill Of Material Item Category Material Type Patch

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPatch: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
id = 56 # Integer | Bill Of Material Item Category Material Type's Unique Identifier
patch =  # Object | Bill Of Material Item Category Material Type Patch

try: 
    # Patch Bill Of Material Item Category Material Type
    api_response = api_instance.bill_of_material_item_category_material_types_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category Material Type's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Bill Of Material Item Category Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoryMaterialTypesPost

Create Bill Of Material Item Category Material Type


/api/BillOfMaterialItemCategoryMaterialTypes

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        BillOfMaterialItemCategoryMaterialType model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type
        try {
            Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        BillOfMaterialItemCategoryMaterialType model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type
        try {
            Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPost");
            e.printStackTrace();
        }
    }
}
BillOfMaterialItemCategoryMaterialType *model = ; // Bill Of Material Item Category Material Type

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

// Create Bill Of Material Item Category Material Type
[apiInstance billOfMaterialItemCategoryMaterialTypesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var model = ; // {BillOfMaterialItemCategoryMaterialType} Bill Of Material Item Category Material Type


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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesPostExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var model = new BillOfMaterialItemCategoryMaterialType(); // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type

            try
            {
                // Create Bill Of Material Item Category Material Type
                Object result = apiInstance.billOfMaterialItemCategoryMaterialTypesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $model = WWW::SwaggerClient::Object::BillOfMaterialItemCategoryMaterialType->new(); # BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPost: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
model =  # BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category Material Type

try: 
    # Create Bill Of Material Item Category Material Type
    api_response = api_instance.bill_of_material_item_category_material_types_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Bill Of Material Item Category Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemCategoryMaterialTypesPut

Update Bill Of Material Item Category Material Type


/api/BillOfMaterialItemCategoryMaterialTypes/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/BillOfMaterialItemCategoryMaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

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

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        BillOfMaterialItemCategoryMaterialType model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemCategoryMaterialTypesApi;

public class BillOfMaterialItemCategoryMaterialTypesApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemCategoryMaterialTypesApi apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
        Integer id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
        BillOfMaterialItemCategoryMaterialType model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category
        try {
            BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi#billOfMaterialItemCategoryMaterialTypesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item Category Material Type's Unique Identifier
BillOfMaterialItemCategoryMaterialType *model = ; // Bill Of Material Item Category

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

// Update Bill Of Material Item Category Material Type
[apiInstance billOfMaterialItemCategoryMaterialTypesPutWith:id
    model:model
              completionHandler: ^(BillOfMaterialItemCategoryMaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemCategoryMaterialTypesApi()

var id = 56; // {Integer} Bill Of Material Item Category Material Type's Unique Identifier

var model = ; // {BillOfMaterialItemCategoryMaterialType} Bill Of Material Item Category


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

namespace Example
{
    public class billOfMaterialItemCategoryMaterialTypesPutExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemCategoryMaterialTypesApi();
            var id = 56;  // Integer | Bill Of Material Item Category Material Type's Unique Identifier
            var model = new BillOfMaterialItemCategoryMaterialType(); // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category

            try
            {
                // Update Bill Of Material Item Category Material Type
                BillOfMaterialItemCategoryMaterialType result = apiInstance.billOfMaterialItemCategoryMaterialTypesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi.billOfMaterialItemCategoryMaterialTypesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemCategoryMaterialTypesApi();
$id = 56; // Integer | Bill Of Material Item Category Material Type's Unique Identifier
$model = ; // BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemCategoryMaterialTypesApi->new();
my $id = 56; # Integer | Bill Of Material Item Category Material Type's Unique Identifier
my $model = WWW::SwaggerClient::Object::BillOfMaterialItemCategoryMaterialType->new(); # BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category

eval { 
    my $result = $api_instance->billOfMaterialItemCategoryMaterialTypesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPut: $@\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.BillOfMaterialItemCategoryMaterialTypesApi()
id = 56 # Integer | Bill Of Material Item Category Material Type's Unique Identifier
model =  # BillOfMaterialItemCategoryMaterialType | Bill Of Material Item Category

try: 
    # Update Bill Of Material Item Category Material Type
    api_response = api_instance.bill_of_material_item_category_material_types_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemCategoryMaterialTypesApi->billOfMaterialItemCategoryMaterialTypesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item Category Material Type's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Bill Of Material Item Category Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


BillOfMaterialItems

billOfMaterialItemsDelete

Delete Bill Of Material Item


/api/BillOfMaterialItems/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/BillOfMaterialItems/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        try {
            Object result = apiInstance.billOfMaterialItemsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item's Unique Identifier

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

// Delete Bill Of Material Item
[apiInstance billOfMaterialItemsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var id = 56; // {Integer} Bill Of Material Item's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var id = 56;  // Integer | Bill Of Material Item's Unique Identifier

            try
            {
                // Delete Bill Of Material Item
                Object result = apiInstance.billOfMaterialItemsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$id = 56; // Integer | Bill Of Material Item's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $id = 56; # Integer | Bill Of Material Item's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsDelete: $@\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.BillOfMaterialItemsApi()
id = 56 # Integer | Bill Of Material Item's Unique Identifier

try: 
    # Delete Bill Of Material Item
    api_response = api_instance.bill_of_material_items_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemsGetAll

Get Set of Bill Of Material Items


/api/BillOfMaterialItems

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItems?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItem result = apiInstance.billOfMaterialItemsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfBillOfMaterialItem result = apiInstance.billOfMaterialItemsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Bill Of Material Items
[apiInstance billOfMaterialItemsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfBillOfMaterialItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class billOfMaterialItemsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Bill Of Material Items
                PageResultOfBillOfMaterialItem result = apiInstance.billOfMaterialItemsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->billOfMaterialItemsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BillOfMaterialItemsApi;

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->billOfMaterialItemsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsGetAll: $@\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.BillOfMaterialItemsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Bill Of Material Items
    api_response = api_instance.bill_of_material_items_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Bill Of Material Items

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemsGetById

Get Bill Of Material Item


/api/BillOfMaterialItems/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/BillOfMaterialItems/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item's Unique Identifier

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

// Get Bill Of Material Item
[apiInstance billOfMaterialItemsGetByIdWith:id
              completionHandler: ^(BillOfMaterialItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var id = 56; // {Integer} Bill Of Material Item's Unique Identifier


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

namespace Example
{
    public class billOfMaterialItemsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var id = 56;  // Integer | Bill Of Material Item's Unique Identifier

            try
            {
                // Get Bill Of Material Item
                BillOfMaterialItem result = apiInstance.billOfMaterialItemsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$id = 56; // Integer | Bill Of Material Item's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $id = 56; # Integer | Bill Of Material Item's Unique Identifier

eval { 
    my $result = $api_instance->billOfMaterialItemsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsGetById: $@\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.BillOfMaterialItemsApi()
id = 56 # Integer | Bill Of Material Item's Unique Identifier

try: 
    # Get Bill Of Material Item
    api_response = api_instance.bill_of_material_items_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item's Unique Identifier
Required

Responses

Status: 200 - Bill Of Material Item

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


billOfMaterialItemsPatch

Patch Bill Of Material Item


/api/BillOfMaterialItems/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/BillOfMaterialItems/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Patch
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        Object patch = ; // Object | Bill Of Material Item Patch
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item's Unique Identifier
Object *patch = ; // Bill Of Material Item Patch

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

// Patch Bill Of Material Item
[apiInstance billOfMaterialItemsPatchWith:id
    patch:patch
              completionHandler: ^(BillOfMaterialItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var id = 56; // {Integer} Bill Of Material Item's Unique Identifier

var patch = ; // {Object} Bill Of Material Item Patch


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

namespace Example
{
    public class billOfMaterialItemsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var id = 56;  // Integer | Bill Of Material Item's Unique Identifier
            var patch = new Object(); // Object | Bill Of Material Item Patch

            try
            {
                // Patch Bill Of Material Item
                BillOfMaterialItem result = apiInstance.billOfMaterialItemsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$id = 56; // Integer | Bill Of Material Item's Unique Identifier
$patch = ; // Object | Bill Of Material Item Patch

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $id = 56; # Integer | Bill Of Material Item's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Bill Of Material Item Patch

eval { 
    my $result = $api_instance->billOfMaterialItemsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPatch: $@\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.BillOfMaterialItemsApi()
id = 56 # Integer | Bill Of Material Item's Unique Identifier
patch =  # Object | Bill Of Material Item Patch

try: 
    # Patch Bill Of Material Item
    api_response = api_instance.bill_of_material_items_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Bill Of Material Item

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemsPost

Create Bill Of Material Item


/api/BillOfMaterialItems

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/BillOfMaterialItems"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        BillOfMaterialItem model = ; // BillOfMaterialItem | Bill Of Material Item
        try {
            Object result = apiInstance.billOfMaterialItemsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        BillOfMaterialItem model = ; // BillOfMaterialItem | Bill Of Material Item
        try {
            Object result = apiInstance.billOfMaterialItemsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPost");
            e.printStackTrace();
        }
    }
}
BillOfMaterialItem *model = ; // Bill Of Material Item

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

// Create Bill Of Material Item
[apiInstance billOfMaterialItemsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var model = ; // {BillOfMaterialItem} Bill Of Material Item


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

namespace Example
{
    public class billOfMaterialItemsPostExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var model = new BillOfMaterialItem(); // BillOfMaterialItem | Bill Of Material Item

            try
            {
                // Create Bill Of Material Item
                Object result = apiInstance.billOfMaterialItemsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$model = ; // BillOfMaterialItem | Bill Of Material Item

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $model = WWW::SwaggerClient::Object::BillOfMaterialItem->new(); # BillOfMaterialItem | Bill Of Material Item

eval { 
    my $result = $api_instance->billOfMaterialItemsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPost: $@\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.BillOfMaterialItemsApi()
model =  # BillOfMaterialItem | Bill Of Material Item

try: 
    # Create Bill Of Material Item
    api_response = api_instance.bill_of_material_items_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Bill Of Material Item

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


billOfMaterialItemsPut

Update Bill Of Material Item


/api/BillOfMaterialItems/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/BillOfMaterialItems/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillOfMaterialItemsApi;

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

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        BillOfMaterialItem model = ; // BillOfMaterialItem | Bill Of Material Item
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillOfMaterialItemsApi;

public class BillOfMaterialItemsApiExample {

    public static void main(String[] args) {
        BillOfMaterialItemsApi apiInstance = new BillOfMaterialItemsApi();
        Integer id = 56; // Integer | Bill Of Material Item's Unique Identifier
        BillOfMaterialItem model = ; // BillOfMaterialItem | Bill Of Material Item
        try {
            BillOfMaterialItem result = apiInstance.billOfMaterialItemsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillOfMaterialItemsApi#billOfMaterialItemsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Bill Of Material Item's Unique Identifier
BillOfMaterialItem *model = ; // Bill Of Material Item

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

// Update Bill Of Material Item
[apiInstance billOfMaterialItemsPutWith:id
    model:model
              completionHandler: ^(BillOfMaterialItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.BillOfMaterialItemsApi()

var id = 56; // {Integer} Bill Of Material Item's Unique Identifier

var model = ; // {BillOfMaterialItem} Bill Of Material Item


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

namespace Example
{
    public class billOfMaterialItemsPutExample
    {
        public void main()
        {
            
            var apiInstance = new BillOfMaterialItemsApi();
            var id = 56;  // Integer | Bill Of Material Item's Unique Identifier
            var model = new BillOfMaterialItem(); // BillOfMaterialItem | Bill Of Material Item

            try
            {
                // Update Bill Of Material Item
                BillOfMaterialItem result = apiInstance.billOfMaterialItemsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillOfMaterialItemsApi.billOfMaterialItemsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BillOfMaterialItemsApi();
$id = 56; // Integer | Bill Of Material Item's Unique Identifier
$model = ; // BillOfMaterialItem | Bill Of Material Item

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

my $api_instance = WWW::SwaggerClient::BillOfMaterialItemsApi->new();
my $id = 56; # Integer | Bill Of Material Item's Unique Identifier
my $model = WWW::SwaggerClient::Object::BillOfMaterialItem->new(); # BillOfMaterialItem | Bill Of Material Item

eval { 
    my $result = $api_instance->billOfMaterialItemsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPut: $@\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.BillOfMaterialItemsApi()
id = 56 # Integer | Bill Of Material Item's Unique Identifier
model =  # BillOfMaterialItem | Bill Of Material Item

try: 
    # Update Bill Of Material Item
    api_response = api_instance.bill_of_material_items_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillOfMaterialItemsApi->billOfMaterialItemsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Bill Of Material Item's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Bill Of Material Item

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


Customers

customersDelete

Delete Customer


/api/Customers/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/Customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        try {
            Object result = apiInstance.customersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        try {
            Object result = apiInstance.customersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Customer's Unique Identifier

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

// Delete Customer
[apiInstance customersDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var id = 56; // {Integer} Customer's Unique Identifier


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

namespace Example
{
    public class customersDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var id = 56;  // Integer | Customer's Unique Identifier

            try
            {
                // Delete Customer
                Object result = apiInstance.customersDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$id = 56; // Integer | Customer's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 56; # Integer | Customer's Unique Identifier

eval { 
    my $result = $api_instance->customersDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersDelete: $@\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.CustomersApi()
id = 56 # Integer | Customer's Unique Identifier

try: 
    # Delete Customer
    api_response = api_instance.customers_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Customer's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


customersGetAll

Get Set of Customers


/api/Customers

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Customers?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfCustomer result = apiInstance.customersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfCustomer result = apiInstance.customersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Customers
[apiInstance customersGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfCustomer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class customersGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Customers
                PageResultOfCustomer result = apiInstance.customersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->customersGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->customersGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->customersGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersGetAll: $@\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.CustomersApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Customers
    api_response = api_instance.customers_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Customers

Status: 401 - Unauthorized

Status: 403 - Forbidden


customersGetById

Get Customer


/api/Customers/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        try {
            Customer result = apiInstance.customersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        try {
            Customer result = apiInstance.customersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Customer's Unique Identifier

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

// Get Customer
[apiInstance customersGetByIdWith:id
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var id = 56; // {Integer} Customer's Unique Identifier


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

namespace Example
{
    public class customersGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var id = 56;  // Integer | Customer's Unique Identifier

            try
            {
                // Get Customer
                Customer result = apiInstance.customersGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$id = 56; // Integer | Customer's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 56; # Integer | Customer's Unique Identifier

eval { 
    my $result = $api_instance->customersGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersGetById: $@\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.CustomersApi()
id = 56 # Integer | Customer's Unique Identifier

try: 
    # Get Customer
    api_response = api_instance.customers_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Customer's Unique Identifier
Required

Responses

Status: 200 - Customer

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


customersPatch

Patch Customer


/api/Customers/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/Customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        Object patch = ; // Object | Customer Patch
        try {
            Customer result = apiInstance.customersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        Object patch = ; // Object | Customer Patch
        try {
            Customer result = apiInstance.customersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Customer's Unique Identifier
Object *patch = ; // Customer Patch

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

// Patch Customer
[apiInstance customersPatchWith:id
    patch:patch
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var id = 56; // {Integer} Customer's Unique Identifier

var patch = ; // {Object} Customer Patch


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

namespace Example
{
    public class customersPatchExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var id = 56;  // Integer | Customer's Unique Identifier
            var patch = new Object(); // Object | Customer Patch

            try
            {
                // Patch Customer
                Customer result = apiInstance.customersPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$id = 56; // Integer | Customer's Unique Identifier
$patch = ; // Object | Customer Patch

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 56; # Integer | Customer's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Customer Patch

eval { 
    my $result = $api_instance->customersPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersPatch: $@\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.CustomersApi()
id = 56 # Integer | Customer's Unique Identifier
patch =  # Object | Customer Patch

try: 
    # Patch Customer
    api_response = api_instance.customers_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Customer's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Customer

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


customersPost

Create Customer


/api/Customers

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/Customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Customer model = ; // Customer | Customer
        try {
            Object result = apiInstance.customersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Customer model = ; // Customer | Customer
        try {
            Object result = apiInstance.customersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPost");
            e.printStackTrace();
        }
    }
}
Customer *model = ; // Customer

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

// Create Customer
[apiInstance customersPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var model = ; // {Customer} Customer


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

namespace Example
{
    public class customersPostExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var model = new Customer(); // Customer | Customer

            try
            {
                // Create Customer
                Object result = apiInstance.customersPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$model = ; // Customer | Customer

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $model = WWW::SwaggerClient::Object::Customer->new(); # Customer | Customer

eval { 
    my $result = $api_instance->customersPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersPost: $@\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.CustomersApi()
model =  # Customer | Customer

try: 
    # Create Customer
    api_response = api_instance.customers_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Customer

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


customersPut

Update Customer


/api/Customers/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/Customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        Customer model = ; // Customer | Customer
        try {
            Customer result = apiInstance.customersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Integer id = 56; // Integer | Customer's Unique Identifier
        Customer model = ; // Customer | Customer
        try {
            Customer result = apiInstance.customersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#customersPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Customer's Unique Identifier
Customer *model = ; // Customer

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

// Update Customer
[apiInstance customersPutWith:id
    model:model
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.CustomersApi()

var id = 56; // {Integer} Customer's Unique Identifier

var model = ; // {Customer} Customer


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

namespace Example
{
    public class customersPutExample
    {
        public void main()
        {
            
            var apiInstance = new CustomersApi();
            var id = 56;  // Integer | Customer's Unique Identifier
            var model = new Customer(); // Customer | Customer

            try
            {
                // Update Customer
                Customer result = apiInstance.customersPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.customersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CustomersApi();
$id = 56; // Integer | Customer's Unique Identifier
$model = ; // Customer | Customer

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 56; # Integer | Customer's Unique Identifier
my $model = WWW::SwaggerClient::Object::Customer->new(); # Customer | Customer

eval { 
    my $result = $api_instance->customersPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->customersPut: $@\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.CustomersApi()
id = 56 # Integer | Customer's Unique Identifier
model =  # Customer | Customer

try: 
    # Update Customer
    api_response = api_instance.customers_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->customersPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Customer's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Customer

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


Images

imagesGetMainImageForEntity


/api/Images/{entityTypeId}/{entityId}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Images/{entityTypeId}/{entityId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImagesApi;

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

public class ImagesApiExample {

    public static void main(String[] args) {
        
        ImagesApi apiInstance = new ImagesApi();
        Integer entityTypeId = 56; // Integer | 
        Integer entityId = 56; // Integer | 
        try {
            Object result = apiInstance.imagesGetMainImageForEntity(entityTypeId, entityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImagesApi#imagesGetMainImageForEntity");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImagesApi;

public class ImagesApiExample {

    public static void main(String[] args) {
        ImagesApi apiInstance = new ImagesApi();
        Integer entityTypeId = 56; // Integer | 
        Integer entityId = 56; // Integer | 
        try {
            Object result = apiInstance.imagesGetMainImageForEntity(entityTypeId, entityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImagesApi#imagesGetMainImageForEntity");
            e.printStackTrace();
        }
    }
}
Integer *entityTypeId = 56; // 
Integer *entityId = 56; // 

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

[apiInstance imagesGetMainImageForEntityWith:entityTypeId
    entityId:entityId
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ImagesApi()

var entityTypeId = 56; // {Integer} 

var entityId = 56; // {Integer} 


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

namespace Example
{
    public class imagesGetMainImageForEntityExample
    {
        public void main()
        {
            
            var apiInstance = new ImagesApi();
            var entityTypeId = 56;  // Integer | 
            var entityId = 56;  // Integer | 

            try
            {
                Object result = apiInstance.imagesGetMainImageForEntity(entityTypeId, entityId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImagesApi.imagesGetMainImageForEntity: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImagesApi();
$entityTypeId = 56; // Integer | 
$entityId = 56; // Integer | 

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

my $api_instance = WWW::SwaggerClient::ImagesApi->new();
my $entityTypeId = 56; # Integer | 
my $entityId = 56; # Integer | 

eval { 
    my $result = $api_instance->imagesGetMainImageForEntity(entityTypeId => $entityTypeId, entityId => $entityId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImagesApi->imagesGetMainImageForEntity: $@\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.ImagesApi()
entityTypeId = 56 # Integer | 
entityId = 56 # Integer | 

try: 
    api_response = api_instance.images_get_main_image_for_entity(entityTypeId, entityId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImagesApi->imagesGetMainImageForEntity: %s\n" % e)

Parameters

Path parameters
Name Description
entityTypeId*
Integer (int32)
Required
entityId*
Integer (int32)
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden


imagesGetThumbnailImageForEntity


/api/Images/Thumbnail/{entityTypeId}/{entityId}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Images/Thumbnail/{entityTypeId}/{entityId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImagesApi;

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

public class ImagesApiExample {

    public static void main(String[] args) {
        
        ImagesApi apiInstance = new ImagesApi();
        Integer entityTypeId = 56; // Integer | 
        Integer entityId = 56; // Integer | 
        try {
            Object result = apiInstance.imagesGetThumbnailImageForEntity(entityTypeId, entityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImagesApi#imagesGetThumbnailImageForEntity");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImagesApi;

public class ImagesApiExample {

    public static void main(String[] args) {
        ImagesApi apiInstance = new ImagesApi();
        Integer entityTypeId = 56; // Integer | 
        Integer entityId = 56; // Integer | 
        try {
            Object result = apiInstance.imagesGetThumbnailImageForEntity(entityTypeId, entityId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImagesApi#imagesGetThumbnailImageForEntity");
            e.printStackTrace();
        }
    }
}
Integer *entityTypeId = 56; // 
Integer *entityId = 56; // 

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

[apiInstance imagesGetThumbnailImageForEntityWith:entityTypeId
    entityId:entityId
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ImagesApi()

var entityTypeId = 56; // {Integer} 

var entityId = 56; // {Integer} 


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

namespace Example
{
    public class imagesGetThumbnailImageForEntityExample
    {
        public void main()
        {
            
            var apiInstance = new ImagesApi();
            var entityTypeId = 56;  // Integer | 
            var entityId = 56;  // Integer | 

            try
            {
                Object result = apiInstance.imagesGetThumbnailImageForEntity(entityTypeId, entityId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImagesApi.imagesGetThumbnailImageForEntity: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImagesApi();
$entityTypeId = 56; // Integer | 
$entityId = 56; // Integer | 

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

my $api_instance = WWW::SwaggerClient::ImagesApi->new();
my $entityTypeId = 56; # Integer | 
my $entityId = 56; # Integer | 

eval { 
    my $result = $api_instance->imagesGetThumbnailImageForEntity(entityTypeId => $entityTypeId, entityId => $entityId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImagesApi->imagesGetThumbnailImageForEntity: $@\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.ImagesApi()
entityTypeId = 56 # Integer | 
entityId = 56 # Integer | 

try: 
    api_response = api_instance.images_get_thumbnail_image_for_entity(entityTypeId, entityId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImagesApi->imagesGetThumbnailImageForEntity: %s\n" % e)

Parameters

Path parameters
Name Description
entityTypeId*
Integer (int32)
Required
entityId*
Integer (int32)
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden


MaterialOptions

materialOptionsDelete

Delete Material Options


/api/MaterialOptions/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/MaterialOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        try {
            Object result = apiInstance.materialOptionsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        try {
            Object result = apiInstance.materialOptionsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Options Unique Identifier

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

// Delete Material Options
[apiInstance materialOptionsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var id = 56; // {Integer} Material Options Unique Identifier


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

namespace Example
{
    public class materialOptionsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var id = 56;  // Integer | Material Options Unique Identifier

            try
            {
                // Delete Material Options
                Object result = apiInstance.materialOptionsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$id = 56; // Integer | Material Options Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $id = 56; # Integer | Material Options Unique Identifier

eval { 
    my $result = $api_instance->materialOptionsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsDelete: $@\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.MaterialOptionsApi()
id = 56 # Integer | Material Options Unique Identifier

try: 
    # Delete Material Options
    api_response = api_instance.material_options_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Options Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialOptionsGetAll

Get Set of Material Options


/api/MaterialOptions

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialOptions?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialOption result = apiInstance.materialOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialOption result = apiInstance.materialOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Material Options
[apiInstance materialOptionsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfMaterialOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class materialOptionsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Material Options
                PageResultOfMaterialOption result = apiInstance.materialOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->materialOptionsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MaterialOptionsApi->materialOptionsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaterialOptionsApi;

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->materialOptionsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsGetAll: $@\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.MaterialOptionsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Material Options
    api_response = api_instance.material_options_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Material Options

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialOptionsGetById

Get Material Options


/api/MaterialOptions/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        try {
            MaterialOption result = apiInstance.materialOptionsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        try {
            MaterialOption result = apiInstance.materialOptionsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Options Unique Identifier

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

// Get Material Options
[apiInstance materialOptionsGetByIdWith:id
              completionHandler: ^(MaterialOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var id = 56; // {Integer} Material Options Unique Identifier


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

namespace Example
{
    public class materialOptionsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var id = 56;  // Integer | Material Options Unique Identifier

            try
            {
                // Get Material Options
                MaterialOption result = apiInstance.materialOptionsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$id = 56; // Integer | Material Options Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $id = 56; # Integer | Material Options Unique Identifier

eval { 
    my $result = $api_instance->materialOptionsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsGetById: $@\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.MaterialOptionsApi()
id = 56 # Integer | Material Options Unique Identifier

try: 
    # Get Material Options
    api_response = api_instance.material_options_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Options Unique Identifier
Required

Responses

Status: 200 - Material Options

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


materialOptionsPatch

Patch Material Options


/api/MaterialOptions/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/MaterialOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        Object patch = ; // Object | Material Options Patch
        try {
            MaterialOption result = apiInstance.materialOptionsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        Object patch = ; // Object | Material Options Patch
        try {
            MaterialOption result = apiInstance.materialOptionsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Options Unique Identifier
Object *patch = ; // Material Options Patch

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

// Patch Material Options
[apiInstance materialOptionsPatchWith:id
    patch:patch
              completionHandler: ^(MaterialOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var id = 56; // {Integer} Material Options Unique Identifier

var patch = ; // {Object} Material Options Patch


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

namespace Example
{
    public class materialOptionsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var id = 56;  // Integer | Material Options Unique Identifier
            var patch = new Object(); // Object | Material Options Patch

            try
            {
                // Patch Material Options
                MaterialOption result = apiInstance.materialOptionsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$id = 56; // Integer | Material Options Unique Identifier
$patch = ; // Object | Material Options Patch

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

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $id = 56; # Integer | Material Options Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Material Options Patch

eval { 
    my $result = $api_instance->materialOptionsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsPatch: $@\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.MaterialOptionsApi()
id = 56 # Integer | Material Options Unique Identifier
patch =  # Object | Material Options Patch

try: 
    # Patch Material Options
    api_response = api_instance.material_options_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Options Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Material Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialOptionsPost

Create Material Options


/api/MaterialOptions

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/MaterialOptions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        MaterialOption model = ; // MaterialOption | Material Options
        try {
            Object result = apiInstance.materialOptionsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        MaterialOption model = ; // MaterialOption | Material Options
        try {
            Object result = apiInstance.materialOptionsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPost");
            e.printStackTrace();
        }
    }
}
MaterialOption *model = ; // Material Options

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

// Create Material Options
[apiInstance materialOptionsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var model = ; // {MaterialOption} Material Options


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

namespace Example
{
    public class materialOptionsPostExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var model = new MaterialOption(); // MaterialOption | Material Options

            try
            {
                // Create Material Options
                Object result = apiInstance.materialOptionsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$model = ; // MaterialOption | Material Options

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

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $model = WWW::SwaggerClient::Object::MaterialOption->new(); # MaterialOption | Material Options

eval { 
    my $result = $api_instance->materialOptionsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsPost: $@\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.MaterialOptionsApi()
model =  # MaterialOption | Material Options

try: 
    # Create Material Options
    api_response = api_instance.material_options_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Material Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialOptionsPut

Update Material Options


/api/MaterialOptions/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/MaterialOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialOptionsApi;

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

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        MaterialOption model = ; // MaterialOption | Material Options
        try {
            MaterialOption result = apiInstance.materialOptionsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialOptionsApi;

public class MaterialOptionsApiExample {

    public static void main(String[] args) {
        MaterialOptionsApi apiInstance = new MaterialOptionsApi();
        Integer id = 56; // Integer | Material Options Unique Identifier
        MaterialOption model = ; // MaterialOption | Material Options
        try {
            MaterialOption result = apiInstance.materialOptionsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialOptionsApi#materialOptionsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Options Unique Identifier
MaterialOption *model = ; // Material Options

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

// Update Material Options
[apiInstance materialOptionsPutWith:id
    model:model
              completionHandler: ^(MaterialOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialOptionsApi()

var id = 56; // {Integer} Material Options Unique Identifier

var model = ; // {MaterialOption} Material Options


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

namespace Example
{
    public class materialOptionsPutExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialOptionsApi();
            var id = 56;  // Integer | Material Options Unique Identifier
            var model = new MaterialOption(); // MaterialOption | Material Options

            try
            {
                // Update Material Options
                MaterialOption result = apiInstance.materialOptionsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialOptionsApi.materialOptionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialOptionsApi();
$id = 56; // Integer | Material Options Unique Identifier
$model = ; // MaterialOption | Material Options

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

my $api_instance = WWW::SwaggerClient::MaterialOptionsApi->new();
my $id = 56; # Integer | Material Options Unique Identifier
my $model = WWW::SwaggerClient::Object::MaterialOption->new(); # MaterialOption | Material Options

eval { 
    my $result = $api_instance->materialOptionsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialOptionsApi->materialOptionsPut: $@\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.MaterialOptionsApi()
id = 56 # Integer | Material Options Unique Identifier
model =  # MaterialOption | Material Options

try: 
    # Update Material Options
    api_response = api_instance.material_options_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialOptionsApi->materialOptionsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Options Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Material Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


MaterialSupplierProfiles

materialSupplierProfilesDelete

Delete MaterialSupplierProfile


/api/MaterialSupplierProfiles/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/MaterialSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        try {
            Object result = apiInstance.materialSupplierProfilesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        try {
            Object result = apiInstance.materialSupplierProfilesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // MaterialSupplierProfile's Unique Identifier

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

// Delete MaterialSupplierProfile
[apiInstance materialSupplierProfilesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var id = 56; // {Integer} MaterialSupplierProfile's Unique Identifier


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

namespace Example
{
    public class materialSupplierProfilesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var id = 56;  // Integer | MaterialSupplierProfile's Unique Identifier

            try
            {
                // Delete MaterialSupplierProfile
                Object result = apiInstance.materialSupplierProfilesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$id = 56; // Integer | MaterialSupplierProfile's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $id = 56; # Integer | MaterialSupplierProfile's Unique Identifier

eval { 
    my $result = $api_instance->materialSupplierProfilesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesDelete: $@\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.MaterialSupplierProfilesApi()
id = 56 # Integer | MaterialSupplierProfile's Unique Identifier

try: 
    # Delete MaterialSupplierProfile
    api_response = api_instance.material_supplier_profiles_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
MaterialSupplierProfile's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSupplierProfilesGetAll

Get Set of MaterialSupplierProfiles


/api/MaterialSupplierProfiles

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialSupplierProfiles?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of MaterialSupplierProfiles
[apiInstance materialSupplierProfilesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfMaterialSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class materialSupplierProfilesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of MaterialSupplierProfiles
                PageResultOfMaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->materialSupplierProfilesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaterialSupplierProfilesApi;

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->materialSupplierProfilesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesGetAll: $@\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.MaterialSupplierProfilesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of MaterialSupplierProfiles
    api_response = api_instance.material_supplier_profiles_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of MaterialSupplierProfiles

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSupplierProfilesGetById

Get MaterialSupplierProfile


/api/MaterialSupplierProfiles/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // MaterialSupplierProfile's Unique Identifier

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

// Get MaterialSupplierProfile
[apiInstance materialSupplierProfilesGetByIdWith:id
              completionHandler: ^(MaterialSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var id = 56; // {Integer} MaterialSupplierProfile's Unique Identifier


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

namespace Example
{
    public class materialSupplierProfilesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var id = 56;  // Integer | MaterialSupplierProfile's Unique Identifier

            try
            {
                // Get MaterialSupplierProfile
                MaterialSupplierProfile result = apiInstance.materialSupplierProfilesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$id = 56; // Integer | MaterialSupplierProfile's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $id = 56; # Integer | MaterialSupplierProfile's Unique Identifier

eval { 
    my $result = $api_instance->materialSupplierProfilesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesGetById: $@\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.MaterialSupplierProfilesApi()
id = 56 # Integer | MaterialSupplierProfile's Unique Identifier

try: 
    # Get MaterialSupplierProfile
    api_response = api_instance.material_supplier_profiles_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
MaterialSupplierProfile's Unique Identifier
Required

Responses

Status: 200 - MaterialSupplierProfile

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


materialSupplierProfilesPatch

Patch MaterialSupplierProfile


/api/MaterialSupplierProfiles/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/MaterialSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        Object patch = ; // Object | MaterialSupplierProfile Patch
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        Object patch = ; // Object | MaterialSupplierProfile Patch
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // MaterialSupplierProfile's Unique Identifier
Object *patch = ; // MaterialSupplierProfile Patch

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

// Patch MaterialSupplierProfile
[apiInstance materialSupplierProfilesPatchWith:id
    patch:patch
              completionHandler: ^(MaterialSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var id = 56; // {Integer} MaterialSupplierProfile's Unique Identifier

var patch = ; // {Object} MaterialSupplierProfile Patch


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

namespace Example
{
    public class materialSupplierProfilesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var id = 56;  // Integer | MaterialSupplierProfile's Unique Identifier
            var patch = new Object(); // Object | MaterialSupplierProfile Patch

            try
            {
                // Patch MaterialSupplierProfile
                MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
$patch = ; // Object | MaterialSupplierProfile Patch

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

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $id = 56; # Integer | MaterialSupplierProfile's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | MaterialSupplierProfile Patch

eval { 
    my $result = $api_instance->materialSupplierProfilesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPatch: $@\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.MaterialSupplierProfilesApi()
id = 56 # Integer | MaterialSupplierProfile's Unique Identifier
patch =  # Object | MaterialSupplierProfile Patch

try: 
    # Patch MaterialSupplierProfile
    api_response = api_instance.material_supplier_profiles_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
MaterialSupplierProfile's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - MaterialSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSupplierProfilesPost

Create MaterialSupplierProfile


/api/MaterialSupplierProfiles

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/MaterialSupplierProfiles"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        MaterialSupplierProfile model = ; // MaterialSupplierProfile | MaterialSupplierProfile
        try {
            Object result = apiInstance.materialSupplierProfilesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        MaterialSupplierProfile model = ; // MaterialSupplierProfile | MaterialSupplierProfile
        try {
            Object result = apiInstance.materialSupplierProfilesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPost");
            e.printStackTrace();
        }
    }
}
MaterialSupplierProfile *model = ; // MaterialSupplierProfile

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

// Create MaterialSupplierProfile
[apiInstance materialSupplierProfilesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var model = ; // {MaterialSupplierProfile} MaterialSupplierProfile


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

namespace Example
{
    public class materialSupplierProfilesPostExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var model = new MaterialSupplierProfile(); // MaterialSupplierProfile | MaterialSupplierProfile

            try
            {
                // Create MaterialSupplierProfile
                Object result = apiInstance.materialSupplierProfilesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$model = ; // MaterialSupplierProfile | MaterialSupplierProfile

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

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $model = WWW::SwaggerClient::Object::MaterialSupplierProfile->new(); # MaterialSupplierProfile | MaterialSupplierProfile

eval { 
    my $result = $api_instance->materialSupplierProfilesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPost: $@\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.MaterialSupplierProfilesApi()
model =  # MaterialSupplierProfile | MaterialSupplierProfile

try: 
    # Create MaterialSupplierProfile
    api_response = api_instance.material_supplier_profiles_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - MaterialSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSupplierProfilesPut

Update MaterialSupplierProfile


/api/MaterialSupplierProfiles/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/MaterialSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSupplierProfilesApi;

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

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        MaterialSupplierProfile model = ; // MaterialSupplierProfile | MaterialSupplierProfile
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSupplierProfilesApi;

public class MaterialSupplierProfilesApiExample {

    public static void main(String[] args) {
        MaterialSupplierProfilesApi apiInstance = new MaterialSupplierProfilesApi();
        Integer id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
        MaterialSupplierProfile model = ; // MaterialSupplierProfile | MaterialSupplierProfile
        try {
            MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSupplierProfilesApi#materialSupplierProfilesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // MaterialSupplierProfile's Unique Identifier
MaterialSupplierProfile *model = ; // MaterialSupplierProfile

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

// Update MaterialSupplierProfile
[apiInstance materialSupplierProfilesPutWith:id
    model:model
              completionHandler: ^(MaterialSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSupplierProfilesApi()

var id = 56; // {Integer} MaterialSupplierProfile's Unique Identifier

var model = ; // {MaterialSupplierProfile} MaterialSupplierProfile


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

namespace Example
{
    public class materialSupplierProfilesPutExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSupplierProfilesApi();
            var id = 56;  // Integer | MaterialSupplierProfile's Unique Identifier
            var model = new MaterialSupplierProfile(); // MaterialSupplierProfile | MaterialSupplierProfile

            try
            {
                // Update MaterialSupplierProfile
                MaterialSupplierProfile result = apiInstance.materialSupplierProfilesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSupplierProfilesApi.materialSupplierProfilesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSupplierProfilesApi();
$id = 56; // Integer | MaterialSupplierProfile's Unique Identifier
$model = ; // MaterialSupplierProfile | MaterialSupplierProfile

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

my $api_instance = WWW::SwaggerClient::MaterialSupplierProfilesApi->new();
my $id = 56; # Integer | MaterialSupplierProfile's Unique Identifier
my $model = WWW::SwaggerClient::Object::MaterialSupplierProfile->new(); # MaterialSupplierProfile | MaterialSupplierProfile

eval { 
    my $result = $api_instance->materialSupplierProfilesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPut: $@\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.MaterialSupplierProfilesApi()
id = 56 # Integer | MaterialSupplierProfile's Unique Identifier
model =  # MaterialSupplierProfile | MaterialSupplierProfile

try: 
    # Update MaterialSupplierProfile
    api_response = api_instance.material_supplier_profiles_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSupplierProfilesApi->materialSupplierProfilesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
MaterialSupplierProfile's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - MaterialSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


MaterialSuppliers

materialSuppliersDelete

Delete Material Supplier


/api/MaterialSuppliers/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/MaterialSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        try {
            Object result = apiInstance.materialSuppliersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        try {
            Object result = apiInstance.materialSuppliersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Suppliers Unique Identifier

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

// Delete Material Supplier
[apiInstance materialSuppliersDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var id = 56; // {Integer} Material Suppliers Unique Identifier


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

namespace Example
{
    public class materialSuppliersDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var id = 56;  // Integer | Material Suppliers Unique Identifier

            try
            {
                // Delete Material Supplier
                Object result = apiInstance.materialSuppliersDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$id = 56; // Integer | Material Suppliers Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $id = 56; # Integer | Material Suppliers Unique Identifier

eval { 
    my $result = $api_instance->materialSuppliersDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersDelete: $@\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.MaterialSuppliersApi()
id = 56 # Integer | Material Suppliers Unique Identifier

try: 
    # Delete Material Supplier
    api_response = api_instance.material_suppliers_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Suppliers Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSuppliersGetAll

Get Set of Material Suppliers


/api/MaterialSuppliers

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialSuppliers?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialSupplier result = apiInstance.materialSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialSupplier result = apiInstance.materialSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Material Suppliers
[apiInstance materialSuppliersGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfMaterialSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class materialSuppliersGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Material Suppliers
                PageResultOfMaterialSupplier result = apiInstance.materialSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->materialSuppliersGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MaterialSuppliersApi->materialSuppliersGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaterialSuppliersApi;

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->materialSuppliersGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersGetAll: $@\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.MaterialSuppliersApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Material Suppliers
    api_response = api_instance.material_suppliers_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Material Suppliers

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSuppliersGetById

Get Material Supplier


/api/MaterialSuppliers/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        try {
            MaterialSupplier result = apiInstance.materialSuppliersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        try {
            MaterialSupplier result = apiInstance.materialSuppliersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Suppliers Unique Identifier

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

// Get Material Supplier
[apiInstance materialSuppliersGetByIdWith:id
              completionHandler: ^(MaterialSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var id = 56; // {Integer} Material Suppliers Unique Identifier


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

namespace Example
{
    public class materialSuppliersGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var id = 56;  // Integer | Material Suppliers Unique Identifier

            try
            {
                // Get Material Supplier
                MaterialSupplier result = apiInstance.materialSuppliersGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$id = 56; // Integer | Material Suppliers Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $id = 56; # Integer | Material Suppliers Unique Identifier

eval { 
    my $result = $api_instance->materialSuppliersGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersGetById: $@\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.MaterialSuppliersApi()
id = 56 # Integer | Material Suppliers Unique Identifier

try: 
    # Get Material Supplier
    api_response = api_instance.material_suppliers_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Suppliers Unique Identifier
Required

Responses

Status: 200 - Material Supplier

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


materialSuppliersPatch

Patch Material Supplier


/api/MaterialSuppliers/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/MaterialSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        Object patch = ; // Object | Material Supplier Patch
        try {
            MaterialSupplier result = apiInstance.materialSuppliersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        Object patch = ; // Object | Material Supplier Patch
        try {
            MaterialSupplier result = apiInstance.materialSuppliersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Suppliers Unique Identifier
Object *patch = ; // Material Supplier Patch

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

// Patch Material Supplier
[apiInstance materialSuppliersPatchWith:id
    patch:patch
              completionHandler: ^(MaterialSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var id = 56; // {Integer} Material Suppliers Unique Identifier

var patch = ; // {Object} Material Supplier Patch


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

namespace Example
{
    public class materialSuppliersPatchExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var id = 56;  // Integer | Material Suppliers Unique Identifier
            var patch = new Object(); // Object | Material Supplier Patch

            try
            {
                // Patch Material Supplier
                MaterialSupplier result = apiInstance.materialSuppliersPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$id = 56; // Integer | Material Suppliers Unique Identifier
$patch = ; // Object | Material Supplier Patch

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

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $id = 56; # Integer | Material Suppliers Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Material Supplier Patch

eval { 
    my $result = $api_instance->materialSuppliersPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersPatch: $@\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.MaterialSuppliersApi()
id = 56 # Integer | Material Suppliers Unique Identifier
patch =  # Object | Material Supplier Patch

try: 
    # Patch Material Supplier
    api_response = api_instance.material_suppliers_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Suppliers Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Material Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSuppliersPost

Create Material Supplier


/api/MaterialSuppliers

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/MaterialSuppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        MaterialSupplier model = ; // MaterialSupplier | Material Supplier
        try {
            Object result = apiInstance.materialSuppliersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        MaterialSupplier model = ; // MaterialSupplier | Material Supplier
        try {
            Object result = apiInstance.materialSuppliersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPost");
            e.printStackTrace();
        }
    }
}
MaterialSupplier *model = ; // Material Supplier

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

// Create Material Supplier
[apiInstance materialSuppliersPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var model = ; // {MaterialSupplier} Material Supplier


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

namespace Example
{
    public class materialSuppliersPostExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var model = new MaterialSupplier(); // MaterialSupplier | Material Supplier

            try
            {
                // Create Material Supplier
                Object result = apiInstance.materialSuppliersPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$model = ; // MaterialSupplier | Material Supplier

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

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $model = WWW::SwaggerClient::Object::MaterialSupplier->new(); # MaterialSupplier | Material Supplier

eval { 
    my $result = $api_instance->materialSuppliersPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersPost: $@\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.MaterialSuppliersApi()
model =  # MaterialSupplier | Material Supplier

try: 
    # Create Material Supplier
    api_response = api_instance.material_suppliers_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Material Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialSuppliersPut

Update Material Supplier


/api/MaterialSuppliers/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/MaterialSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialSuppliersApi;

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

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        MaterialSupplier model = ; // MaterialSupplier | MaterialSupplier
        try {
            MaterialSupplier result = apiInstance.materialSuppliersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialSuppliersApi;

public class MaterialSuppliersApiExample {

    public static void main(String[] args) {
        MaterialSuppliersApi apiInstance = new MaterialSuppliersApi();
        Integer id = 56; // Integer | Material Suppliers Unique Identifier
        MaterialSupplier model = ; // MaterialSupplier | MaterialSupplier
        try {
            MaterialSupplier result = apiInstance.materialSuppliersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialSuppliersApi#materialSuppliersPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Suppliers Unique Identifier
MaterialSupplier *model = ; // MaterialSupplier

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

// Update Material Supplier
[apiInstance materialSuppliersPutWith:id
    model:model
              completionHandler: ^(MaterialSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialSuppliersApi()

var id = 56; // {Integer} Material Suppliers Unique Identifier

var model = ; // {MaterialSupplier} MaterialSupplier


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

namespace Example
{
    public class materialSuppliersPutExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialSuppliersApi();
            var id = 56;  // Integer | Material Suppliers Unique Identifier
            var model = new MaterialSupplier(); // MaterialSupplier | MaterialSupplier

            try
            {
                // Update Material Supplier
                MaterialSupplier result = apiInstance.materialSuppliersPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialSuppliersApi.materialSuppliersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialSuppliersApi();
$id = 56; // Integer | Material Suppliers Unique Identifier
$model = ; // MaterialSupplier | MaterialSupplier

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

my $api_instance = WWW::SwaggerClient::MaterialSuppliersApi->new();
my $id = 56; # Integer | Material Suppliers Unique Identifier
my $model = WWW::SwaggerClient::Object::MaterialSupplier->new(); # MaterialSupplier | MaterialSupplier

eval { 
    my $result = $api_instance->materialSuppliersPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialSuppliersApi->materialSuppliersPut: $@\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.MaterialSuppliersApi()
id = 56 # Integer | Material Suppliers Unique Identifier
model =  # MaterialSupplier | MaterialSupplier

try: 
    # Update Material Supplier
    api_response = api_instance.material_suppliers_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialSuppliersApi->materialSuppliersPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Suppliers Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Material Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


MaterialTypes

materialTypesDelete

Delete Material Type


/api/MaterialTypes/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/MaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        try {
            Object result = apiInstance.materialTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        try {
            Object result = apiInstance.materialTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Type's Unique Identifier

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

// Delete Material Type
[apiInstance materialTypesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var id = 56; // {Integer} Material Type's Unique Identifier


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

namespace Example
{
    public class materialTypesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var id = 56;  // Integer | Material Type's Unique Identifier

            try
            {
                // Delete Material Type
                Object result = apiInstance.materialTypesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$id = 56; // Integer | Material Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $id = 56; # Integer | Material Type's Unique Identifier

eval { 
    my $result = $api_instance->materialTypesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesDelete: $@\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.MaterialTypesApi()
id = 56 # Integer | Material Type's Unique Identifier

try: 
    # Delete Material Type
    api_response = api_instance.material_types_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Type's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialTypesGetAll

Get Set of Material Types


/api/MaterialTypes

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialTypes?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialType result = apiInstance.materialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterialType result = apiInstance.materialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Material Types
[apiInstance materialTypesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfMaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class materialTypesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Material Types
                PageResultOfMaterialType result = apiInstance.materialTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->materialTypesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MaterialTypesApi->materialTypesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaterialTypesApi;

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->materialTypesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesGetAll: $@\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.MaterialTypesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Material Types
    api_response = api_instance.material_types_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Material Types

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialTypesGetById

Get Material Type


/api/MaterialTypes/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/MaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        try {
            MaterialType result = apiInstance.materialTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        try {
            MaterialType result = apiInstance.materialTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Type's Unique Identifier

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

// Get Material Type
[apiInstance materialTypesGetByIdWith:id
              completionHandler: ^(MaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var id = 56; // {Integer} Material Type's Unique Identifier


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

namespace Example
{
    public class materialTypesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var id = 56;  // Integer | Material Type's Unique Identifier

            try
            {
                // Get Material Type
                MaterialType result = apiInstance.materialTypesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$id = 56; // Integer | Material Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $id = 56; # Integer | Material Type's Unique Identifier

eval { 
    my $result = $api_instance->materialTypesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesGetById: $@\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.MaterialTypesApi()
id = 56 # Integer | Material Type's Unique Identifier

try: 
    # Get Material Type
    api_response = api_instance.material_types_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Type's Unique Identifier
Required

Responses

Status: 200 - Material Type

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


materialTypesPatch

Patch Material Type


/api/MaterialTypes/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/MaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        Object patch = ; // Object | Material Type Patch
        try {
            MaterialType result = apiInstance.materialTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        Object patch = ; // Object | Material Type Patch
        try {
            MaterialType result = apiInstance.materialTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Type's Unique Identifier
Object *patch = ; // Material Type Patch

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

// Patch Material Type
[apiInstance materialTypesPatchWith:id
    patch:patch
              completionHandler: ^(MaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var id = 56; // {Integer} Material Type's Unique Identifier

var patch = ; // {Object} Material Type Patch


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

namespace Example
{
    public class materialTypesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var id = 56;  // Integer | Material Type's Unique Identifier
            var patch = new Object(); // Object | Material Type Patch

            try
            {
                // Patch Material Type
                MaterialType result = apiInstance.materialTypesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$id = 56; // Integer | Material Type's Unique Identifier
$patch = ; // Object | Material Type Patch

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

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $id = 56; # Integer | Material Type's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Material Type Patch

eval { 
    my $result = $api_instance->materialTypesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesPatch: $@\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.MaterialTypesApi()
id = 56 # Integer | Material Type's Unique Identifier
patch =  # Object | Material Type Patch

try: 
    # Patch Material Type
    api_response = api_instance.material_types_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Type's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialTypesPost

Create Material Type


/api/MaterialTypes

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/MaterialTypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        MaterialType model = ; // MaterialType | Material Type
        try {
            Object result = apiInstance.materialTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        MaterialType model = ; // MaterialType | Material Type
        try {
            Object result = apiInstance.materialTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPost");
            e.printStackTrace();
        }
    }
}
MaterialType *model = ; // Material Type

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

// Create Material Type
[apiInstance materialTypesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var model = ; // {MaterialType} Material Type


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

namespace Example
{
    public class materialTypesPostExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var model = new MaterialType(); // MaterialType | Material Type

            try
            {
                // Create Material Type
                Object result = apiInstance.materialTypesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$model = ; // MaterialType | Material Type

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

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $model = WWW::SwaggerClient::Object::MaterialType->new(); # MaterialType | Material Type

eval { 
    my $result = $api_instance->materialTypesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesPost: $@\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.MaterialTypesApi()
model =  # MaterialType | Material Type

try: 
    # Create Material Type
    api_response = api_instance.material_types_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialTypesPut

Update Material Type


/api/MaterialTypes/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/MaterialTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialTypesApi;

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

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        MaterialType model = ; // MaterialType | Material Type
        try {
            MaterialType result = apiInstance.materialTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialTypesApi;

public class MaterialTypesApiExample {

    public static void main(String[] args) {
        MaterialTypesApi apiInstance = new MaterialTypesApi();
        Integer id = 56; // Integer | Material Type's Unique Identifier
        MaterialType model = ; // MaterialType | Material Type
        try {
            MaterialType result = apiInstance.materialTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialTypesApi#materialTypesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material Type's Unique Identifier
MaterialType *model = ; // Material Type

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

// Update Material Type
[apiInstance materialTypesPutWith:id
    model:model
              completionHandler: ^(MaterialType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialTypesApi()

var id = 56; // {Integer} Material Type's Unique Identifier

var model = ; // {MaterialType} Material Type


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

namespace Example
{
    public class materialTypesPutExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialTypesApi();
            var id = 56;  // Integer | Material Type's Unique Identifier
            var model = new MaterialType(); // MaterialType | Material Type

            try
            {
                // Update Material Type
                MaterialType result = apiInstance.materialTypesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialTypesApi.materialTypesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialTypesApi();
$id = 56; // Integer | Material Type's Unique Identifier
$model = ; // MaterialType | Material Type

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

my $api_instance = WWW::SwaggerClient::MaterialTypesApi->new();
my $id = 56; # Integer | Material Type's Unique Identifier
my $model = WWW::SwaggerClient::Object::MaterialType->new(); # MaterialType | Material Type

eval { 
    my $result = $api_instance->materialTypesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialTypesApi->materialTypesPut: $@\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.MaterialTypesApi()
id = 56 # Integer | Material Type's Unique Identifier
model =  # MaterialType | Material Type

try: 
    # Update Material Type
    api_response = api_instance.material_types_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialTypesApi->materialTypesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material Type's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Material Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


Materials

materialsDelete

Delete Material


/api/Materials/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/Materials/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        try {
            Object result = apiInstance.materialsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        try {
            Object result = apiInstance.materialsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material's Unique Identifier

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

// Delete Material
[apiInstance materialsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var id = 56; // {Integer} Material's Unique Identifier


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

namespace Example
{
    public class materialsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var id = 56;  // Integer | Material's Unique Identifier

            try
            {
                // Delete Material
                Object result = apiInstance.materialsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$id = 56; // Integer | Material's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $id = 56; # Integer | Material's Unique Identifier

eval { 
    my $result = $api_instance->materialsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsDelete: $@\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.MaterialsApi()
id = 56 # Integer | Material's Unique Identifier

try: 
    # Delete Material
    api_response = api_instance.materials_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialsGetAll

Get Set of Materials


/api/Materials

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Materials?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterial result = apiInstance.materialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfMaterial result = apiInstance.materialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Materials
[apiInstance materialsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfMaterial output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class materialsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Materials
                PageResultOfMaterial result = apiInstance.materialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->materialsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MaterialsApi->materialsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaterialsApi;

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->materialsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsGetAll: $@\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.MaterialsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Materials
    api_response = api_instance.materials_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Materials

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialsGetById

Get Material


/api/Materials/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Materials/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        try {
            Material result = apiInstance.materialsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        try {
            Material result = apiInstance.materialsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material's Unique Identifier

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

// Get Material
[apiInstance materialsGetByIdWith:id
              completionHandler: ^(Material output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var id = 56; // {Integer} Material's Unique Identifier


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

namespace Example
{
    public class materialsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var id = 56;  // Integer | Material's Unique Identifier

            try
            {
                // Get Material
                Material result = apiInstance.materialsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$id = 56; // Integer | Material's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $id = 56; # Integer | Material's Unique Identifier

eval { 
    my $result = $api_instance->materialsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsGetById: $@\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.MaterialsApi()
id = 56 # Integer | Material's Unique Identifier

try: 
    # Get Material
    api_response = api_instance.materials_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material's Unique Identifier
Required

Responses

Status: 200 - Material

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


materialsPatch

Patch Material


/api/Materials/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/Materials/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        Object patch = ; // Object | Material Patch
        try {
            Material result = apiInstance.materialsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        Object patch = ; // Object | Material Patch
        try {
            Material result = apiInstance.materialsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material's Unique Identifier
Object *patch = ; // Material Patch

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

// Patch Material
[apiInstance materialsPatchWith:id
    patch:patch
              completionHandler: ^(Material output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var id = 56; // {Integer} Material's Unique Identifier

var patch = ; // {Object} Material Patch


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

namespace Example
{
    public class materialsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var id = 56;  // Integer | Material's Unique Identifier
            var patch = new Object(); // Object | Material Patch

            try
            {
                // Patch Material
                Material result = apiInstance.materialsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$id = 56; // Integer | Material's Unique Identifier
$patch = ; // Object | Material Patch

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

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $id = 56; # Integer | Material's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Material Patch

eval { 
    my $result = $api_instance->materialsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsPatch: $@\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.MaterialsApi()
id = 56 # Integer | Material's Unique Identifier
patch =  # Object | Material Patch

try: 
    # Patch Material
    api_response = api_instance.materials_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Material

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialsPost

Create Material


/api/Materials

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/Materials"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        Material model = ; // Material | Material
        try {
            Object result = apiInstance.materialsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        Material model = ; // Material | Material
        try {
            Object result = apiInstance.materialsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPost");
            e.printStackTrace();
        }
    }
}
Material *model = ; // Material

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

// Create Material
[apiInstance materialsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var model = ; // {Material} Material


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

namespace Example
{
    public class materialsPostExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var model = new Material(); // Material | Material

            try
            {
                // Create Material
                Object result = apiInstance.materialsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$model = ; // Material | Material

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

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $model = WWW::SwaggerClient::Object::Material->new(); # Material | Material

eval { 
    my $result = $api_instance->materialsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsPost: $@\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.MaterialsApi()
model =  # Material | Material

try: 
    # Create Material
    api_response = api_instance.materials_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Material

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


materialsPut

Update Material


/api/Materials/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/Materials/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaterialsApi;

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

public class MaterialsApiExample {

    public static void main(String[] args) {
        
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        Material model = ; // Material | Material
        try {
            Material result = apiInstance.materialsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MaterialsApi;

public class MaterialsApiExample {

    public static void main(String[] args) {
        MaterialsApi apiInstance = new MaterialsApi();
        Integer id = 56; // Integer | Material's Unique Identifier
        Material model = ; // Material | Material
        try {
            Material result = apiInstance.materialsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MaterialsApi#materialsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Material's Unique Identifier
Material *model = ; // Material

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

// Update Material
[apiInstance materialsPutWith:id
    model:model
              completionHandler: ^(Material output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.MaterialsApi()

var id = 56; // {Integer} Material's Unique Identifier

var model = ; // {Material} Material


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

namespace Example
{
    public class materialsPutExample
    {
        public void main()
        {
            
            var apiInstance = new MaterialsApi();
            var id = 56;  // Integer | Material's Unique Identifier
            var model = new Material(); // Material | Material

            try
            {
                // Update Material
                Material result = apiInstance.materialsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MaterialsApi.materialsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaterialsApi();
$id = 56; // Integer | Material's Unique Identifier
$model = ; // Material | Material

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

my $api_instance = WWW::SwaggerClient::MaterialsApi->new();
my $id = 56; # Integer | Material's Unique Identifier
my $model = WWW::SwaggerClient::Object::Material->new(); # Material | Material

eval { 
    my $result = $api_instance->materialsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MaterialsApi->materialsPut: $@\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.MaterialsApi()
id = 56 # Integer | Material's Unique Identifier
model =  # Material | Material

try: 
    # Update Material
    api_response = api_instance.materials_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MaterialsApi->materialsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Material's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Material

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductBillOfMaterials

productBillOfMaterialsDeleteMaterial

Remove Material from Product Bill of Material


/api/ProductBillOfMaterials/{productId}/Material/{materialId}/{billOfMaterialCategoryId}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductBillOfMaterials/{productId}/Material/{materialId}/{billOfMaterialCategoryId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductBillOfMaterialsApi;

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

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer productId = 56; // Integer | Product's Unique Identifier
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsDeleteMaterial(productId, materialId, billOfMaterialCategoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsDeleteMaterial");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductBillOfMaterialsApi;

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer productId = 56; // Integer | Product's Unique Identifier
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsDeleteMaterial(productId, materialId, billOfMaterialCategoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsDeleteMaterial");
            e.printStackTrace();
        }
    }
}
Integer *productId = 56; // Product's Unique Identifier
Integer *materialId = 56; // Material's Unique Identifier
Integer *billOfMaterialCategoryId = 56; // BOM Item Category's Unique Identifier

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

// Remove Material from Product Bill of Material
[apiInstance productBillOfMaterialsDeleteMaterialWith:productId
    materialId:materialId
    billOfMaterialCategoryId:billOfMaterialCategoryId
              completionHandler: ^(ProductBillOfMaterial output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductBillOfMaterialsApi()

var productId = 56; // {Integer} Product's Unique Identifier

var materialId = 56; // {Integer} Material's Unique Identifier

var billOfMaterialCategoryId = 56; // {Integer} BOM Item Category's Unique Identifier


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

namespace Example
{
    public class productBillOfMaterialsDeleteMaterialExample
    {
        public void main()
        {
            
            var apiInstance = new ProductBillOfMaterialsApi();
            var productId = 56;  // Integer | Product's Unique Identifier
            var materialId = 56;  // Integer | Material's Unique Identifier
            var billOfMaterialCategoryId = 56;  // Integer | BOM Item Category's Unique Identifier

            try
            {
                // Remove Material from Product Bill of Material
                ProductBillOfMaterial result = apiInstance.productBillOfMaterialsDeleteMaterial(productId, materialId, billOfMaterialCategoryId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductBillOfMaterialsApi.productBillOfMaterialsDeleteMaterial: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductBillOfMaterialsApi();
$productId = 56; // Integer | Product's Unique Identifier
$materialId = 56; // Integer | Material's Unique Identifier
$billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier

try {
    $result = $api_instance->productBillOfMaterialsDeleteMaterial($productId, $materialId, $billOfMaterialCategoryId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsDeleteMaterial: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductBillOfMaterialsApi;

my $api_instance = WWW::SwaggerClient::ProductBillOfMaterialsApi->new();
my $productId = 56; # Integer | Product's Unique Identifier
my $materialId = 56; # Integer | Material's Unique Identifier
my $billOfMaterialCategoryId = 56; # Integer | BOM Item Category's Unique Identifier

eval { 
    my $result = $api_instance->productBillOfMaterialsDeleteMaterial(productId => $productId, materialId => $materialId, billOfMaterialCategoryId => $billOfMaterialCategoryId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsDeleteMaterial: $@\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.ProductBillOfMaterialsApi()
productId = 56 # Integer | Product's Unique Identifier
materialId = 56 # Integer | Material's Unique Identifier
billOfMaterialCategoryId = 56 # Integer | BOM Item Category's Unique Identifier

try: 
    # Remove Material from Product Bill of Material
    api_response = api_instance.product_bill_of_materials_delete_material(productId, materialId, billOfMaterialCategoryId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsDeleteMaterial: %s\n" % e)

Parameters

Path parameters
Name Description
productId*
Integer (int32)
Product's Unique Identifier
Required
materialId*
Integer (int32)
Material's Unique Identifier
Required
billOfMaterialCategoryId*
Integer (int32)
BOM Item Category's Unique Identifier
Required

Responses

Status: 200 - Product Bill of Material

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productBillOfMaterialsGetAll

Get Set of Product Bill of Materials


/api/ProductBillOfMaterials

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductBillOfMaterials?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductBillOfMaterialsApi;

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

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductBillOfMaterialsApi;

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Product Bill of Materials
[apiInstance productBillOfMaterialsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductBillOfMaterial output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductBillOfMaterialsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productBillOfMaterialsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductBillOfMaterialsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Product Bill of Materials
                PageResultOfProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductBillOfMaterialsApi.productBillOfMaterialsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductBillOfMaterialsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productBillOfMaterialsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductBillOfMaterialsApi;

my $api_instance = WWW::SwaggerClient::ProductBillOfMaterialsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productBillOfMaterialsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAll: $@\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.ProductBillOfMaterialsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Product Bill of Materials
    api_response = api_instance.product_bill_of_materials_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Product Bill of Materials

Status: 401 - Unauthorized

Status: 403 - Forbidden


productBillOfMaterialsGetAllProductForMaterial

Get Set of Products for Material


/api/ProductBillOfMaterials/WhereUsed/{materialId}/{billOfMaterialCategoryId}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductBillOfMaterials/WhereUsed/{materialId}/{billOfMaterialCategoryId}?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductBillOfMaterialsApi;

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

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            array[Product] result = apiInstance.productBillOfMaterialsGetAllProductForMaterial(materialId, billOfMaterialCategoryId, $filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetAllProductForMaterial");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductBillOfMaterialsApi;

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            array[Product] result = apiInstance.productBillOfMaterialsGetAllProductForMaterial(materialId, billOfMaterialCategoryId, $filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetAllProductForMaterial");
            e.printStackTrace();
        }
    }
}
Integer *materialId = 56; // Material's Unique Identifier
Integer *billOfMaterialCategoryId = 56; // BOM Item Category's Unique Identifier
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Products for Material
[apiInstance productBillOfMaterialsGetAllProductForMaterialWith:materialId
    billOfMaterialCategoryId:billOfMaterialCategoryId
    $filter:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(array[Product] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductBillOfMaterialsApi()

var materialId = 56; // {Integer} Material's Unique Identifier

var billOfMaterialCategoryId = 56; // {Integer} BOM Item Category's Unique Identifier

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productBillOfMaterialsGetAllProductForMaterialExample
    {
        public void main()
        {
            
            var apiInstance = new ProductBillOfMaterialsApi();
            var materialId = 56;  // Integer | Material's Unique Identifier
            var billOfMaterialCategoryId = 56;  // Integer | BOM Item Category's Unique Identifier
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Products for Material
                array[Product] result = apiInstance.productBillOfMaterialsGetAllProductForMaterial(materialId, billOfMaterialCategoryId, $filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductBillOfMaterialsApi.productBillOfMaterialsGetAllProductForMaterial: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductBillOfMaterialsApi();
$materialId = 56; // Integer | Material's Unique Identifier
$billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productBillOfMaterialsGetAllProductForMaterial($materialId, $billOfMaterialCategoryId, $$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAllProductForMaterial: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductBillOfMaterialsApi;

my $api_instance = WWW::SwaggerClient::ProductBillOfMaterialsApi->new();
my $materialId = 56; # Integer | Material's Unique Identifier
my $billOfMaterialCategoryId = 56; # Integer | BOM Item Category's Unique Identifier
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productBillOfMaterialsGetAllProductForMaterial(materialId => $materialId, billOfMaterialCategoryId => $billOfMaterialCategoryId, $filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAllProductForMaterial: $@\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.ProductBillOfMaterialsApi()
materialId = 56 # Integer | Material's Unique Identifier
billOfMaterialCategoryId = 56 # Integer | BOM Item Category's Unique Identifier
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Products for Material
    api_response = api_instance.product_bill_of_materials_get_all_product_for_material(materialId, billOfMaterialCategoryId, $filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetAllProductForMaterial: %s\n" % e)

Parameters

Path parameters
Name Description
materialId*
Integer (int32)
Material's Unique Identifier
Required
billOfMaterialCategoryId*
Integer (int32)
BOM Item Category's Unique Identifier
Required
Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Products

Status: 401 - Unauthorized

Status: 403 - Forbidden


productBillOfMaterialsGetById

Get Product Bill of Material


/api/ProductBillOfMaterials/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductBillOfMaterials/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductBillOfMaterialsApi;

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

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductBillOfMaterialsApi;

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product's Unique Identifier

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

// Get Product Bill of Material
[apiInstance productBillOfMaterialsGetByIdWith:id
              completionHandler: ^(ProductBillOfMaterial output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductBillOfMaterialsApi()

var id = 56; // {Integer} Product's Unique Identifier


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

namespace Example
{
    public class productBillOfMaterialsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductBillOfMaterialsApi();
            var id = 56;  // Integer | Product's Unique Identifier

            try
            {
                // Get Product Bill of Material
                ProductBillOfMaterial result = apiInstance.productBillOfMaterialsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductBillOfMaterialsApi.productBillOfMaterialsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductBillOfMaterialsApi();
$id = 56; // Integer | Product's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductBillOfMaterialsApi->new();
my $id = 56; # Integer | Product's Unique Identifier

eval { 
    my $result = $api_instance->productBillOfMaterialsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetById: $@\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.ProductBillOfMaterialsApi()
id = 56 # Integer | Product's Unique Identifier

try: 
    # Get Product Bill of Material
    api_response = api_instance.product_bill_of_materials_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product's Unique Identifier
Required

Responses

Status: 200 - Product Bill of Material

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productBillOfMaterialsPostMaterial

Add Material to Product Bill of Material


/api/ProductBillOfMaterials/{productId}/Material/{materialId}/{billOfMaterialCategoryId}

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductBillOfMaterials/{productId}/Material/{materialId}/{billOfMaterialCategoryId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductBillOfMaterialsApi;

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

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer productId = 56; // Integer | Product's Unique Identifier
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsPostMaterial(productId, materialId, billOfMaterialCategoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsPostMaterial");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductBillOfMaterialsApi;

public class ProductBillOfMaterialsApiExample {

    public static void main(String[] args) {
        ProductBillOfMaterialsApi apiInstance = new ProductBillOfMaterialsApi();
        Integer productId = 56; // Integer | Product's Unique Identifier
        Integer materialId = 56; // Integer | Material's Unique Identifier
        Integer billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier
        try {
            ProductBillOfMaterial result = apiInstance.productBillOfMaterialsPostMaterial(productId, materialId, billOfMaterialCategoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductBillOfMaterialsApi#productBillOfMaterialsPostMaterial");
            e.printStackTrace();
        }
    }
}
Integer *productId = 56; // Product's Unique Identifier
Integer *materialId = 56; // Material's Unique Identifier
Integer *billOfMaterialCategoryId = 56; // BOM Item Category's Unique Identifier

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

// Add Material to Product Bill of Material
[apiInstance productBillOfMaterialsPostMaterialWith:productId
    materialId:materialId
    billOfMaterialCategoryId:billOfMaterialCategoryId
              completionHandler: ^(ProductBillOfMaterial output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductBillOfMaterialsApi()

var productId = 56; // {Integer} Product's Unique Identifier

var materialId = 56; // {Integer} Material's Unique Identifier

var billOfMaterialCategoryId = 56; // {Integer} BOM Item Category's Unique Identifier


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

namespace Example
{
    public class productBillOfMaterialsPostMaterialExample
    {
        public void main()
        {
            
            var apiInstance = new ProductBillOfMaterialsApi();
            var productId = 56;  // Integer | Product's Unique Identifier
            var materialId = 56;  // Integer | Material's Unique Identifier
            var billOfMaterialCategoryId = 56;  // Integer | BOM Item Category's Unique Identifier

            try
            {
                // Add Material to Product Bill of Material
                ProductBillOfMaterial result = apiInstance.productBillOfMaterialsPostMaterial(productId, materialId, billOfMaterialCategoryId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductBillOfMaterialsApi.productBillOfMaterialsPostMaterial: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductBillOfMaterialsApi();
$productId = 56; // Integer | Product's Unique Identifier
$materialId = 56; // Integer | Material's Unique Identifier
$billOfMaterialCategoryId = 56; // Integer | BOM Item Category's Unique Identifier

try {
    $result = $api_instance->productBillOfMaterialsPostMaterial($productId, $materialId, $billOfMaterialCategoryId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsPostMaterial: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductBillOfMaterialsApi;

my $api_instance = WWW::SwaggerClient::ProductBillOfMaterialsApi->new();
my $productId = 56; # Integer | Product's Unique Identifier
my $materialId = 56; # Integer | Material's Unique Identifier
my $billOfMaterialCategoryId = 56; # Integer | BOM Item Category's Unique Identifier

eval { 
    my $result = $api_instance->productBillOfMaterialsPostMaterial(productId => $productId, materialId => $materialId, billOfMaterialCategoryId => $billOfMaterialCategoryId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsPostMaterial: $@\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.ProductBillOfMaterialsApi()
productId = 56 # Integer | Product's Unique Identifier
materialId = 56 # Integer | Material's Unique Identifier
billOfMaterialCategoryId = 56 # Integer | BOM Item Category's Unique Identifier

try: 
    # Add Material to Product Bill of Material
    api_response = api_instance.product_bill_of_materials_post_material(productId, materialId, billOfMaterialCategoryId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductBillOfMaterialsApi->productBillOfMaterialsPostMaterial: %s\n" % e)

Parameters

Path parameters
Name Description
productId*
Integer (int32)
Product's Unique Identifier
Required
materialId*
Integer (int32)
Material's Unique Identifier
Required
billOfMaterialCategoryId*
Integer (int32)
BOM Item Category's Unique Identifier
Required

Responses

Status: 200 - Product Bill of Material

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductOptions

productOptionsDelete

Delete Product Options


/api/ProductOptions/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        try {
            Object result = apiInstance.productOptionsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        try {
            Object result = apiInstance.productOptionsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Options Unique Identifier

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

// Delete Product Options
[apiInstance productOptionsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var id = 56; // {Integer} Product Options Unique Identifier


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

namespace Example
{
    public class productOptionsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var id = 56;  // Integer | Product Options Unique Identifier

            try
            {
                // Delete Product Options
                Object result = apiInstance.productOptionsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$id = 56; // Integer | Product Options Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $id = 56; # Integer | Product Options Unique Identifier

eval { 
    my $result = $api_instance->productOptionsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsDelete: $@\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.ProductOptionsApi()
id = 56 # Integer | Product Options Unique Identifier

try: 
    # Delete Product Options
    api_response = api_instance.product_options_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Options Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productOptionsGetAll

Get Set of Product Options


/api/ProductOptions

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductOptions?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductOption result = apiInstance.productOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductOption result = apiInstance.productOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Product Options
[apiInstance productOptionsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productOptionsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Product Options
                PageResultOfProductOption result = apiInstance.productOptionsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productOptionsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductOptionsApi->productOptionsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductOptionsApi;

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productOptionsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsGetAll: $@\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.ProductOptionsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Product Options
    api_response = api_instance.product_options_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Product Options

Status: 401 - Unauthorized

Status: 403 - Forbidden


productOptionsGetById

Get Product Options


/api/ProductOptions/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        try {
            ProductOption result = apiInstance.productOptionsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        try {
            ProductOption result = apiInstance.productOptionsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Options Unique Identifier

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

// Get Product Options
[apiInstance productOptionsGetByIdWith:id
              completionHandler: ^(ProductOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var id = 56; // {Integer} Product Options Unique Identifier


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

namespace Example
{
    public class productOptionsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var id = 56;  // Integer | Product Options Unique Identifier

            try
            {
                // Get Product Options
                ProductOption result = apiInstance.productOptionsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$id = 56; // Integer | Product Options Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $id = 56; # Integer | Product Options Unique Identifier

eval { 
    my $result = $api_instance->productOptionsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsGetById: $@\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.ProductOptionsApi()
id = 56 # Integer | Product Options Unique Identifier

try: 
    # Get Product Options
    api_response = api_instance.product_options_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Options Unique Identifier
Required

Responses

Status: 200 - Product Options

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productOptionsPatch

Patch Product Options


/api/ProductOptions/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/ProductOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        Object patch = ; // Object | Product Options Patch
        try {
            ProductOption result = apiInstance.productOptionsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        Object patch = ; // Object | Product Options Patch
        try {
            ProductOption result = apiInstance.productOptionsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Options Unique Identifier
Object *patch = ; // Product Options Patch

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

// Patch Product Options
[apiInstance productOptionsPatchWith:id
    patch:patch
              completionHandler: ^(ProductOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var id = 56; // {Integer} Product Options Unique Identifier

var patch = ; // {Object} Product Options Patch


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

namespace Example
{
    public class productOptionsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var id = 56;  // Integer | Product Options Unique Identifier
            var patch = new Object(); // Object | Product Options Patch

            try
            {
                // Patch Product Options
                ProductOption result = apiInstance.productOptionsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$id = 56; // Integer | Product Options Unique Identifier
$patch = ; // Object | Product Options Patch

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

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $id = 56; # Integer | Product Options Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Product Options Patch

eval { 
    my $result = $api_instance->productOptionsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsPatch: $@\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.ProductOptionsApi()
id = 56 # Integer | Product Options Unique Identifier
patch =  # Object | Product Options Patch

try: 
    # Patch Product Options
    api_response = api_instance.product_options_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Options Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Product Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productOptionsPost

Create Product Options


/api/ProductOptions

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductOptions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        ProductOption model = ; // ProductOption | Product Options
        try {
            Object result = apiInstance.productOptionsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        ProductOption model = ; // ProductOption | Product Options
        try {
            Object result = apiInstance.productOptionsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPost");
            e.printStackTrace();
        }
    }
}
ProductOption *model = ; // Product Options

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

// Create Product Options
[apiInstance productOptionsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var model = ; // {ProductOption} Product Options


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

namespace Example
{
    public class productOptionsPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var model = new ProductOption(); // ProductOption | Product Options

            try
            {
                // Create Product Options
                Object result = apiInstance.productOptionsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$model = ; // ProductOption | Product Options

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

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $model = WWW::SwaggerClient::Object::ProductOption->new(); # ProductOption | Product Options

eval { 
    my $result = $api_instance->productOptionsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsPost: $@\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.ProductOptionsApi()
model =  # ProductOption | Product Options

try: 
    # Create Product Options
    api_response = api_instance.product_options_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Product Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productOptionsPut

Update Product Options


/api/ProductOptions/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/ProductOptions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductOptionsApi;

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

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        ProductOption model = ; // ProductOption | Product Options
        try {
            ProductOption result = apiInstance.productOptionsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductOptionsApi;

public class ProductOptionsApiExample {

    public static void main(String[] args) {
        ProductOptionsApi apiInstance = new ProductOptionsApi();
        Integer id = 56; // Integer | Product Options Unique Identifier
        ProductOption model = ; // ProductOption | Product Options
        try {
            ProductOption result = apiInstance.productOptionsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductOptionsApi#productOptionsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Options Unique Identifier
ProductOption *model = ; // Product Options

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

// Update Product Options
[apiInstance productOptionsPutWith:id
    model:model
              completionHandler: ^(ProductOption output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductOptionsApi()

var id = 56; // {Integer} Product Options Unique Identifier

var model = ; // {ProductOption} Product Options


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

namespace Example
{
    public class productOptionsPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductOptionsApi();
            var id = 56;  // Integer | Product Options Unique Identifier
            var model = new ProductOption(); // ProductOption | Product Options

            try
            {
                // Update Product Options
                ProductOption result = apiInstance.productOptionsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductOptionsApi.productOptionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductOptionsApi();
$id = 56; // Integer | Product Options Unique Identifier
$model = ; // ProductOption | Product Options

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

my $api_instance = WWW::SwaggerClient::ProductOptionsApi->new();
my $id = 56; # Integer | Product Options Unique Identifier
my $model = WWW::SwaggerClient::Object::ProductOption->new(); # ProductOption | Product Options

eval { 
    my $result = $api_instance->productOptionsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductOptionsApi->productOptionsPut: $@\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.ProductOptionsApi()
id = 56 # Integer | Product Options Unique Identifier
model =  # ProductOption | Product Options

try: 
    # Update Product Options
    api_response = api_instance.product_options_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductOptionsApi->productOptionsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Options Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Product Options

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductStatuses

productStatusesDelete

Delete Product Status


/api/ProductStatuses/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductStatuses/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        try {
            Object result = apiInstance.productStatusesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        try {
            Object result = apiInstance.productStatusesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Status's Unique Identifier

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

// Delete Product Status
[apiInstance productStatusesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var id = 56; // {Integer} Product Status's Unique Identifier


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

namespace Example
{
    public class productStatusesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var id = 56;  // Integer | Product Status's Unique Identifier

            try
            {
                // Delete Product Status
                Object result = apiInstance.productStatusesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$id = 56; // Integer | Product Status's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $id = 56; # Integer | Product Status's Unique Identifier

eval { 
    my $result = $api_instance->productStatusesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesDelete: $@\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.ProductStatusesApi()
id = 56 # Integer | Product Status's Unique Identifier

try: 
    # Delete Product Status
    api_response = api_instance.product_statuses_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Status's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productStatusesGetAll

Get Set of Product Statuses


/api/ProductStatuses

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductStatuses?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductStatus result = apiInstance.productStatusesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductStatus result = apiInstance.productStatusesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Product Statuses
[apiInstance productStatusesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productStatusesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Product Statuses
                PageResultOfProductStatus result = apiInstance.productStatusesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productStatusesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductStatusesApi->productStatusesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductStatusesApi;

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productStatusesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesGetAll: $@\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.ProductStatusesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Product Statuses
    api_response = api_instance.product_statuses_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Product Statuses

Status: 401 - Unauthorized

Status: 403 - Forbidden


productStatusesGetById

Get Product Status


/api/ProductStatuses/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductStatuses/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        try {
            ProductStatus result = apiInstance.productStatusesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        try {
            ProductStatus result = apiInstance.productStatusesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Status's Unique Identifier

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

// Get Product Status
[apiInstance productStatusesGetByIdWith:id
              completionHandler: ^(ProductStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var id = 56; // {Integer} Product Status's Unique Identifier


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

namespace Example
{
    public class productStatusesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var id = 56;  // Integer | Product Status's Unique Identifier

            try
            {
                // Get Product Status
                ProductStatus result = apiInstance.productStatusesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$id = 56; // Integer | Product Status's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $id = 56; # Integer | Product Status's Unique Identifier

eval { 
    my $result = $api_instance->productStatusesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesGetById: $@\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.ProductStatusesApi()
id = 56 # Integer | Product Status's Unique Identifier

try: 
    # Get Product Status
    api_response = api_instance.product_statuses_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Status's Unique Identifier
Required

Responses

Status: 200 - Product Status

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productStatusesPatch

Patch Product Status


/api/ProductStatuses/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/ProductStatuses/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        Object patch = ; // Object | Product Status Patch
        try {
            ProductStatus result = apiInstance.productStatusesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        Object patch = ; // Object | Product Status Patch
        try {
            ProductStatus result = apiInstance.productStatusesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Status's Unique Identifier
Object *patch = ; // Product Status Patch

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

// Patch Product Status
[apiInstance productStatusesPatchWith:id
    patch:patch
              completionHandler: ^(ProductStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var id = 56; // {Integer} Product Status's Unique Identifier

var patch = ; // {Object} Product Status Patch


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

namespace Example
{
    public class productStatusesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var id = 56;  // Integer | Product Status's Unique Identifier
            var patch = new Object(); // Object | Product Status Patch

            try
            {
                // Patch Product Status
                ProductStatus result = apiInstance.productStatusesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$id = 56; // Integer | Product Status's Unique Identifier
$patch = ; // Object | Product Status Patch

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

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $id = 56; # Integer | Product Status's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Product Status Patch

eval { 
    my $result = $api_instance->productStatusesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesPatch: $@\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.ProductStatusesApi()
id = 56 # Integer | Product Status's Unique Identifier
patch =  # Object | Product Status Patch

try: 
    # Patch Product Status
    api_response = api_instance.product_statuses_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Status's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Product Status

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productStatusesPost

Create Product Status


/api/ProductStatuses

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductStatuses"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        ProductStatus model = ; // ProductStatus | Product Status
        try {
            Object result = apiInstance.productStatusesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        ProductStatus model = ; // ProductStatus | Product Status
        try {
            Object result = apiInstance.productStatusesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPost");
            e.printStackTrace();
        }
    }
}
ProductStatus *model = ; // Product Status

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

// Create Product Status
[apiInstance productStatusesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var model = ; // {ProductStatus} Product Status


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

namespace Example
{
    public class productStatusesPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var model = new ProductStatus(); // ProductStatus | Product Status

            try
            {
                // Create Product Status
                Object result = apiInstance.productStatusesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$model = ; // ProductStatus | Product Status

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

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $model = WWW::SwaggerClient::Object::ProductStatus->new(); # ProductStatus | Product Status

eval { 
    my $result = $api_instance->productStatusesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesPost: $@\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.ProductStatusesApi()
model =  # ProductStatus | Product Status

try: 
    # Create Product Status
    api_response = api_instance.product_statuses_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Product Status

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productStatusesPut

Update Product Status


/api/ProductStatuses/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/ProductStatuses/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductStatusesApi;

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

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        ProductStatus model = ; // ProductStatus | Product Status
        try {
            ProductStatus result = apiInstance.productStatusesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductStatusesApi;

public class ProductStatusesApiExample {

    public static void main(String[] args) {
        ProductStatusesApi apiInstance = new ProductStatusesApi();
        Integer id = 56; // Integer | Product Status's Unique Identifier
        ProductStatus model = ; // ProductStatus | Product Status
        try {
            ProductStatus result = apiInstance.productStatusesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductStatusesApi#productStatusesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Status's Unique Identifier
ProductStatus *model = ; // Product Status

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

// Update Product Status
[apiInstance productStatusesPutWith:id
    model:model
              completionHandler: ^(ProductStatus output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductStatusesApi()

var id = 56; // {Integer} Product Status's Unique Identifier

var model = ; // {ProductStatus} Product Status


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

namespace Example
{
    public class productStatusesPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductStatusesApi();
            var id = 56;  // Integer | Product Status's Unique Identifier
            var model = new ProductStatus(); // ProductStatus | Product Status

            try
            {
                // Update Product Status
                ProductStatus result = apiInstance.productStatusesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductStatusesApi.productStatusesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductStatusesApi();
$id = 56; // Integer | Product Status's Unique Identifier
$model = ; // ProductStatus | Product Status

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

my $api_instance = WWW::SwaggerClient::ProductStatusesApi->new();
my $id = 56; # Integer | Product Status's Unique Identifier
my $model = WWW::SwaggerClient::Object::ProductStatus->new(); # ProductStatus | Product Status

eval { 
    my $result = $api_instance->productStatusesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductStatusesApi->productStatusesPut: $@\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.ProductStatusesApi()
id = 56 # Integer | Product Status's Unique Identifier
model =  # ProductStatus | Product Status

try: 
    # Update Product Status
    api_response = api_instance.product_statuses_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductStatusesApi->productStatusesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Status's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Product Status

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductSupplierProfiles

productSupplierProfilesDelete

Delete ProductSupplierProfile


/api/ProductSupplierProfiles/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        try {
            Object result = apiInstance.productSupplierProfilesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        try {
            Object result = apiInstance.productSupplierProfilesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // ProductSupplierProfile's Unique Identifier

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

// Delete ProductSupplierProfile
[apiInstance productSupplierProfilesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var id = 56; // {Integer} ProductSupplierProfile's Unique Identifier


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

namespace Example
{
    public class productSupplierProfilesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var id = 56;  // Integer | ProductSupplierProfile's Unique Identifier

            try
            {
                // Delete ProductSupplierProfile
                Object result = apiInstance.productSupplierProfilesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$id = 56; // Integer | ProductSupplierProfile's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $id = 56; # Integer | ProductSupplierProfile's Unique Identifier

eval { 
    my $result = $api_instance->productSupplierProfilesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesDelete: $@\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.ProductSupplierProfilesApi()
id = 56 # Integer | ProductSupplierProfile's Unique Identifier

try: 
    # Delete ProductSupplierProfile
    api_response = api_instance.product_supplier_profiles_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
ProductSupplierProfile's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSupplierProfilesGetAll

Get Set of ProductSupplierProfiles


/api/ProductSupplierProfiles

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductSupplierProfiles?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductSupplierProfile result = apiInstance.productSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductSupplierProfile result = apiInstance.productSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of ProductSupplierProfiles
[apiInstance productSupplierProfilesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productSupplierProfilesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of ProductSupplierProfiles
                PageResultOfProductSupplierProfile result = apiInstance.productSupplierProfilesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productSupplierProfilesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductSupplierProfilesApi->productSupplierProfilesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductSupplierProfilesApi;

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productSupplierProfilesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesGetAll: $@\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.ProductSupplierProfilesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of ProductSupplierProfiles
    api_response = api_instance.product_supplier_profiles_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of ProductSupplierProfiles

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSupplierProfilesGetById

Get ProductSupplierProfile


/api/ProductSupplierProfiles/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // ProductSupplierProfile's Unique Identifier

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

// Get ProductSupplierProfile
[apiInstance productSupplierProfilesGetByIdWith:id
              completionHandler: ^(ProductSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var id = 56; // {Integer} ProductSupplierProfile's Unique Identifier


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

namespace Example
{
    public class productSupplierProfilesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var id = 56;  // Integer | ProductSupplierProfile's Unique Identifier

            try
            {
                // Get ProductSupplierProfile
                ProductSupplierProfile result = apiInstance.productSupplierProfilesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$id = 56; // Integer | ProductSupplierProfile's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $id = 56; # Integer | ProductSupplierProfile's Unique Identifier

eval { 
    my $result = $api_instance->productSupplierProfilesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesGetById: $@\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.ProductSupplierProfilesApi()
id = 56 # Integer | ProductSupplierProfile's Unique Identifier

try: 
    # Get ProductSupplierProfile
    api_response = api_instance.product_supplier_profiles_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
ProductSupplierProfile's Unique Identifier
Required

Responses

Status: 200 - ProductSupplierProfile

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productSupplierProfilesPatch

Patch ProductSupplierProfile


/api/ProductSupplierProfiles/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/ProductSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        Object patch = ; // Object | ProductSupplierProfile Patch
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        Object patch = ; // Object | ProductSupplierProfile Patch
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // ProductSupplierProfile's Unique Identifier
Object *patch = ; // ProductSupplierProfile Patch

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

// Patch ProductSupplierProfile
[apiInstance productSupplierProfilesPatchWith:id
    patch:patch
              completionHandler: ^(ProductSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var id = 56; // {Integer} ProductSupplierProfile's Unique Identifier

var patch = ; // {Object} ProductSupplierProfile Patch


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

namespace Example
{
    public class productSupplierProfilesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var id = 56;  // Integer | ProductSupplierProfile's Unique Identifier
            var patch = new Object(); // Object | ProductSupplierProfile Patch

            try
            {
                // Patch ProductSupplierProfile
                ProductSupplierProfile result = apiInstance.productSupplierProfilesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$id = 56; // Integer | ProductSupplierProfile's Unique Identifier
$patch = ; // Object | ProductSupplierProfile Patch

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

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $id = 56; # Integer | ProductSupplierProfile's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | ProductSupplierProfile Patch

eval { 
    my $result = $api_instance->productSupplierProfilesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPatch: $@\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.ProductSupplierProfilesApi()
id = 56 # Integer | ProductSupplierProfile's Unique Identifier
patch =  # Object | ProductSupplierProfile Patch

try: 
    # Patch ProductSupplierProfile
    api_response = api_instance.product_supplier_profiles_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
ProductSupplierProfile's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - ProductSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSupplierProfilesPost

Create ProductSupplierProfile


/api/ProductSupplierProfiles

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductSupplierProfiles"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        ProductSupplierProfile model = ; // ProductSupplierProfile | ProductSupplierProfile
        try {
            Object result = apiInstance.productSupplierProfilesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        ProductSupplierProfile model = ; // ProductSupplierProfile | ProductSupplierProfile
        try {
            Object result = apiInstance.productSupplierProfilesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPost");
            e.printStackTrace();
        }
    }
}
ProductSupplierProfile *model = ; // ProductSupplierProfile

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

// Create ProductSupplierProfile
[apiInstance productSupplierProfilesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var model = ; // {ProductSupplierProfile} ProductSupplierProfile


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

namespace Example
{
    public class productSupplierProfilesPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var model = new ProductSupplierProfile(); // ProductSupplierProfile | ProductSupplierProfile

            try
            {
                // Create ProductSupplierProfile
                Object result = apiInstance.productSupplierProfilesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$model = ; // ProductSupplierProfile | ProductSupplierProfile

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

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $model = WWW::SwaggerClient::Object::ProductSupplierProfile->new(); # ProductSupplierProfile | ProductSupplierProfile

eval { 
    my $result = $api_instance->productSupplierProfilesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPost: $@\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.ProductSupplierProfilesApi()
model =  # ProductSupplierProfile | ProductSupplierProfile

try: 
    # Create ProductSupplierProfile
    api_response = api_instance.product_supplier_profiles_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - ProductSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSupplierProfilesPut

Update ProductSupplierProfile


/api/ProductSupplierProfiles/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/ProductSupplierProfiles/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSupplierProfilesApi;

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

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        ProductSupplierProfile model = ; // ProductSupplierProfile | ProductSupplierProfile
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSupplierProfilesApi;

public class ProductSupplierProfilesApiExample {

    public static void main(String[] args) {
        ProductSupplierProfilesApi apiInstance = new ProductSupplierProfilesApi();
        Integer id = 56; // Integer | ProductSupplierProfile's Unique Identifier
        ProductSupplierProfile model = ; // ProductSupplierProfile | ProductSupplierProfile
        try {
            ProductSupplierProfile result = apiInstance.productSupplierProfilesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSupplierProfilesApi#productSupplierProfilesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // ProductSupplierProfile's Unique Identifier
ProductSupplierProfile *model = ; // ProductSupplierProfile

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

// Update ProductSupplierProfile
[apiInstance productSupplierProfilesPutWith:id
    model:model
              completionHandler: ^(ProductSupplierProfile output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSupplierProfilesApi()

var id = 56; // {Integer} ProductSupplierProfile's Unique Identifier

var model = ; // {ProductSupplierProfile} ProductSupplierProfile


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

namespace Example
{
    public class productSupplierProfilesPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSupplierProfilesApi();
            var id = 56;  // Integer | ProductSupplierProfile's Unique Identifier
            var model = new ProductSupplierProfile(); // ProductSupplierProfile | ProductSupplierProfile

            try
            {
                // Update ProductSupplierProfile
                ProductSupplierProfile result = apiInstance.productSupplierProfilesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSupplierProfilesApi.productSupplierProfilesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSupplierProfilesApi();
$id = 56; // Integer | ProductSupplierProfile's Unique Identifier
$model = ; // ProductSupplierProfile | ProductSupplierProfile

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

my $api_instance = WWW::SwaggerClient::ProductSupplierProfilesApi->new();
my $id = 56; # Integer | ProductSupplierProfile's Unique Identifier
my $model = WWW::SwaggerClient::Object::ProductSupplierProfile->new(); # ProductSupplierProfile | ProductSupplierProfile

eval { 
    my $result = $api_instance->productSupplierProfilesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPut: $@\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.ProductSupplierProfilesApi()
id = 56 # Integer | ProductSupplierProfile's Unique Identifier
model =  # ProductSupplierProfile | ProductSupplierProfile

try: 
    # Update ProductSupplierProfile
    api_response = api_instance.product_supplier_profiles_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSupplierProfilesApi->productSupplierProfilesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
ProductSupplierProfile's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - ProductSupplierProfile

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductSuppliers

productSuppliersDelete

Delete Product Supplier


/api/ProductSuppliers/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        try {
            Object result = apiInstance.productSuppliersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        try {
            Object result = apiInstance.productSuppliersDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Suppliers Unique Identifier

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

// Delete Product Supplier
[apiInstance productSuppliersDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var id = 56; // {Integer} Product Suppliers Unique Identifier


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

namespace Example
{
    public class productSuppliersDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var id = 56;  // Integer | Product Suppliers Unique Identifier

            try
            {
                // Delete Product Supplier
                Object result = apiInstance.productSuppliersDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$id = 56; // Integer | Product Suppliers Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $id = 56; # Integer | Product Suppliers Unique Identifier

eval { 
    my $result = $api_instance->productSuppliersDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersDelete: $@\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.ProductSuppliersApi()
id = 56 # Integer | Product Suppliers Unique Identifier

try: 
    # Delete Product Supplier
    api_response = api_instance.product_suppliers_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Suppliers Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSuppliersGetAll

Get Set of Product Suppliers


/api/ProductSuppliers

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductSuppliers?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductSupplier result = apiInstance.productSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductSupplier result = apiInstance.productSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Product Suppliers
[apiInstance productSuppliersGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productSuppliersGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Product Suppliers
                PageResultOfProductSupplier result = apiInstance.productSuppliersGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productSuppliersGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductSuppliersApi->productSuppliersGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductSuppliersApi;

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productSuppliersGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersGetAll: $@\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.ProductSuppliersApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Product Suppliers
    api_response = api_instance.product_suppliers_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Product Suppliers

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSuppliersGetById

Get Product Supplier


/api/ProductSuppliers/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        try {
            ProductSupplier result = apiInstance.productSuppliersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        try {
            ProductSupplier result = apiInstance.productSuppliersGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Suppliers Unique Identifier

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

// Get Product Supplier
[apiInstance productSuppliersGetByIdWith:id
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var id = 56; // {Integer} Product Suppliers Unique Identifier


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

namespace Example
{
    public class productSuppliersGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var id = 56;  // Integer | Product Suppliers Unique Identifier

            try
            {
                // Get Product Supplier
                ProductSupplier result = apiInstance.productSuppliersGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$id = 56; // Integer | Product Suppliers Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $id = 56; # Integer | Product Suppliers Unique Identifier

eval { 
    my $result = $api_instance->productSuppliersGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersGetById: $@\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.ProductSuppliersApi()
id = 56 # Integer | Product Suppliers Unique Identifier

try: 
    # Get Product Supplier
    api_response = api_instance.product_suppliers_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Suppliers Unique Identifier
Required

Responses

Status: 200 - Product Supplier

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productSuppliersPatch

Patch Product Supplier


/api/ProductSuppliers/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/ProductSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        Object patch = ; // Object | Product Supplier Patch
        try {
            ProductSupplier result = apiInstance.productSuppliersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        Object patch = ; // Object | Product Supplier Patch
        try {
            ProductSupplier result = apiInstance.productSuppliersPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Suppliers Unique Identifier
Object *patch = ; // Product Supplier Patch

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

// Patch Product Supplier
[apiInstance productSuppliersPatchWith:id
    patch:patch
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var id = 56; // {Integer} Product Suppliers Unique Identifier

var patch = ; // {Object} Product Supplier Patch


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

namespace Example
{
    public class productSuppliersPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var id = 56;  // Integer | Product Suppliers Unique Identifier
            var patch = new Object(); // Object | Product Supplier Patch

            try
            {
                // Patch Product Supplier
                ProductSupplier result = apiInstance.productSuppliersPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$id = 56; // Integer | Product Suppliers Unique Identifier
$patch = ; // Object | Product Supplier Patch

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

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $id = 56; # Integer | Product Suppliers Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Product Supplier Patch

eval { 
    my $result = $api_instance->productSuppliersPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersPatch: $@\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.ProductSuppliersApi()
id = 56 # Integer | Product Suppliers Unique Identifier
patch =  # Object | Product Supplier Patch

try: 
    # Patch Product Supplier
    api_response = api_instance.product_suppliers_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Suppliers Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Product Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSuppliersPost

Create Product Supplier


/api/ProductSuppliers

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductSuppliers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        ProductSupplier model = ; // ProductSupplier | Product Supplier
        try {
            Object result = apiInstance.productSuppliersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        ProductSupplier model = ; // ProductSupplier | Product Supplier
        try {
            Object result = apiInstance.productSuppliersPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPost");
            e.printStackTrace();
        }
    }
}
ProductSupplier *model = ; // Product Supplier

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

// Create Product Supplier
[apiInstance productSuppliersPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var model = ; // {ProductSupplier} Product Supplier


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

namespace Example
{
    public class productSuppliersPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var model = new ProductSupplier(); // ProductSupplier | Product Supplier

            try
            {
                // Create Product Supplier
                Object result = apiInstance.productSuppliersPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$model = ; // ProductSupplier | Product Supplier

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

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $model = WWW::SwaggerClient::Object::ProductSupplier->new(); # ProductSupplier | Product Supplier

eval { 
    my $result = $api_instance->productSuppliersPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersPost: $@\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.ProductSuppliersApi()
model =  # ProductSupplier | Product Supplier

try: 
    # Create Product Supplier
    api_response = api_instance.product_suppliers_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Product Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productSuppliersPut

Update Product Supplier


/api/ProductSuppliers/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/ProductSuppliers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductSuppliersApi;

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

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        ProductSupplier model = ; // ProductSupplier | ProductSupplier
        try {
            ProductSupplier result = apiInstance.productSuppliersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductSuppliersApi;

public class ProductSuppliersApiExample {

    public static void main(String[] args) {
        ProductSuppliersApi apiInstance = new ProductSuppliersApi();
        Integer id = 56; // Integer | Product Suppliers Unique Identifier
        ProductSupplier model = ; // ProductSupplier | ProductSupplier
        try {
            ProductSupplier result = apiInstance.productSuppliersPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductSuppliersApi#productSuppliersPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Suppliers Unique Identifier
ProductSupplier *model = ; // ProductSupplier

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

// Update Product Supplier
[apiInstance productSuppliersPutWith:id
    model:model
              completionHandler: ^(ProductSupplier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductSuppliersApi()

var id = 56; // {Integer} Product Suppliers Unique Identifier

var model = ; // {ProductSupplier} ProductSupplier


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

namespace Example
{
    public class productSuppliersPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductSuppliersApi();
            var id = 56;  // Integer | Product Suppliers Unique Identifier
            var model = new ProductSupplier(); // ProductSupplier | ProductSupplier

            try
            {
                // Update Product Supplier
                ProductSupplier result = apiInstance.productSuppliersPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductSuppliersApi.productSuppliersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductSuppliersApi();
$id = 56; // Integer | Product Suppliers Unique Identifier
$model = ; // ProductSupplier | ProductSupplier

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

my $api_instance = WWW::SwaggerClient::ProductSuppliersApi->new();
my $id = 56; # Integer | Product Suppliers Unique Identifier
my $model = WWW::SwaggerClient::Object::ProductSupplier->new(); # ProductSupplier | ProductSupplier

eval { 
    my $result = $api_instance->productSuppliersPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductSuppliersApi->productSuppliersPut: $@\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.ProductSuppliersApi()
id = 56 # Integer | Product Suppliers Unique Identifier
model =  # ProductSupplier | ProductSupplier

try: 
    # Update Product Supplier
    api_response = api_instance.product_suppliers_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductSuppliersApi->productSuppliersPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Suppliers Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Product Supplier

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


ProductTypes

productTypesDelete

Delete Product Type


/api/ProductTypes/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/ProductTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        try {
            Object result = apiInstance.productTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        try {
            Object result = apiInstance.productTypesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Type's Unique Identifier

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

// Delete Product Type
[apiInstance productTypesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var id = 56; // {Integer} Product Type's Unique Identifier


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

namespace Example
{
    public class productTypesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var id = 56;  // Integer | Product Type's Unique Identifier

            try
            {
                // Delete Product Type
                Object result = apiInstance.productTypesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$id = 56; // Integer | Product Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $id = 56; # Integer | Product Type's Unique Identifier

eval { 
    my $result = $api_instance->productTypesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesDelete: $@\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.ProductTypesApi()
id = 56 # Integer | Product Type's Unique Identifier

try: 
    # Delete Product Type
    api_response = api_instance.product_types_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Type's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productTypesGetAll

Get Set of Product Types


/api/ProductTypes

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductTypes?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductType result = apiInstance.productTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProductType result = apiInstance.productTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Product Types
[apiInstance productTypesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productTypesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Product Types
                PageResultOfProductType result = apiInstance.productTypesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productTypesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypesApi->productTypesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypesApi;

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productTypesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesGetAll: $@\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.ProductTypesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Product Types
    api_response = api_instance.product_types_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Product Types

Status: 401 - Unauthorized

Status: 403 - Forbidden


productTypesGetById

Get Product Type


/api/ProductTypes/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/ProductTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        try {
            ProductType result = apiInstance.productTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        try {
            ProductType result = apiInstance.productTypesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Type's Unique Identifier

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

// Get Product Type
[apiInstance productTypesGetByIdWith:id
              completionHandler: ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var id = 56; // {Integer} Product Type's Unique Identifier


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

namespace Example
{
    public class productTypesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var id = 56;  // Integer | Product Type's Unique Identifier

            try
            {
                // Get Product Type
                ProductType result = apiInstance.productTypesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$id = 56; // Integer | Product Type's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $id = 56; # Integer | Product Type's Unique Identifier

eval { 
    my $result = $api_instance->productTypesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesGetById: $@\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.ProductTypesApi()
id = 56 # Integer | Product Type's Unique Identifier

try: 
    # Get Product Type
    api_response = api_instance.product_types_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Type's Unique Identifier
Required

Responses

Status: 200 - Product Type

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productTypesPatch

Patch Product Type


/api/ProductTypes/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/ProductTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        Object patch = ; // Object | Product Type Patch
        try {
            ProductType result = apiInstance.productTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        Object patch = ; // Object | Product Type Patch
        try {
            ProductType result = apiInstance.productTypesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Type's Unique Identifier
Object *patch = ; // Product Type Patch

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

// Patch Product Type
[apiInstance productTypesPatchWith:id
    patch:patch
              completionHandler: ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var id = 56; // {Integer} Product Type's Unique Identifier

var patch = ; // {Object} Product Type Patch


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

namespace Example
{
    public class productTypesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var id = 56;  // Integer | Product Type's Unique Identifier
            var patch = new Object(); // Object | Product Type Patch

            try
            {
                // Patch Product Type
                ProductType result = apiInstance.productTypesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$id = 56; // Integer | Product Type's Unique Identifier
$patch = ; // Object | Product Type Patch

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

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $id = 56; # Integer | Product Type's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Product Type Patch

eval { 
    my $result = $api_instance->productTypesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesPatch: $@\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.ProductTypesApi()
id = 56 # Integer | Product Type's Unique Identifier
patch =  # Object | Product Type Patch

try: 
    # Patch Product Type
    api_response = api_instance.product_types_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Type's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Product Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productTypesPost

Create Product Type


/api/ProductTypes

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/ProductTypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        ProductType model = ; // ProductType | Product Type
        try {
            Object result = apiInstance.productTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        ProductType model = ; // ProductType | Product Type
        try {
            Object result = apiInstance.productTypesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPost");
            e.printStackTrace();
        }
    }
}
ProductType *model = ; // Product Type

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

// Create Product Type
[apiInstance productTypesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var model = ; // {ProductType} Product Type


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

namespace Example
{
    public class productTypesPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var model = new ProductType(); // ProductType | Product Type

            try
            {
                // Create Product Type
                Object result = apiInstance.productTypesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$model = ; // ProductType | Product Type

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

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $model = WWW::SwaggerClient::Object::ProductType->new(); # ProductType | Product Type

eval { 
    my $result = $api_instance->productTypesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesPost: $@\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.ProductTypesApi()
model =  # ProductType | Product Type

try: 
    # Create Product Type
    api_response = api_instance.product_types_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Product Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productTypesPut

Update Product Type


/api/ProductTypes/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/ProductTypes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypesApi;

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

public class ProductTypesApiExample {

    public static void main(String[] args) {
        
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        ProductType model = ; // ProductType | Product Type
        try {
            ProductType result = apiInstance.productTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypesApi;

public class ProductTypesApiExample {

    public static void main(String[] args) {
        ProductTypesApi apiInstance = new ProductTypesApi();
        Integer id = 56; // Integer | Product Type's Unique Identifier
        ProductType model = ; // ProductType | Product Type
        try {
            ProductType result = apiInstance.productTypesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypesApi#productTypesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product Type's Unique Identifier
ProductType *model = ; // Product Type

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

// Update Product Type
[apiInstance productTypesPutWith:id
    model:model
              completionHandler: ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductTypesApi()

var id = 56; // {Integer} Product Type's Unique Identifier

var model = ; // {ProductType} Product Type


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

namespace Example
{
    public class productTypesPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductTypesApi();
            var id = 56;  // Integer | Product Type's Unique Identifier
            var model = new ProductType(); // ProductType | Product Type

            try
            {
                // Update Product Type
                ProductType result = apiInstance.productTypesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypesApi.productTypesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductTypesApi();
$id = 56; // Integer | Product Type's Unique Identifier
$model = ; // ProductType | Product Type

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

my $api_instance = WWW::SwaggerClient::ProductTypesApi->new();
my $id = 56; # Integer | Product Type's Unique Identifier
my $model = WWW::SwaggerClient::Object::ProductType->new(); # ProductType | Product Type

eval { 
    my $result = $api_instance->productTypesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypesApi->productTypesPut: $@\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.ProductTypesApi()
id = 56 # Integer | Product Type's Unique Identifier
model =  # ProductType | Product Type

try: 
    # Update Product Type
    api_response = api_instance.product_types_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypesApi->productTypesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product Type's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Product Type

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


Products

productsDelete

Delete Product


/api/Products/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/Products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            Object result = apiInstance.productsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            Object result = apiInstance.productsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product's Unique Identifier

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

// Delete Product
[apiInstance productsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var id = 56; // {Integer} Product's Unique Identifier


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

namespace Example
{
    public class productsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var id = 56;  // Integer | Product's Unique Identifier

            try
            {
                // Delete Product
                Object result = apiInstance.productsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$id = 56; // Integer | Product's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $id = 56; # Integer | Product's Unique Identifier

eval { 
    my $result = $api_instance->productsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsDelete: $@\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.ProductsApi()
id = 56 # Integer | Product's Unique Identifier

try: 
    # Delete Product
    api_response = api_instance.products_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productsGetAll

Get Set of Products


/api/Products

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Products?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProduct result = apiInstance.productsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfProduct result = apiInstance.productsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Products
[apiInstance productsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfProduct output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class productsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Products
                PageResultOfProduct result = apiInstance.productsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->productsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductsApi->productsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductsApi;

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->productsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsGetAll: $@\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.ProductsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Products
    api_response = api_instance.products_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Products

Status: 401 - Unauthorized

Status: 403 - Forbidden


productsGetById

Get Product


/api/Products/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            Product result = apiInstance.productsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        try {
            Product result = apiInstance.productsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product's Unique Identifier

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

// Get Product
[apiInstance productsGetByIdWith:id
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var id = 56; // {Integer} Product's Unique Identifier


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

namespace Example
{
    public class productsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var id = 56;  // Integer | Product's Unique Identifier

            try
            {
                // Get Product
                Product result = apiInstance.productsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$id = 56; // Integer | Product's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $id = 56; # Integer | Product's Unique Identifier

eval { 
    my $result = $api_instance->productsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsGetById: $@\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.ProductsApi()
id = 56 # Integer | Product's Unique Identifier

try: 
    # Get Product
    api_response = api_instance.products_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product's Unique Identifier
Required

Responses

Status: 200 - Product

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


productsPatch

Patch Product


/api/Products/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/Products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        Object patch = ; // Object | Product
        try {
            Product result = apiInstance.productsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        Object patch = ; // Object | Product
        try {
            Product result = apiInstance.productsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product's Unique Identifier
Object *patch = ; // Product

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

// Patch Product
[apiInstance productsPatchWith:id
    patch:patch
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var id = 56; // {Integer} Product's Unique Identifier

var patch = ; // {Object} Product


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

namespace Example
{
    public class productsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var id = 56;  // Integer | Product's Unique Identifier
            var patch = new Object(); // Object | Product

            try
            {
                // Patch Product
                Product result = apiInstance.productsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$id = 56; // Integer | Product's Unique Identifier
$patch = ; // Object | Product

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

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $id = 56; # Integer | Product's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Product

eval { 
    my $result = $api_instance->productsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsPatch: $@\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.ProductsApi()
id = 56 # Integer | Product's Unique Identifier
patch =  # Object | Product

try: 
    # Patch Product
    api_response = api_instance.products_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Product

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productsPost

Create Product


/api/Products

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/Products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        Product model = ; // Product | Product
        try {
            Object result = apiInstance.productsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        Product model = ; // Product | Product
        try {
            Object result = apiInstance.productsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPost");
            e.printStackTrace();
        }
    }
}
Product *model = ; // Product

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

// Create Product
[apiInstance productsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var model = ; // {Product} Product


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

namespace Example
{
    public class productsPostExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var model = new Product(); // Product | Product

            try
            {
                // Create Product
                Object result = apiInstance.productsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$model = ; // Product | Product

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

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $model = WWW::SwaggerClient::Object::Product->new(); # Product | Product

eval { 
    my $result = $api_instance->productsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsPost: $@\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.ProductsApi()
model =  # Product | Product

try: 
    # Create Product
    api_response = api_instance.products_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Product

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


productsPut

Update Product


/api/Products/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/Products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductsApi;

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

public class ProductsApiExample {

    public static void main(String[] args) {
        
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        Product model = ; // Product | Product
        try {
            Product result = apiInstance.productsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductsApi;

public class ProductsApiExample {

    public static void main(String[] args) {
        ProductsApi apiInstance = new ProductsApi();
        Integer id = 56; // Integer | Product's Unique Identifier
        Product model = ; // Product | Product
        try {
            Product result = apiInstance.productsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductsApi#productsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Product's Unique Identifier
Product *model = ; // Product

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

// Update Product
[apiInstance productsPutWith:id
    model:model
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.ProductsApi()

var id = 56; // {Integer} Product's Unique Identifier

var model = ; // {Product} Product


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

namespace Example
{
    public class productsPutExample
    {
        public void main()
        {
            
            var apiInstance = new ProductsApi();
            var id = 56;  // Integer | Product's Unique Identifier
            var model = new Product(); // Product | Product

            try
            {
                // Update Product
                Product result = apiInstance.productsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductsApi.productsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProductsApi();
$id = 56; // Integer | Product's Unique Identifier
$model = ; // Product | Product

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

my $api_instance = WWW::SwaggerClient::ProductsApi->new();
my $id = 56; # Integer | Product's Unique Identifier
my $model = WWW::SwaggerClient::Object::Product->new(); # Product | Product

eval { 
    my $result = $api_instance->productsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductsApi->productsPut: $@\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.ProductsApi()
id = 56 # Integer | Product's Unique Identifier
model =  # Product | Product

try: 
    # Update Product
    api_response = api_instance.products_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductsApi->productsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Product's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Product

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


Ranges

rangesDelete

Delete Range


/api/Ranges/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/Ranges/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        try {
            Object result = apiInstance.rangesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        try {
            Object result = apiInstance.rangesDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Ranges' Unique Identifier

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

// Delete Range
[apiInstance rangesDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var id = 56; // {Integer} Ranges' Unique Identifier


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

namespace Example
{
    public class rangesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var id = 56;  // Integer | Ranges' Unique Identifier

            try
            {
                // Delete Range
                Object result = apiInstance.rangesDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$id = 56; // Integer | Ranges' Unique Identifier

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

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $id = 56; # Integer | Ranges' Unique Identifier

eval { 
    my $result = $api_instance->rangesDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesDelete: $@\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.RangesApi()
id = 56 # Integer | Ranges' Unique Identifier

try: 
    # Delete Range
    api_response = api_instance.ranges_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Ranges' Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


rangesGetAll

Get Set of Ranges


/api/Ranges

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Ranges?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfRange result = apiInstance.rangesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfRange result = apiInstance.rangesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of Ranges
[apiInstance rangesGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfRange output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class rangesGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of Ranges
                PageResultOfRange result = apiInstance.rangesGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->rangesGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RangesApi->rangesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RangesApi;

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->rangesGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesGetAll: $@\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.RangesApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of Ranges
    api_response = api_instance.ranges_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of Ranges

Status: 401 - Unauthorized

Status: 403 - Forbidden


rangesGetById

Get Range


/api/Ranges/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/Ranges/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        try {
            Range result = apiInstance.rangesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        try {
            Range result = apiInstance.rangesGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Ranges' Unique Identifier

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

// Get Range
[apiInstance rangesGetByIdWith:id
              completionHandler: ^(Range output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var id = 56; // {Integer} Ranges' Unique Identifier


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

namespace Example
{
    public class rangesGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var id = 56;  // Integer | Ranges' Unique Identifier

            try
            {
                // Get Range
                Range result = apiInstance.rangesGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$id = 56; // Integer | Ranges' Unique Identifier

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

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $id = 56; # Integer | Ranges' Unique Identifier

eval { 
    my $result = $api_instance->rangesGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesGetById: $@\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.RangesApi()
id = 56 # Integer | Ranges' Unique Identifier

try: 
    # Get Range
    api_response = api_instance.ranges_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Ranges' Unique Identifier
Required

Responses

Status: 200 - Range

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


rangesPatch

Patch Range


/api/Ranges/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/Ranges/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        Object patch = ; // Object | Range Patch
        try {
            Range result = apiInstance.rangesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        Object patch = ; // Object | Range Patch
        try {
            Range result = apiInstance.rangesPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Ranges' Unique Identifier
Object *patch = ; // Range Patch

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

// Patch Range
[apiInstance rangesPatchWith:id
    patch:patch
              completionHandler: ^(Range output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var id = 56; // {Integer} Ranges' Unique Identifier

var patch = ; // {Object} Range Patch


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

namespace Example
{
    public class rangesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var id = 56;  // Integer | Ranges' Unique Identifier
            var patch = new Object(); // Object | Range Patch

            try
            {
                // Patch Range
                Range result = apiInstance.rangesPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$id = 56; // Integer | Ranges' Unique Identifier
$patch = ; // Object | Range Patch

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

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $id = 56; # Integer | Ranges' Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | Range Patch

eval { 
    my $result = $api_instance->rangesPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesPatch: $@\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.RangesApi()
id = 56 # Integer | Ranges' Unique Identifier
patch =  # Object | Range Patch

try: 
    # Patch Range
    api_response = api_instance.ranges_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Ranges' Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - Range

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


rangesPost

Create Range


/api/Ranges

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/Ranges"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        Range model = ; // Range | Range
        try {
            Object result = apiInstance.rangesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        Range model = ; // Range | Range
        try {
            Object result = apiInstance.rangesPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPost");
            e.printStackTrace();
        }
    }
}
Range *model = ; // Range

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

// Create Range
[apiInstance rangesPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var model = ; // {Range} Range


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

namespace Example
{
    public class rangesPostExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var model = new Range(); // Range | Range

            try
            {
                // Create Range
                Object result = apiInstance.rangesPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$model = ; // Range | Range

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

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $model = WWW::SwaggerClient::Object::Range->new(); # Range | Range

eval { 
    my $result = $api_instance->rangesPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesPost: $@\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.RangesApi()
model =  # Range | Range

try: 
    # Create Range
    api_response = api_instance.ranges_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Range

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


rangesPut

Update Range


/api/Ranges/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/Ranges/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RangesApi;

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

public class RangesApiExample {

    public static void main(String[] args) {
        
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        Range model = ; // Range | Range
        try {
            Range result = apiInstance.rangesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RangesApi;

public class RangesApiExample {

    public static void main(String[] args) {
        RangesApi apiInstance = new RangesApi();
        Integer id = 56; // Integer | Ranges' Unique Identifier
        Range model = ; // Range | Range
        try {
            Range result = apiInstance.rangesPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RangesApi#rangesPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // Ranges' Unique Identifier
Range *model = ; // Range

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

// Update Range
[apiInstance rangesPutWith:id
    model:model
              completionHandler: ^(Range output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.RangesApi()

var id = 56; // {Integer} Ranges' Unique Identifier

var model = ; // {Range} Range


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

namespace Example
{
    public class rangesPutExample
    {
        public void main()
        {
            
            var apiInstance = new RangesApi();
            var id = 56;  // Integer | Ranges' Unique Identifier
            var model = new Range(); // Range | Range

            try
            {
                // Update Range
                Range result = apiInstance.rangesPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RangesApi.rangesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RangesApi();
$id = 56; // Integer | Ranges' Unique Identifier
$model = ; // Range | Range

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

my $api_instance = WWW::SwaggerClient::RangesApi->new();
my $id = 56; # Integer | Ranges' Unique Identifier
my $model = WWW::SwaggerClient::Object::Range->new(); # Range | Range

eval { 
    my $result = $api_instance->rangesPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RangesApi->rangesPut: $@\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.RangesApi()
id = 56 # Integer | Ranges' Unique Identifier
model =  # Range | Range

try: 
    # Update Range
    api_response = api_instance.ranges_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RangesApi->rangesPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Ranges' Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - Range

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


SystemInfo

systemInfoGetInfo

Get System Information


/api/SystemInfo

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/SystemInfo"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemInfoApi;

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

public class SystemInfoApiExample {

    public static void main(String[] args) {
        
        SystemInfoApi apiInstance = new SystemInfoApi();
        try {
            SystemInfo result = apiInstance.systemInfoGetInfo();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemInfoApi#systemInfoGetInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemInfoApi;

public class SystemInfoApiExample {

    public static void main(String[] args) {
        SystemInfoApi apiInstance = new SystemInfoApi();
        try {
            SystemInfo result = apiInstance.systemInfoGetInfo();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemInfoApi#systemInfoGetInfo");
            e.printStackTrace();
        }
    }
}

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

// Get System Information
[apiInstance systemInfoGetInfoWithCompletionHandler: 
              ^(SystemInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.SystemInfoApi()

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

namespace Example
{
    public class systemInfoGetInfoExample
    {
        public void main()
        {
            
            var apiInstance = new SystemInfoApi();

            try
            {
                // Get System Information
                SystemInfo result = apiInstance.systemInfoGetInfo();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemInfoApi.systemInfoGetInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SystemInfoApi();

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

my $api_instance = WWW::SwaggerClient::SystemInfoApi->new();

eval { 
    my $result = $api_instance->systemInfoGetInfo();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemInfoApi->systemInfoGetInfo: $@\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.SystemInfoApi()

try: 
    # Get System Information
    api_response = api_instance.system_info_get_info()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemInfoApi->systemInfoGetInfo: %s\n" % e)

Parameters

Responses

Status: 200 - System Information

Status: 401 - Unauthorized

Status: 403 - Forbidden


UserDefinedFields

userDefinedFieldsDelete

Delete User Defined Field


/api/UserDefinedFields/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/UserDefinedFields/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDelete(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDelete");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field's Unique Identifier

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

// Delete User Defined Field
[apiInstance userDefinedFieldsDeleteWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field's Unique Identifier


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

namespace Example
{
    public class userDefinedFieldsDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field's Unique Identifier

            try
            {
                // Delete User Defined Field
                Object result = apiInstance.userDefinedFieldsDelete(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field's Unique Identifier

eval { 
    my $result = $api_instance->userDefinedFieldsDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsDelete: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field's Unique Identifier

try: 
    # Delete User Defined Field
    api_response = api_instance.user_defined_fields_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsDeleteImageLookup

Delete User Defined Field Image Lookup


/api/UserDefinedFields/ImageLookup/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/UserDefinedFields/ImageLookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteImageLookup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteImageLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteImageLookup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteImageLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Image Lookup's Unique Identifier

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

// Delete User Defined Field Image Lookup
[apiInstance userDefinedFieldsDeleteImageLookupWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Image Lookup's Unique Identifier


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

namespace Example
{
    public class userDefinedFieldsDeleteImageLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Image Lookup's Unique Identifier

            try
            {
                // Delete User Defined Field Image Lookup
                Object result = apiInstance.userDefinedFieldsDeleteImageLookup(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsDeleteImageLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Image Lookup's Unique Identifier

eval { 
    my $result = $api_instance->userDefinedFieldsDeleteImageLookup(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteImageLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Image Lookup's Unique Identifier

try: 
    # Delete User Defined Field Image Lookup
    api_response = api_instance.user_defined_fields_delete_image_lookup(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteImageLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Image Lookup's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsDeleteLookup

Delete User Defined Field Lookup


/api/UserDefinedFields/Lookup/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/UserDefinedFields/Lookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteLookup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteLookup(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Lookup's Unique Identifier

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

// Delete User Defined Field Lookup
[apiInstance userDefinedFieldsDeleteLookupWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Lookup's Unique Identifier


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

namespace Example
{
    public class userDefinedFieldsDeleteLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Lookup's Unique Identifier

            try
            {
                // Delete User Defined Field Lookup
                Object result = apiInstance.userDefinedFieldsDeleteLookup(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsDeleteLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Lookup's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Lookup's Unique Identifier

eval { 
    my $result = $api_instance->userDefinedFieldsDeleteLookup(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Lookup's Unique Identifier

try: 
    # Delete User Defined Field Lookup
    api_response = api_instance.user_defined_fields_delete_lookup(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Lookup's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsDeleteMultiSelect

Delete User Defined Field Multi Select


/api/UserDefinedFields/MultiSelect/{id}

Usage and SDK Samples

curl -X DELETE "http://localhost:49994/api/UserDefinedFields/MultiSelect/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteMultiSelect(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteMultiSelect");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        try {
            Object result = apiInstance.userDefinedFieldsDeleteMultiSelect(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsDeleteMultiSelect");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Multi Select's Unique Identifier

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

// Delete User Defined Field Multi Select
[apiInstance userDefinedFieldsDeleteMultiSelectWith:id
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Multi Select's Unique Identifier


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

namespace Example
{
    public class userDefinedFieldsDeleteMultiSelectExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Multi Select's Unique Identifier

            try
            {
                // Delete User Defined Field Multi Select
                Object result = apiInstance.userDefinedFieldsDeleteMultiSelect(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsDeleteMultiSelect: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Multi Select's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Multi Select's Unique Identifier

eval { 
    my $result = $api_instance->userDefinedFieldsDeleteMultiSelect(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteMultiSelect: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Multi Select's Unique Identifier

try: 
    # Delete User Defined Field Multi Select
    api_response = api_instance.user_defined_fields_delete_multi_select(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsDeleteMultiSelect: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Multi Select's Unique Identifier
Required

Responses

Status: 200 - OK

Status: 204 - NoContent

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsGetAll

Get Set of User Defined Fields


/api/UserDefinedFields

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/UserDefinedFields?$filter=&$orderby=&$skip=&$top=&$inlinecount=&$select="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfUserDefinedField result = apiInstance.userDefinedFieldsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        String $filter = $filter_example; // String | Filter the results using OData syntax.
        String $orderby = $orderby_example; // String | Order the results using OData syntax.
        Integer $skip = 56; // Integer | The number of results to skip.
        Integer $top = 56; // Integer | The number of results to return.
        String $inlinecount = $inlinecount_example; // String | Return the total count.
        String $select = $select_example; // String | Properties set to return.
        try {
            PageResultOfUserDefinedField result = apiInstance.userDefinedFieldsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsGetAll");
            e.printStackTrace();
        }
    }
}
String *$filter = $filter_example; // Filter the results using OData syntax. (optional)
String *$orderby = $orderby_example; // Order the results using OData syntax. (optional)
Integer *$skip = 56; // The number of results to skip. (optional)
Integer *$top = 56; // The number of results to return. (optional)
String *$inlinecount = $inlinecount_example; // Return the total count. (optional)
String *$select = $select_example; // Properties set to return. (optional)

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

// Get Set of User Defined Fields
[apiInstance userDefinedFieldsGetAllWith:$filter
    $orderby:$orderby
    $skip:$skip
    $top:$top
    $inlinecount:$inlinecount
    $select:$select
              completionHandler: ^(PageResultOfUserDefinedField output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var opts = { 
  '$filter': $filter_example, // {String} Filter the results using OData syntax.
  '$orderby': $orderby_example, // {String} Order the results using OData syntax.
  '$skip': 56, // {Integer} The number of results to skip.
  '$top': 56, // {Integer} The number of results to return.
  '$inlinecount': $inlinecount_example, // {String} Return the total count.
  '$select': $select_example // {String} Properties set to return.
};

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

namespace Example
{
    public class userDefinedFieldsGetAllExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var $filter = $filter_example;  // String | Filter the results using OData syntax. (optional) 
            var $orderby = $orderby_example;  // String | Order the results using OData syntax. (optional) 
            var $skip = 56;  // Integer | The number of results to skip. (optional) 
            var $top = 56;  // Integer | The number of results to return. (optional) 
            var $inlinecount = $inlinecount_example;  // String | Return the total count. (optional) 
            var $select = $select_example;  // String | Properties set to return. (optional) 

            try
            {
                // Get Set of User Defined Fields
                PageResultOfUserDefinedField result = apiInstance.userDefinedFieldsGetAll($filter, $orderby, $skip, $top, $inlinecount, $select);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$$filter = $filter_example; // String | Filter the results using OData syntax.
$$orderby = $orderby_example; // String | Order the results using OData syntax.
$$skip = 56; // Integer | The number of results to skip.
$$top = 56; // Integer | The number of results to return.
$$inlinecount = $inlinecount_example; // String | Return the total count.
$$select = $select_example; // String | Properties set to return.

try {
    $result = $api_instance->userDefinedFieldsGetAll($$filter, $$orderby, $$skip, $$top, $$inlinecount, $$select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserDefinedFieldsApi->userDefinedFieldsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserDefinedFieldsApi;

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $$filter = $filter_example; # String | Filter the results using OData syntax.
my $$orderby = $orderby_example; # String | Order the results using OData syntax.
my $$skip = 56; # Integer | The number of results to skip.
my $$top = 56; # Integer | The number of results to return.
my $$inlinecount = $inlinecount_example; # String | Return the total count.
my $$select = $select_example; # String | Properties set to return.

eval { 
    my $result = $api_instance->userDefinedFieldsGetAll($filter => $$filter, $orderby => $$orderby, $skip => $$skip, $top => $$top, $inlinecount => $$inlinecount, $select => $$select);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsGetAll: $@\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.UserDefinedFieldsApi()
$filter = $filter_example # String | Filter the results using OData syntax. (optional)
$orderby = $orderby_example # String | Order the results using OData syntax. (optional)
$skip = 56 # Integer | The number of results to skip. (optional)
$top = 56 # Integer | The number of results to return. (optional)
$inlinecount = $inlinecount_example # String | Return the total count. (optional)
$select = $select_example # String | Properties set to return. (optional)

try: 
    # Get Set of User Defined Fields
    api_response = api_instance.user_defined_fields_get_all($filter=$filter, $orderby=$orderby, $skip=$skip, $top=$top, $inlinecount=$inlinecount, $select=$select)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsGetAll: %s\n" % e)

Parameters

Query parameters
Name Description
$filter
String
Filter the results using OData syntax.
$orderby
String
Order the results using OData syntax.
$skip
Integer
The number of results to skip.
$top
Integer
The number of results to return.
$inlinecount
String
Return the total count.
$select
String
Properties set to return.

Responses

Status: 200 - Set of User Defined Fields

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsGetById

Get User Defined Field


/api/UserDefinedFields/{id}

Usage and SDK Samples

curl -X GET "http://localhost:49994/api/UserDefinedFields/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsGetById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsGetById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsGetById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field's Unique Identifier

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

// Get User Defined Field
[apiInstance userDefinedFieldsGetByIdWith:id
              completionHandler: ^(UserDefinedField output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field's Unique Identifier


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

namespace Example
{
    public class userDefinedFieldsGetByIdExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field's Unique Identifier

            try
            {
                // Get User Defined Field
                UserDefinedField result = apiInstance.userDefinedFieldsGetById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsGetById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field's Unique Identifier

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field's Unique Identifier

eval { 
    my $result = $api_instance->userDefinedFieldsGetById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsGetById: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field's Unique Identifier

try: 
    # Get User Defined Field
    api_response = api_instance.user_defined_fields_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsGetById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field's Unique Identifier
Required

Responses

Status: 200 - User Defined Field

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - NotFound


userDefinedFieldsPatch

Patch User Defined Field


/api/UserDefinedFields/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/UserDefinedFields/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        Object patch = ; // Object | User Defined Field Patch
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        Object patch = ; // Object | User Defined Field Patch
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsPatch(id, patch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatch");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field's Unique Identifier
Object *patch = ; // User Defined Field Patch

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

// Patch User Defined Field
[apiInstance userDefinedFieldsPatchWith:id
    patch:patch
              completionHandler: ^(UserDefinedField output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field's Unique Identifier

var patch = ; // {Object} User Defined Field Patch


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

namespace Example
{
    public class userDefinedFieldsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field's Unique Identifier
            var patch = new Object(); // Object | User Defined Field Patch

            try
            {
                // Patch User Defined Field
                UserDefinedField result = apiInstance.userDefinedFieldsPatch(id, patch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field's Unique Identifier
$patch = ; // Object | User Defined Field Patch

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field's Unique Identifier
my $patch = WWW::SwaggerClient::Object::Object->new(); # Object | User Defined Field Patch

eval { 
    my $result = $api_instance->userDefinedFieldsPatch(id => $id, patch => $patch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatch: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field's Unique Identifier
patch =  # Object | User Defined Field Patch

try: 
    # Patch User Defined Field
    api_response = api_instance.user_defined_fields_patch(id, patch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field's Unique Identifier
Required
Body parameters
Name Description
patch *

Responses

Status: 200 - User Defined Field

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPatchImageLookup

Patch User Defined Field Image Lookup


/api/UserDefinedFields/ImageLookup/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/UserDefinedFields/ImageLookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        Object userDefinedFieldImageLookupPatch = ; // Object | User Defined Field Image Lookup Patch
        try {
            UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPatchImageLookup(id, userDefinedFieldImageLookupPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchImageLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        Object userDefinedFieldImageLookupPatch = ; // Object | User Defined Field Image Lookup Patch
        try {
            UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPatchImageLookup(id, userDefinedFieldImageLookupPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchImageLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Image Lookup's Unique Identifier
Object *userDefinedFieldImageLookupPatch = ; // User Defined Field Image Lookup Patch

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

// Patch User Defined Field Image Lookup
[apiInstance userDefinedFieldsPatchImageLookupWith:id
    userDefinedFieldImageLookupPatch:userDefinedFieldImageLookupPatch
              completionHandler: ^(UserDefinedFieldImageLookup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Image Lookup's Unique Identifier

var userDefinedFieldImageLookupPatch = ; // {Object} User Defined Field Image Lookup Patch


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

namespace Example
{
    public class userDefinedFieldsPatchImageLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Image Lookup's Unique Identifier
            var userDefinedFieldImageLookupPatch = new Object(); // Object | User Defined Field Image Lookup Patch

            try
            {
                // Patch User Defined Field Image Lookup
                UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPatchImageLookup(id, userDefinedFieldImageLookupPatch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPatchImageLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
$userDefinedFieldImageLookupPatch = ; // Object | User Defined Field Image Lookup Patch

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Image Lookup's Unique Identifier
my $userDefinedFieldImageLookupPatch = WWW::SwaggerClient::Object::Object->new(); # Object | User Defined Field Image Lookup Patch

eval { 
    my $result = $api_instance->userDefinedFieldsPatchImageLookup(id => $id, userDefinedFieldImageLookupPatch => $userDefinedFieldImageLookupPatch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchImageLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Image Lookup's Unique Identifier
userDefinedFieldImageLookupPatch =  # Object | User Defined Field Image Lookup Patch

try: 
    # Patch User Defined Field Image Lookup
    api_response = api_instance.user_defined_fields_patch_image_lookup(id, userDefinedFieldImageLookupPatch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchImageLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Image Lookup's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldImageLookupPatch *

Responses

Status: 200 - User Defined Field Image Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPatchLookup

Patch User Defined Field Lookup


/api/UserDefinedFields/Lookup/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/UserDefinedFields/Lookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        Object userDefinedFieldLookupPatch = ; // Object | User Defined Field Lookup Patch
        try {
            UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPatchLookup(id, userDefinedFieldLookupPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        Object userDefinedFieldLookupPatch = ; // Object | User Defined Field Lookup Patch
        try {
            UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPatchLookup(id, userDefinedFieldLookupPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Lookup's Unique Identifier
Object *userDefinedFieldLookupPatch = ; // User Defined Field Lookup Patch

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

// Patch User Defined Field Lookup
[apiInstance userDefinedFieldsPatchLookupWith:id
    userDefinedFieldLookupPatch:userDefinedFieldLookupPatch
              completionHandler: ^(UserDefinedFieldLookup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Lookup's Unique Identifier

var userDefinedFieldLookupPatch = ; // {Object} User Defined Field Lookup Patch


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

namespace Example
{
    public class userDefinedFieldsPatchLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Lookup's Unique Identifier
            var userDefinedFieldLookupPatch = new Object(); // Object | User Defined Field Lookup Patch

            try
            {
                // Patch User Defined Field Lookup
                UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPatchLookup(id, userDefinedFieldLookupPatch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPatchLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Lookup's Unique Identifier
$userDefinedFieldLookupPatch = ; // Object | User Defined Field Lookup Patch

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Lookup's Unique Identifier
my $userDefinedFieldLookupPatch = WWW::SwaggerClient::Object::Object->new(); # Object | User Defined Field Lookup Patch

eval { 
    my $result = $api_instance->userDefinedFieldsPatchLookup(id => $id, userDefinedFieldLookupPatch => $userDefinedFieldLookupPatch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Lookup's Unique Identifier
userDefinedFieldLookupPatch =  # Object | User Defined Field Lookup Patch

try: 
    # Patch User Defined Field Lookup
    api_response = api_instance.user_defined_fields_patch_lookup(id, userDefinedFieldLookupPatch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Lookup's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldLookupPatch *

Responses

Status: 200 - User Defined Field Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPatchMultiSelect

Patch User Defined Field Multi Select


/api/UserDefinedFields/MultiSelect/{id}

Usage and SDK Samples

curl -X PATCH "http://localhost:49994/api/UserDefinedFields/MultiSelect/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        Object userDefinedFieldMultiSelectPatch = ; // Object | User Defined Field Multi Select Patch
        try {
            UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPatchMultiSelect(id, userDefinedFieldMultiSelectPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchMultiSelect");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        Object userDefinedFieldMultiSelectPatch = ; // Object | User Defined Field Multi Select Patch
        try {
            UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPatchMultiSelect(id, userDefinedFieldMultiSelectPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPatchMultiSelect");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Multi Select's Unique Identifier
Object *userDefinedFieldMultiSelectPatch = ; // User Defined Field Multi Select Patch

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

// Patch User Defined Field Multi Select
[apiInstance userDefinedFieldsPatchMultiSelectWith:id
    userDefinedFieldMultiSelectPatch:userDefinedFieldMultiSelectPatch
              completionHandler: ^(UserDefinedFieldMultiSelect output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Multi Select's Unique Identifier

var userDefinedFieldMultiSelectPatch = ; // {Object} User Defined Field Multi Select Patch


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

namespace Example
{
    public class userDefinedFieldsPatchMultiSelectExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Multi Select's Unique Identifier
            var userDefinedFieldMultiSelectPatch = new Object(); // Object | User Defined Field Multi Select Patch

            try
            {
                // Patch User Defined Field Multi Select
                UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPatchMultiSelect(id, userDefinedFieldMultiSelectPatch);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPatchMultiSelect: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
$userDefinedFieldMultiSelectPatch = ; // Object | User Defined Field Multi Select Patch

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Multi Select's Unique Identifier
my $userDefinedFieldMultiSelectPatch = WWW::SwaggerClient::Object::Object->new(); # Object | User Defined Field Multi Select Patch

eval { 
    my $result = $api_instance->userDefinedFieldsPatchMultiSelect(id => $id, userDefinedFieldMultiSelectPatch => $userDefinedFieldMultiSelectPatch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchMultiSelect: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Multi Select's Unique Identifier
userDefinedFieldMultiSelectPatch =  # Object | User Defined Field Multi Select Patch

try: 
    # Patch User Defined Field Multi Select
    api_response = api_instance.user_defined_fields_patch_multi_select(id, userDefinedFieldMultiSelectPatch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPatchMultiSelect: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Multi Select's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldMultiSelectPatch *

Responses

Status: 200 - User Defined Field Multi Select

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPost

Create User Defined Field


/api/UserDefinedFields

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/UserDefinedFields"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedField model = ; // UserDefinedField | User Defined Field
        try {
            Object result = apiInstance.userDefinedFieldsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedField model = ; // UserDefinedField | User Defined Field
        try {
            Object result = apiInstance.userDefinedFieldsPost(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPost");
            e.printStackTrace();
        }
    }
}
UserDefinedField *model = ; // User Defined Field

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

// Create User Defined Field
[apiInstance userDefinedFieldsPostWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var model = ; // {UserDefinedField} User Defined Field


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

namespace Example
{
    public class userDefinedFieldsPostExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var model = new UserDefinedField(); // UserDefinedField | User Defined Field

            try
            {
                // Create User Defined Field
                Object result = apiInstance.userDefinedFieldsPost(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$model = ; // UserDefinedField | User Defined Field

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $model = WWW::SwaggerClient::Object::UserDefinedField->new(); # UserDefinedField | User Defined Field

eval { 
    my $result = $api_instance->userDefinedFieldsPost(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPost: $@\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.UserDefinedFieldsApi()
model =  # UserDefinedField | User Defined Field

try: 
    # Create User Defined Field
    api_response = api_instance.user_defined_fields_post(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPost: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - User Defined Field

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPostImageLookup

Create User Defined Field Image Lookup


/api/UserDefinedFields/ImageLookup

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/UserDefinedFields/ImageLookup"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldImageLookup model = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup
        try {
            Object result = apiInstance.userDefinedFieldsPostImageLookup(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostImageLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldImageLookup model = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup
        try {
            Object result = apiInstance.userDefinedFieldsPostImageLookup(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostImageLookup");
            e.printStackTrace();
        }
    }
}
UserDefinedFieldImageLookup *model = ; // User Defined Field Image Lookup

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

// Create User Defined Field Image Lookup
[apiInstance userDefinedFieldsPostImageLookupWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var model = ; // {UserDefinedFieldImageLookup} User Defined Field Image Lookup


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

namespace Example
{
    public class userDefinedFieldsPostImageLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var model = new UserDefinedFieldImageLookup(); // UserDefinedFieldImageLookup | User Defined Field Image Lookup

            try
            {
                // Create User Defined Field Image Lookup
                Object result = apiInstance.userDefinedFieldsPostImageLookup(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPostImageLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$model = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $model = WWW::SwaggerClient::Object::UserDefinedFieldImageLookup->new(); # UserDefinedFieldImageLookup | User Defined Field Image Lookup

eval { 
    my $result = $api_instance->userDefinedFieldsPostImageLookup(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostImageLookup: $@\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.UserDefinedFieldsApi()
model =  # UserDefinedFieldImageLookup | User Defined Field Image Lookup

try: 
    # Create User Defined Field Image Lookup
    api_response = api_instance.user_defined_fields_post_image_lookup(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostImageLookup: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - User Defined Field Image Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPostLookup

Create User Defined Field Lookup Value


/api/UserDefinedFields/Lookup

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/UserDefinedFields/Lookup"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldLookup model = ; // UserDefinedFieldLookup | User Defined Field Lookup
        try {
            Object result = apiInstance.userDefinedFieldsPostLookup(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldLookup model = ; // UserDefinedFieldLookup | User Defined Field Lookup
        try {
            Object result = apiInstance.userDefinedFieldsPostLookup(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostLookup");
            e.printStackTrace();
        }
    }
}
UserDefinedFieldLookup *model = ; // User Defined Field Lookup

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

// Create User Defined Field Lookup Value
[apiInstance userDefinedFieldsPostLookupWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var model = ; // {UserDefinedFieldLookup} User Defined Field Lookup


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

namespace Example
{
    public class userDefinedFieldsPostLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var model = new UserDefinedFieldLookup(); // UserDefinedFieldLookup | User Defined Field Lookup

            try
            {
                // Create User Defined Field Lookup Value
                Object result = apiInstance.userDefinedFieldsPostLookup(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPostLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$model = ; // UserDefinedFieldLookup | User Defined Field Lookup

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $model = WWW::SwaggerClient::Object::UserDefinedFieldLookup->new(); # UserDefinedFieldLookup | User Defined Field Lookup

eval { 
    my $result = $api_instance->userDefinedFieldsPostLookup(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostLookup: $@\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.UserDefinedFieldsApi()
model =  # UserDefinedFieldLookup | User Defined Field Lookup

try: 
    # Create User Defined Field Lookup Value
    api_response = api_instance.user_defined_fields_post_lookup(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostLookup: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - User Defined Field Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPostMultiSelect

Create User Defined Field Multi Select


/api/UserDefinedFields/MultiSelect

Usage and SDK Samples

curl -X POST "http://localhost:49994/api/UserDefinedFields/MultiSelect"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldMultiSelect model = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select
        try {
            Object result = apiInstance.userDefinedFieldsPostMultiSelect(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostMultiSelect");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        UserDefinedFieldMultiSelect model = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select
        try {
            Object result = apiInstance.userDefinedFieldsPostMultiSelect(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPostMultiSelect");
            e.printStackTrace();
        }
    }
}
UserDefinedFieldMultiSelect *model = ; // User Defined Field Multi Select

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

// Create User Defined Field Multi Select
[apiInstance userDefinedFieldsPostMultiSelectWith:model
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var model = ; // {UserDefinedFieldMultiSelect} User Defined Field Multi Select


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

namespace Example
{
    public class userDefinedFieldsPostMultiSelectExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var model = new UserDefinedFieldMultiSelect(); // UserDefinedFieldMultiSelect | User Defined Field Multi Select

            try
            {
                // Create User Defined Field Multi Select
                Object result = apiInstance.userDefinedFieldsPostMultiSelect(model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPostMultiSelect: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$model = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $model = WWW::SwaggerClient::Object::UserDefinedFieldMultiSelect->new(); # UserDefinedFieldMultiSelect | User Defined Field Multi Select

eval { 
    my $result = $api_instance->userDefinedFieldsPostMultiSelect(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostMultiSelect: $@\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.UserDefinedFieldsApi()
model =  # UserDefinedFieldMultiSelect | User Defined Field Multi Select

try: 
    # Create User Defined Field Multi Select
    api_response = api_instance.user_defined_fields_post_multi_select(model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPostMultiSelect: %s\n" % e)

Parameters

Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - User Defined Field Multi Select

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPut

Update User Defined Field


/api/UserDefinedFields/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/UserDefinedFields/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        UserDefinedField model = ; // UserDefinedField | User Defined Field
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field's Unique Identifier
        UserDefinedField model = ; // UserDefinedField | User Defined Field
        try {
            UserDefinedField result = apiInstance.userDefinedFieldsPut(id, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPut");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field's Unique Identifier
UserDefinedField *model = ; // User Defined Field

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

// Update User Defined Field
[apiInstance userDefinedFieldsPutWith:id
    model:model
              completionHandler: ^(UserDefinedField output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field's Unique Identifier

var model = ; // {UserDefinedField} User Defined Field


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

namespace Example
{
    public class userDefinedFieldsPutExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field's Unique Identifier
            var model = new UserDefinedField(); // UserDefinedField | User Defined Field

            try
            {
                // Update User Defined Field
                UserDefinedField result = apiInstance.userDefinedFieldsPut(id, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field's Unique Identifier
$model = ; // UserDefinedField | User Defined Field

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field's Unique Identifier
my $model = WWW::SwaggerClient::Object::UserDefinedField->new(); # UserDefinedField | User Defined Field

eval { 
    my $result = $api_instance->userDefinedFieldsPut(id => $id, model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPut: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field's Unique Identifier
model =  # UserDefinedField | User Defined Field

try: 
    # Update User Defined Field
    api_response = api_instance.user_defined_fields_put(id, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field's Unique Identifier
Required
Body parameters
Name Description
model *

Responses

Status: 200 - User Defined Field

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPutImageLookup

Update User Defined Field Image Lookup


/api/UserDefinedFields/ImageLookup/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/UserDefinedFields/ImageLookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        UserDefinedFieldImageLookup userDefinedFieldImageLookup = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup
        try {
            UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPutImageLookup(id, userDefinedFieldImageLookup);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutImageLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
        UserDefinedFieldImageLookup userDefinedFieldImageLookup = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup
        try {
            UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPutImageLookup(id, userDefinedFieldImageLookup);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutImageLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Image Lookup's Unique Identifier
UserDefinedFieldImageLookup *userDefinedFieldImageLookup = ; // User Defined Field Image Lookup

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

// Update User Defined Field Image Lookup
[apiInstance userDefinedFieldsPutImageLookupWith:id
    userDefinedFieldImageLookup:userDefinedFieldImageLookup
              completionHandler: ^(UserDefinedFieldImageLookup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Image Lookup's Unique Identifier

var userDefinedFieldImageLookup = ; // {UserDefinedFieldImageLookup} User Defined Field Image Lookup


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

namespace Example
{
    public class userDefinedFieldsPutImageLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Image Lookup's Unique Identifier
            var userDefinedFieldImageLookup = new UserDefinedFieldImageLookup(); // UserDefinedFieldImageLookup | User Defined Field Image Lookup

            try
            {
                // Update User Defined Field Image Lookup
                UserDefinedFieldImageLookup result = apiInstance.userDefinedFieldsPutImageLookup(id, userDefinedFieldImageLookup);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPutImageLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Image Lookup's Unique Identifier
$userDefinedFieldImageLookup = ; // UserDefinedFieldImageLookup | User Defined Field Image Lookup

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Image Lookup's Unique Identifier
my $userDefinedFieldImageLookup = WWW::SwaggerClient::Object::UserDefinedFieldImageLookup->new(); # UserDefinedFieldImageLookup | User Defined Field Image Lookup

eval { 
    my $result = $api_instance->userDefinedFieldsPutImageLookup(id => $id, userDefinedFieldImageLookup => $userDefinedFieldImageLookup);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutImageLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Image Lookup's Unique Identifier
userDefinedFieldImageLookup =  # UserDefinedFieldImageLookup | User Defined Field Image Lookup

try: 
    # Update User Defined Field Image Lookup
    api_response = api_instance.user_defined_fields_put_image_lookup(id, userDefinedFieldImageLookup)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutImageLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Image Lookup's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldImageLookup *

Responses

Status: 200 - User Defined Field Image Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPutLookup

Update User Defined Field Lookup


/api/UserDefinedFields/Lookup/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/UserDefinedFields/Lookup/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        UserDefinedFieldLookup userDefinedFieldLookup = ; // UserDefinedFieldLookup | User Defined Field Lookup
        try {
            UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPutLookup(id, userDefinedFieldLookup);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutLookup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Lookup's Unique Identifier
        UserDefinedFieldLookup userDefinedFieldLookup = ; // UserDefinedFieldLookup | User Defined Field Lookup
        try {
            UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPutLookup(id, userDefinedFieldLookup);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutLookup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Lookup's Unique Identifier
UserDefinedFieldLookup *userDefinedFieldLookup = ; // User Defined Field Lookup

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

// Update User Defined Field Lookup
[apiInstance userDefinedFieldsPutLookupWith:id
    userDefinedFieldLookup:userDefinedFieldLookup
              completionHandler: ^(UserDefinedFieldLookup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Lookup's Unique Identifier

var userDefinedFieldLookup = ; // {UserDefinedFieldLookup} User Defined Field Lookup


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

namespace Example
{
    public class userDefinedFieldsPutLookupExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Lookup's Unique Identifier
            var userDefinedFieldLookup = new UserDefinedFieldLookup(); // UserDefinedFieldLookup | User Defined Field Lookup

            try
            {
                // Update User Defined Field Lookup
                UserDefinedFieldLookup result = apiInstance.userDefinedFieldsPutLookup(id, userDefinedFieldLookup);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPutLookup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Lookup's Unique Identifier
$userDefinedFieldLookup = ; // UserDefinedFieldLookup | User Defined Field Lookup

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Lookup's Unique Identifier
my $userDefinedFieldLookup = WWW::SwaggerClient::Object::UserDefinedFieldLookup->new(); # UserDefinedFieldLookup | User Defined Field Lookup

eval { 
    my $result = $api_instance->userDefinedFieldsPutLookup(id => $id, userDefinedFieldLookup => $userDefinedFieldLookup);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutLookup: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Lookup's Unique Identifier
userDefinedFieldLookup =  # UserDefinedFieldLookup | User Defined Field Lookup

try: 
    # Update User Defined Field Lookup
    api_response = api_instance.user_defined_fields_put_lookup(id, userDefinedFieldLookup)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutLookup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Lookup's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldLookup *

Responses

Status: 200 - User Defined Field Lookup

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden


userDefinedFieldsPutMultiSelect

Update User Defined Field Multi Select


/api/UserDefinedFields/MultiSelect/{id}

Usage and SDK Samples

curl -X PUT "http://localhost:49994/api/UserDefinedFields/MultiSelect/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDefinedFieldsApi;

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

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        UserDefinedFieldMultiSelect userDefinedFieldMultiSelect = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select
        try {
            UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPutMultiSelect(id, userDefinedFieldMultiSelect);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutMultiSelect");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDefinedFieldsApi;

public class UserDefinedFieldsApiExample {

    public static void main(String[] args) {
        UserDefinedFieldsApi apiInstance = new UserDefinedFieldsApi();
        Integer id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
        UserDefinedFieldMultiSelect userDefinedFieldMultiSelect = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select
        try {
            UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPutMultiSelect(id, userDefinedFieldMultiSelect);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDefinedFieldsApi#userDefinedFieldsPutMultiSelect");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // User Defined Field Multi Select's Unique Identifier
UserDefinedFieldMultiSelect *userDefinedFieldMultiSelect = ; // User Defined Field Multi Select

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

// Update User Defined Field Multi Select
[apiInstance userDefinedFieldsPutMultiSelectWith:id
    userDefinedFieldMultiSelect:userDefinedFieldMultiSelect
              completionHandler: ^(UserDefinedFieldMultiSelect output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var VisionWebApi = require('vision_web_api');

var api = new VisionWebApi.UserDefinedFieldsApi()

var id = 56; // {Integer} User Defined Field Multi Select's Unique Identifier

var userDefinedFieldMultiSelect = ; // {UserDefinedFieldMultiSelect} User Defined Field Multi Select


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

namespace Example
{
    public class userDefinedFieldsPutMultiSelectExample
    {
        public void main()
        {
            
            var apiInstance = new UserDefinedFieldsApi();
            var id = 56;  // Integer | User Defined Field Multi Select's Unique Identifier
            var userDefinedFieldMultiSelect = new UserDefinedFieldMultiSelect(); // UserDefinedFieldMultiSelect | User Defined Field Multi Select

            try
            {
                // Update User Defined Field Multi Select
                UserDefinedFieldMultiSelect result = apiInstance.userDefinedFieldsPutMultiSelect(id, userDefinedFieldMultiSelect);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDefinedFieldsApi.userDefinedFieldsPutMultiSelect: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDefinedFieldsApi();
$id = 56; // Integer | User Defined Field Multi Select's Unique Identifier
$userDefinedFieldMultiSelect = ; // UserDefinedFieldMultiSelect | User Defined Field Multi Select

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

my $api_instance = WWW::SwaggerClient::UserDefinedFieldsApi->new();
my $id = 56; # Integer | User Defined Field Multi Select's Unique Identifier
my $userDefinedFieldMultiSelect = WWW::SwaggerClient::Object::UserDefinedFieldMultiSelect->new(); # UserDefinedFieldMultiSelect | User Defined Field Multi Select

eval { 
    my $result = $api_instance->userDefinedFieldsPutMultiSelect(id => $id, userDefinedFieldMultiSelect => $userDefinedFieldMultiSelect);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutMultiSelect: $@\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.UserDefinedFieldsApi()
id = 56 # Integer | User Defined Field Multi Select's Unique Identifier
userDefinedFieldMultiSelect =  # UserDefinedFieldMultiSelect | User Defined Field Multi Select

try: 
    # Update User Defined Field Multi Select
    api_response = api_instance.user_defined_fields_put_multi_select(id, userDefinedFieldMultiSelect)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDefinedFieldsApi->userDefinedFieldsPutMultiSelect: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
User Defined Field Multi Select's Unique Identifier
Required
Body parameters
Name Description
userDefinedFieldMultiSelect *

Responses

Status: 200 - User Defined Field Multi Select

Status: 400 - Error Message

Status: 401 - Unauthorized

Status: 403 - Forbidden