AS Server - API - ConsignmentNote

Default

consignmentNoteAddOrUpdateLines

ConsignmentNote_AddOrUpdateLines


/ConsignmentNote/{id}/lines

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConsignmentNote/{id}/lines" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        ActionRequestConsignmentNoteAddLineRequest actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteAddLineRequest | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteAddOrUpdateLines(id, actionRequestConsignmentNoteAddLineRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteAddOrUpdateLines");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.
final ActionRequestConsignmentNoteAddLineRequest actionRequestConsignmentNoteAddLineRequest = new ActionRequestConsignmentNoteAddLineRequest(); // ActionRequestConsignmentNoteAddLineRequest | 

try {
    final result = await api_instance.consignmentNoteAddOrUpdateLines(id, actionRequestConsignmentNoteAddLineRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNoteAddOrUpdateLines: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        ActionRequestConsignmentNoteAddLineRequest actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteAddLineRequest | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteAddOrUpdateLines(id, actionRequestConsignmentNoteAddLineRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteAddOrUpdateLines");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)
ActionRequestConsignmentNoteAddLineRequest *actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// ConsignmentNote_AddOrUpdateLines
[apiInstance consignmentNoteAddOrUpdateLinesWith:id
    actionRequestConsignmentNoteAddLineRequest:actionRequestConsignmentNoteAddLineRequest
              completionHandler: ^(ActionResults_ConsignmentNoteT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var id = 56; // {Integer} Format - int32.
var opts = {
  'actionRequestConsignmentNoteAddLineRequest': {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestConsignmentNoteAddLineRequest} 
};

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

namespace Example
{
    public class consignmentNoteAddOrUpdateLinesExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)
            var actionRequestConsignmentNoteAddLineRequest = new ActionRequestConsignmentNoteAddLineRequest(); // ActionRequestConsignmentNoteAddLineRequest |  (optional) 

            try {
                // ConsignmentNote_AddOrUpdateLines
                ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteAddOrUpdateLines(id, actionRequestConsignmentNoteAddLineRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNoteAddOrUpdateLines: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.
$actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteAddLineRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.
my $actionRequestConsignmentNoteAddLineRequest = WWW::OPenAPIClient::Object::ActionRequestConsignmentNoteAddLineRequest->new(); # ActionRequestConsignmentNoteAddLineRequest | 

eval {
    my $result = $api_instance->consignmentNoteAddOrUpdateLines(id => $id, actionRequestConsignmentNoteAddLineRequest => $actionRequestConsignmentNoteAddLineRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNoteAddOrUpdateLines: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)
actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestConsignmentNoteAddLineRequest |  (optional)

try:
    # ConsignmentNote_AddOrUpdateLines
    api_response = api_instance.consignment_note_add_or_update_lines(id, actionRequestConsignmentNoteAddLineRequest=actionRequestConsignmentNoteAddLineRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNoteAddOrUpdateLines: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let actionRequestConsignmentNoteAddLineRequest = {"Value":{"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteAddLineRequest

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNoteAddOrUpdateLines(id, actionRequestConsignmentNoteAddLineRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
actionRequestConsignmentNoteAddLineRequest

Responses


consignmentNoteGet

ConsignmentNote_Get


/ConsignmentNote/{consignmentNoteID}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConsignmentNote/{consignmentNoteID}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer consignmentNoteID = 56; // Integer | Format - int32.

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteGet(consignmentNoteID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer consignmentNoteID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.consignmentNoteGet(consignmentNoteID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNoteGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer consignmentNoteID = 56; // Integer | Format - int32.

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteGet(consignmentNoteID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *consignmentNoteID = 56; // Format - int32. (default to null)

// ConsignmentNote_Get
[apiInstance consignmentNoteGetWith:consignmentNoteID
              completionHandler: ^(ActionResults_ConsignmentNoteT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var consignmentNoteID = 56; // {Integer} Format - int32.

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

namespace Example
{
    public class consignmentNoteGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var consignmentNoteID = 56;  // Integer | Format - int32. (default to null)

            try {
                // ConsignmentNote_Get
                ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteGet(consignmentNoteID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNoteGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$consignmentNoteID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->consignmentNoteGet($consignmentNoteID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->consignmentNoteGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $consignmentNoteID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->consignmentNoteGet(consignmentNoteID => $consignmentNoteID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNoteGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
consignmentNoteID = 56 # Integer | Format - int32. (default to null)

try:
    # ConsignmentNote_Get
    api_response = api_instance.consignment_note_get(consignmentNoteID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNoteGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let consignmentNoteID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNoteGet(consignmentNoteID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
consignmentNoteID*
Integer (int32)
Format - int32.
Required

Responses


consignmentNotePatch

ConsignmentNote_Patch


/ConsignmentNote/{consignmentNoteID}

Usage and SDK Samples

curl -X PATCH \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConsignmentNote/{consignmentNoteID}" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer consignmentNoteID = 56; // Integer | Format - int32.
        ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePatch(consignmentNoteID, actionRequestConsignmentNoteT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNotePatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer consignmentNoteID = new Integer(); // Integer | Format - int32.
final ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = new ActionRequestConsignmentNoteT(); // ActionRequestConsignmentNoteT | 

try {
    final result = await api_instance.consignmentNotePatch(consignmentNoteID, actionRequestConsignmentNoteT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNotePatch: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer consignmentNoteID = 56; // Integer | Format - int32.
        ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePatch(consignmentNoteID, actionRequestConsignmentNoteT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNotePatch");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *consignmentNoteID = 56; // Format - int32. (default to null)
ActionRequestConsignmentNoteT *actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// ConsignmentNote_Patch
[apiInstance consignmentNotePatchWith:consignmentNoteID
    actionRequestConsignmentNoteT:actionRequestConsignmentNoteT
              completionHandler: ^(ActionResults_ConsignmentNoteT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var consignmentNoteID = 56; // {Integer} Format - int32.
var opts = {
  'actionRequestConsignmentNoteT': {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestConsignmentNoteT} 
};

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

namespace Example
{
    public class consignmentNotePatchExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var consignmentNoteID = 56;  // Integer | Format - int32. (default to null)
            var actionRequestConsignmentNoteT = new ActionRequestConsignmentNoteT(); // ActionRequestConsignmentNoteT |  (optional) 

            try {
                // ConsignmentNote_Patch
                ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePatch(consignmentNoteID, actionRequestConsignmentNoteT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNotePatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$consignmentNoteID = 56; // Integer | Format - int32.
$actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

try {
    $result = $api_instance->consignmentNotePatch($consignmentNoteID, $actionRequestConsignmentNoteT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->consignmentNotePatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $consignmentNoteID = 56; # Integer | Format - int32.
my $actionRequestConsignmentNoteT = WWW::OPenAPIClient::Object::ActionRequestConsignmentNoteT->new(); # ActionRequestConsignmentNoteT | 

eval {
    my $result = $api_instance->consignmentNotePatch(consignmentNoteID => $consignmentNoteID, actionRequestConsignmentNoteT => $actionRequestConsignmentNoteT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNotePatch: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
consignmentNoteID = 56 # Integer | Format - int32. (default to null)
actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestConsignmentNoteT |  (optional)

try:
    # ConsignmentNote_Patch
    api_response = api_instance.consignment_note_patch(consignmentNoteID, actionRequestConsignmentNoteT=actionRequestConsignmentNoteT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNotePatch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let consignmentNoteID = 56; // Integer
    let actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNotePatch(consignmentNoteID, actionRequestConsignmentNoteT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
consignmentNoteID*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
actionRequestConsignmentNoteT

Responses


consignmentNotePost

ConsignmentNote_Post


/ConsignmentNote/

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConsignmentNote/" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePost(actionRequestConsignmentNoteT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNotePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = new ActionRequestConsignmentNoteT(); // ActionRequestConsignmentNoteT | 

try {
    final result = await api_instance.consignmentNotePost(actionRequestConsignmentNoteT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNotePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestConsignmentNoteT actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePost(actionRequestConsignmentNoteT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNotePost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestConsignmentNoteT *actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// ConsignmentNote_Post
[apiInstance consignmentNotePostWith:actionRequestConsignmentNoteT
              completionHandler: ^(ActionResults_ConsignmentNoteT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var opts = {
  'actionRequestConsignmentNoteT': {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestConsignmentNoteT} 
};

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

namespace Example
{
    public class consignmentNotePostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var actionRequestConsignmentNoteT = new ActionRequestConsignmentNoteT(); // ActionRequestConsignmentNoteT |  (optional) 

            try {
                // ConsignmentNote_Post
                ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNotePost(actionRequestConsignmentNoteT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNotePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT | 

try {
    $result = $api_instance->consignmentNotePost($actionRequestConsignmentNoteT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->consignmentNotePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $actionRequestConsignmentNoteT = WWW::OPenAPIClient::Object::ActionRequestConsignmentNoteT->new(); # ActionRequestConsignmentNoteT | 

eval {
    my $result = $api_instance->consignmentNotePost(actionRequestConsignmentNoteT => $actionRequestConsignmentNoteT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNotePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestConsignmentNoteT |  (optional)

try:
    # ConsignmentNote_Post
    api_response = api_instance.consignment_note_post(actionRequestConsignmentNoteT=actionRequestConsignmentNoteT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNotePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let actionRequestConsignmentNoteT = {"Value":{"IsActive":true,"CustomerID":0,"CustomerName":"string","WarehouseID":0,"WarehouseName":"string","TrackingUrl":"string","SalesOrderInvoicingStatus":"string","LinkedTrans":[{"ShortDatTypeString":"string","DatTypeString":"string","TransSubType":"string","ID":0,"GUIDstring":"string","DatTypeID":0,"Status":"string","RefNumber":"string","Description":"string","TotalInc":0,"Issues":"string","RecipientName":"string","LineCount":0,"QuantityCount":0,"TotalEx":0,"AppliedAmount":0,"AppliedDate":"string"}],"ID":0,"Status":"string","RefNumber":"string","SalesOrderRefNumber":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"Description":"string","IsCustomerPickup":true,"LogisticServiceType":1,"LogisticServiceName":"string","LogisticServiceRefNumber":"string","TrackingNumber":"string","AccountCode":"string","Pickup":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","RequestedDateTime":"string","ActualPickupDateTime":"string"},"Delivery":{"CompanyName":"string","ContactName":"string","ContactPhone":"string","ContactEmail":"string","ContactMobile":"string","StreetAddress":"string","Suburb":"string","State":"string","Postcode":"string","Country":"string","Instructions":"string","ActualDeliveryDateTime":"string"},"TotalPackages":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalFreightCostEx":0,"TotalFreightCostTax":0,"TotalFreightCostInc":0,"LogisticServiceResponseStatus":"string","LogisticServiceResponseDetails":"string","Packages":[{"ConsignmentNoteID":0,"IsActive":true,"Lines":[{"ID":0,"IsActive":true,"ConsignmentNotePackageID":0,"PickSlipLineID":0,"QuantityPacked":0,"QuantityPicked":0,"QuantityOrdered":0,"InventoryID":0,"Code":"string","ShortDescription":"string","UoM":"string","UoMDescription":"string","Length_m":0,"Width_m":0,"Weight_kg":0,"Depth_m":0,"Volume":0,"IsStockAdjustmentComplete":true}],"ID":0,"RefNumber":"string","PackageUOM":"string","Barcode":"string","ArticleID":"string","LogisticServicePackageCode":"string","ContentDescription":"string","NumberOfItems":0,"TotalWeight_kg":0,"TotalVolume_m3":0,"TotalLength_m":0,"TotalWidth_m":0,"TotalHeight_m":0,"FreightCostEx":0,"FreightCostTax":0,"FreightCostInc":0,"PackageTypeID":0,"PackageTypeName":"string"}],"Messages":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","TransID":0,"Message":"string","IsInbound":true,"ToUserID":0,"FromUserID":0,"SentDateTime_utc":"string","ReceivedDateTime_utc":"string","ReadDateTime_utc":"string","IsActive":true,"IsSystemMessage":true,"IsFromParent":true,"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]}],"Attachments":[{"GUID":"00000000-0000-0000-0000-000000000000","Title":"string","IsImage":true,"IsPDF":true,"ID":0,"GUIDstring":"string","MessageID":0,"URI":"string","AttachedByUserID":0,"AttachedDateTime_utc":"string","IsActive":true,"Caption":"string","ThumbnailURI":"string","AttachmentType":"string","IsFromParent":true,"LineID":0}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestConsignmentNoteT

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNotePost(actionRequestConsignmentNoteT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
actionRequestConsignmentNoteT

Responses


consignmentNoteSearchConsignment

ConsignmentNote_SearchConsignment


/ConsignmentNote/

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConsignmentNote/?filter.getIsValidForBillToOnly=true&filter.createdByUserID=56&filter.customerID=56&filter.isLinkedCustomersOnly=true&filter.ignoreProspectID=56&filter.customerClassID=56&filter.territoryID=56&filter.isShowAccountCustomersOnly=true&filter.accountCustomerID=56&filter.isCODorPrePaidAccountCustomersOnly=true&filter.statuses=&filter.statusStrings=&filter.status=&filter.searchString=filterPeriodsearchString_example&filter.searchNameOnly=true&filter.search=filterPeriodsearch_example&filter.startDate=2013-10-20T19:20:30+01:00&filter.endDate=2013-10-20T19:20:30+01:00&filter.datePeriod=filterPerioddatePeriod_example&filter.isExactMatch=true&filter.isGetBasicInfo=true&filter.includeDeleted=true&filter.includeLogs=true&filter.ignoreID=56&filter.parentID=56&filter.getCountOnly=true&filter.transactionTypeDatTypeID=56&filter.categoryID=56&filter.adaptorID=56&filter.categoryIDs=&filter.brandIDs=&filter.iDs=&filter.gUIDs=&filter.linkedSupplierID=56&filter.isApprovedForPOS=true&filter.isApprovedForWeb=true&filter.isApprovedForService=true&filter.iD=56&filter.isHierarchicalSort=true&filter.types=&filter.isShowFavourites=true&filter.isHidden=true&filter.includeSystemTasks=true&filter.isSystem=true&filter.batchStatus=filterPeriodbatchStatus_example&filter.sortField=filterPeriodsortField_example&filter.sortAsc=true&filter.groupBy=filterPeriodgroupBy_example&filter.lastRowNumber=789&filter.maxResults=56&filter.tenantID=56&filter.websiteID=56&filter.userID=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Boolean filterPeriodgetIsValidForBillToOnly = true; // Boolean | 
        Integer filterPeriodcreatedByUserID = 56; // Integer | Format - int32.
        Integer filterPeriodcustomerID = 56; // Integer | Format - int32.
        Boolean filterPeriodisLinkedCustomersOnly = true; // Boolean | 
        Integer filterPeriodignoreProspectID = 56; // Integer | Format - int32.
        Integer filterPeriodcustomerClassID = 56; // Integer | Format - int32.
        Integer filterPeriodterritoryID = 56; // Integer | Format - int32.
        Boolean filterPeriodisShowAccountCustomersOnly = true; // Boolean | 
        Integer filterPeriodaccountCustomerID = 56; // Integer | Format - int32.
        Boolean filterPeriodisCODorPrePaidAccountCustomersOnly = true; // Boolean | 
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            ActionResultsList_ConsignmentInfo_ result = apiInstance.consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID, filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID, filterPeriodcustomerClassID, filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteSearchConsignment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean filterPeriodgetIsValidForBillToOnly = new Boolean(); // Boolean | 
final Integer filterPeriodcreatedByUserID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodcustomerID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisLinkedCustomersOnly = new Boolean(); // Boolean | 
final Integer filterPeriodignoreProspectID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodcustomerClassID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodterritoryID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisShowAccountCustomersOnly = new Boolean(); // Boolean | 
final Integer filterPeriodaccountCustomerID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisCODorPrePaidAccountCustomersOnly = new Boolean(); // Boolean | 
final array[Integer] filterPeriodstatuses = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodstatusStrings = new array[String](); // array[String] | 
final array[String] filterPeriodstatus = new array[String](); // array[String] | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsearchNameOnly = new Boolean(); // Boolean | 
final String filterPeriodsearch = new String(); // String | 
final Date filterPeriodstartDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final Date filterPeriodendDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final String filterPerioddatePeriod = new String(); // String | 
final Boolean filterPeriodisExactMatch = new Boolean(); // Boolean | 
final Boolean filterPeriodisGetBasicInfo = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeDeleted = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeLogs = new Boolean(); // Boolean | 
final Integer filterPeriodignoreID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodparentID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodgetCountOnly = new Boolean(); // Boolean | 
final Integer filterPeriodtransactionTypeDatTypeID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodcategoryID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodadaptorID = new Integer(); // Integer | Format - int32.
final array[Integer] filterPeriodcategoryIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodbrandIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodiDs = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodgUIDs = new array[String](); // array[String] | 
final Integer filterPeriodlinkedSupplierID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisApprovedForPOS = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForWeb = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForService = new Boolean(); // Boolean | 
final Integer filterPeriodiD = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisHierarchicalSort = new Boolean(); // Boolean | 
final array[String] filterPeriodtypes = new array[String](); // array[String] | 
final Boolean filterPeriodisShowFavourites = new Boolean(); // Boolean | 
final Boolean filterPeriodisHidden = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeSystemTasks = new Boolean(); // Boolean | 
final Boolean filterPeriodisSystem = new Boolean(); // Boolean | 
final String filterPeriodbatchStatus = new String(); // String | 
final String filterPeriodsortField = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final String filterPeriodgroupBy = new String(); // String | 
final Long filterPeriodlastRowNumber = new Long(); // Long | Format - int64.
final Integer filterPeriodmaxResults = new Integer(); // Integer | Format - int32.
final Integer filterPeriodtenantID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodwebsiteID = new Integer(); // Integer | Format - int32.
final Integer filterPerioduserID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID, filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID, filterPeriodcustomerClassID, filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNoteSearchConsignment: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean filterPeriodgetIsValidForBillToOnly = true; // Boolean | 
        Integer filterPeriodcreatedByUserID = 56; // Integer | Format - int32.
        Integer filterPeriodcustomerID = 56; // Integer | Format - int32.
        Boolean filterPeriodisLinkedCustomersOnly = true; // Boolean | 
        Integer filterPeriodignoreProspectID = 56; // Integer | Format - int32.
        Integer filterPeriodcustomerClassID = 56; // Integer | Format - int32.
        Integer filterPeriodterritoryID = 56; // Integer | Format - int32.
        Boolean filterPeriodisShowAccountCustomersOnly = true; // Boolean | 
        Integer filterPeriodaccountCustomerID = 56; // Integer | Format - int32.
        Boolean filterPeriodisCODorPrePaidAccountCustomersOnly = true; // Boolean | 
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            ActionResultsList_ConsignmentInfo_ result = apiInstance.consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID, filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID, filterPeriodcustomerClassID, filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteSearchConsignment");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *filterPeriodgetIsValidForBillToOnly = true; //  (optional) (default to null)
Integer *filterPeriodcreatedByUserID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodcustomerID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisLinkedCustomersOnly = true; //  (optional) (default to null)
Integer *filterPeriodignoreProspectID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodcustomerClassID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodterritoryID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisShowAccountCustomersOnly = true; //  (optional) (default to null)
Integer *filterPeriodaccountCustomerID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisCODorPrePaidAccountCustomersOnly = true; //  (optional) (default to null)
array[Integer] *filterPeriodstatuses = ; //  (optional) (default to null)
array[String] *filterPeriodstatusStrings = ; //  (optional) (default to null)
array[String] *filterPeriodstatus = ; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsearchNameOnly = true; //  (optional) (default to null)
String *filterPeriodsearch = filterPeriodsearch_example; //  (optional) (default to null)
Date *filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
Date *filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
String *filterPerioddatePeriod = filterPerioddatePeriod_example; //  (optional) (default to null)
Boolean *filterPeriodisExactMatch = true; //  (optional) (default to null)
Boolean *filterPeriodisGetBasicInfo = true; //  (optional) (default to null)
Boolean *filterPeriodincludeDeleted = true; //  (optional) (default to null)
Boolean *filterPeriodincludeLogs = true; //  (optional) (default to null)
Integer *filterPeriodignoreID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodparentID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodgetCountOnly = true; //  (optional) (default to null)
Integer *filterPeriodtransactionTypeDatTypeID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodcategoryID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodadaptorID = 56; // Format - int32. (optional) (default to null)
array[Integer] *filterPeriodcategoryIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodbrandIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodiDs = ; //  (optional) (default to null)
array[String] *filterPeriodgUIDs = ; //  (optional) (default to null)
Integer *filterPeriodlinkedSupplierID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisApprovedForPOS = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForWeb = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForService = true; //  (optional) (default to null)
Integer *filterPeriodiD = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisHierarchicalSort = true; //  (optional) (default to null)
array[String] *filterPeriodtypes = ; //  (optional) (default to null)
Boolean *filterPeriodisShowFavourites = true; //  (optional) (default to null)
Boolean *filterPeriodisHidden = true; //  (optional) (default to null)
Boolean *filterPeriodincludeSystemTasks = true; //  (optional) (default to null)
Boolean *filterPeriodisSystem = true; //  (optional) (default to null)
String *filterPeriodbatchStatus = filterPeriodbatchStatus_example; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
String *filterPeriodgroupBy = filterPeriodgroupBy_example; //  (optional) (default to null)
Long *filterPeriodlastRowNumber = 789; // Format - int64. (optional) (default to null)
Integer *filterPeriodmaxResults = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodtenantID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodwebsiteID = 56; // Format - int32. (optional) (default to null)
Integer *filterPerioduserID = 56; // Format - int32. (optional) (default to null)

// ConsignmentNote_SearchConsignment
[apiInstance consignmentNoteSearchConsignmentWith:filterPeriodgetIsValidForBillToOnly
    filterPeriodcreatedByUserID:filterPeriodcreatedByUserID
    filterPeriodcustomerID:filterPeriodcustomerID
    filterPeriodisLinkedCustomersOnly:filterPeriodisLinkedCustomersOnly
    filterPeriodignoreProspectID:filterPeriodignoreProspectID
    filterPeriodcustomerClassID:filterPeriodcustomerClassID
    filterPeriodterritoryID:filterPeriodterritoryID
    filterPeriodisShowAccountCustomersOnly:filterPeriodisShowAccountCustomersOnly
    filterPeriodaccountCustomerID:filterPeriodaccountCustomerID
    filterPeriodisCODorPrePaidAccountCustomersOnly:filterPeriodisCODorPrePaidAccountCustomersOnly
    filterPeriodstatuses:filterPeriodstatuses
    filterPeriodstatusStrings:filterPeriodstatusStrings
    filterPeriodstatus:filterPeriodstatus
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsearchNameOnly:filterPeriodsearchNameOnly
    filterPeriodsearch:filterPeriodsearch
    filterPeriodstartDate:filterPeriodstartDate
    filterPeriodendDate:filterPeriodendDate
    filterPerioddatePeriod:filterPerioddatePeriod
    filterPeriodisExactMatch:filterPeriodisExactMatch
    filterPeriodisGetBasicInfo:filterPeriodisGetBasicInfo
    filterPeriodincludeDeleted:filterPeriodincludeDeleted
    filterPeriodincludeLogs:filterPeriodincludeLogs
    filterPeriodignoreID:filterPeriodignoreID
    filterPeriodparentID:filterPeriodparentID
    filterPeriodgetCountOnly:filterPeriodgetCountOnly
    filterPeriodtransactionTypeDatTypeID:filterPeriodtransactionTypeDatTypeID
    filterPeriodcategoryID:filterPeriodcategoryID
    filterPeriodadaptorID:filterPeriodadaptorID
    filterPeriodcategoryIDs:filterPeriodcategoryIDs
    filterPeriodbrandIDs:filterPeriodbrandIDs
    filterPeriodiDs:filterPeriodiDs
    filterPeriodgUIDs:filterPeriodgUIDs
    filterPeriodlinkedSupplierID:filterPeriodlinkedSupplierID
    filterPeriodisApprovedForPOS:filterPeriodisApprovedForPOS
    filterPeriodisApprovedForWeb:filterPeriodisApprovedForWeb
    filterPeriodisApprovedForService:filterPeriodisApprovedForService
    filterPeriodiD:filterPeriodiD
    filterPeriodisHierarchicalSort:filterPeriodisHierarchicalSort
    filterPeriodtypes:filterPeriodtypes
    filterPeriodisShowFavourites:filterPeriodisShowFavourites
    filterPeriodisHidden:filterPeriodisHidden
    filterPeriodincludeSystemTasks:filterPeriodincludeSystemTasks
    filterPeriodisSystem:filterPeriodisSystem
    filterPeriodbatchStatus:filterPeriodbatchStatus
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodgroupBy:filterPeriodgroupBy
    filterPeriodlastRowNumber:filterPeriodlastRowNumber
    filterPeriodmaxResults:filterPeriodmaxResults
    filterPeriodtenantID:filterPeriodtenantID
    filterPeriodwebsiteID:filterPeriodwebsiteID
    filterPerioduserID:filterPerioduserID
              completionHandler: ^(ActionResultsList_ConsignmentInfo_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var opts = {
  'filterPeriodgetIsValidForBillToOnly': true, // {Boolean} 
  'filterPeriodcreatedByUserID': 56, // {Integer} Format - int32.
  'filterPeriodcustomerID': 56, // {Integer} Format - int32.
  'filterPeriodisLinkedCustomersOnly': true, // {Boolean} 
  'filterPeriodignoreProspectID': 56, // {Integer} Format - int32.
  'filterPeriodcustomerClassID': 56, // {Integer} Format - int32.
  'filterPeriodterritoryID': 56, // {Integer} Format - int32.
  'filterPeriodisShowAccountCustomersOnly': true, // {Boolean} 
  'filterPeriodaccountCustomerID': 56, // {Integer} Format - int32.
  'filterPeriodisCODorPrePaidAccountCustomersOnly': true, // {Boolean} 
  'filterPeriodstatuses': , // {array[Integer]} 
  'filterPeriodstatusStrings': , // {array[String]} 
  'filterPeriodstatus': , // {array[String]} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsearchNameOnly': true, // {Boolean} 
  'filterPeriodsearch': filterPeriodsearch_example, // {String} 
  'filterPeriodstartDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPeriodendDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPerioddatePeriod': filterPerioddatePeriod_example, // {String} 
  'filterPeriodisExactMatch': true, // {Boolean} 
  'filterPeriodisGetBasicInfo': true, // {Boolean} 
  'filterPeriodincludeDeleted': true, // {Boolean} 
  'filterPeriodincludeLogs': true, // {Boolean} 
  'filterPeriodignoreID': 56, // {Integer} Format - int32.
  'filterPeriodparentID': 56, // {Integer} Format - int32.
  'filterPeriodgetCountOnly': true, // {Boolean} 
  'filterPeriodtransactionTypeDatTypeID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryID': 56, // {Integer} Format - int32.
  'filterPeriodadaptorID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryIDs': , // {array[Integer]} 
  'filterPeriodbrandIDs': , // {array[Integer]} 
  'filterPeriodiDs': , // {array[Integer]} 
  'filterPeriodgUIDs': , // {array[String]} 
  'filterPeriodlinkedSupplierID': 56, // {Integer} Format - int32.
  'filterPeriodisApprovedForPOS': true, // {Boolean} 
  'filterPeriodisApprovedForWeb': true, // {Boolean} 
  'filterPeriodisApprovedForService': true, // {Boolean} 
  'filterPeriodiD': 56, // {Integer} Format - int32.
  'filterPeriodisHierarchicalSort': true, // {Boolean} 
  'filterPeriodtypes': , // {array[String]} 
  'filterPeriodisShowFavourites': true, // {Boolean} 
  'filterPeriodisHidden': true, // {Boolean} 
  'filterPeriodincludeSystemTasks': true, // {Boolean} 
  'filterPeriodisSystem': true, // {Boolean} 
  'filterPeriodbatchStatus': filterPeriodbatchStatus_example, // {String} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodgroupBy': filterPeriodgroupBy_example, // {String} 
  'filterPeriodlastRowNumber': 789, // {Long} Format - int64.
  'filterPeriodmaxResults': 56, // {Integer} Format - int32.
  'filterPeriodtenantID': 56, // {Integer} Format - int32.
  'filterPeriodwebsiteID': 56, // {Integer} Format - int32.
  'filterPerioduserID': 56 // {Integer} Format - int32.
};

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

namespace Example
{
    public class consignmentNoteSearchConsignmentExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodgetIsValidForBillToOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodcreatedByUserID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcustomerID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisLinkedCustomersOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodignoreProspectID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcustomerClassID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodterritoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisShowAccountCustomersOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodaccountCustomerID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisCODorPrePaidAccountCustomersOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodstatuses = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodstatusStrings = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodstatus = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchNameOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodsearch = filterPeriodsearch_example;  // String |  (optional)  (default to null)
            var filterPeriodstartDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPeriodendDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPerioddatePeriod = filterPerioddatePeriod_example;  // String |  (optional)  (default to null)
            var filterPeriodisExactMatch = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisGetBasicInfo = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeDeleted = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeLogs = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodignoreID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodparentID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodgetCountOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtransactionTypeDatTypeID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodadaptorID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodbrandIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodiDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodgUIDs = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodlinkedSupplierID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisApprovedForPOS = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForWeb = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForService = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodiD = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisHierarchicalSort = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtypes = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodisShowFavourites = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisHidden = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeSystemTasks = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisSystem = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodbatchStatus = filterPeriodbatchStatus_example;  // String |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodgroupBy = filterPeriodgroupBy_example;  // String |  (optional)  (default to null)
            var filterPeriodlastRowNumber = 789;  // Long | Format - int64. (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodtenantID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodwebsiteID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPerioduserID = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // ConsignmentNote_SearchConsignment
                ActionResultsList_ConsignmentInfo_ result = apiInstance.consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID, filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID, filterPeriodcustomerClassID, filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNoteSearchConsignment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodgetIsValidForBillToOnly = true; // Boolean | 
$filterPeriodcreatedByUserID = 56; // Integer | Format - int32.
$filterPeriodcustomerID = 56; // Integer | Format - int32.
$filterPeriodisLinkedCustomersOnly = true; // Boolean | 
$filterPeriodignoreProspectID = 56; // Integer | Format - int32.
$filterPeriodcustomerClassID = 56; // Integer | Format - int32.
$filterPeriodterritoryID = 56; // Integer | Format - int32.
$filterPeriodisShowAccountCustomersOnly = true; // Boolean | 
$filterPeriodaccountCustomerID = 56; // Integer | Format - int32.
$filterPeriodisCODorPrePaidAccountCustomersOnly = true; // Boolean | 
$filterPeriodstatuses = ; // array[Integer] | 
$filterPeriodstatusStrings = ; // array[String] | 
$filterPeriodstatus = ; // array[String] | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsearchNameOnly = true; // Boolean | 
$filterPeriodsearch = filterPeriodsearch_example; // String | 
$filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
$filterPeriodisExactMatch = true; // Boolean | 
$filterPeriodisGetBasicInfo = true; // Boolean | 
$filterPeriodincludeDeleted = true; // Boolean | 
$filterPeriodincludeLogs = true; // Boolean | 
$filterPeriodignoreID = 56; // Integer | Format - int32.
$filterPeriodparentID = 56; // Integer | Format - int32.
$filterPeriodgetCountOnly = true; // Boolean | 
$filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
$filterPeriodcategoryID = 56; // Integer | Format - int32.
$filterPeriodadaptorID = 56; // Integer | Format - int32.
$filterPeriodcategoryIDs = ; // array[Integer] | 
$filterPeriodbrandIDs = ; // array[Integer] | 
$filterPeriodiDs = ; // array[Integer] | 
$filterPeriodgUIDs = ; // array[String] | 
$filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
$filterPeriodisApprovedForPOS = true; // Boolean | 
$filterPeriodisApprovedForWeb = true; // Boolean | 
$filterPeriodisApprovedForService = true; // Boolean | 
$filterPeriodiD = 56; // Integer | Format - int32.
$filterPeriodisHierarchicalSort = true; // Boolean | 
$filterPeriodtypes = ; // array[String] | 
$filterPeriodisShowFavourites = true; // Boolean | 
$filterPeriodisHidden = true; // Boolean | 
$filterPeriodincludeSystemTasks = true; // Boolean | 
$filterPeriodisSystem = true; // Boolean | 
$filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
$filterPeriodlastRowNumber = 789; // Long | Format - int64.
$filterPeriodmaxResults = 56; // Integer | Format - int32.
$filterPeriodtenantID = 56; // Integer | Format - int32.
$filterPeriodwebsiteID = 56; // Integer | Format - int32.
$filterPerioduserID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->consignmentNoteSearchConsignment($filterPeriodgetIsValidForBillToOnly, $filterPeriodcreatedByUserID, $filterPeriodcustomerID, $filterPeriodisLinkedCustomersOnly, $filterPeriodignoreProspectID, $filterPeriodcustomerClassID, $filterPeriodterritoryID, $filterPeriodisShowAccountCustomersOnly, $filterPeriodaccountCustomerID, $filterPeriodisCODorPrePaidAccountCustomersOnly, $filterPeriodstatuses, $filterPeriodstatusStrings, $filterPeriodstatus, $filterPeriodsearchString, $filterPeriodsearchNameOnly, $filterPeriodsearch, $filterPeriodstartDate, $filterPeriodendDate, $filterPerioddatePeriod, $filterPeriodisExactMatch, $filterPeriodisGetBasicInfo, $filterPeriodincludeDeleted, $filterPeriodincludeLogs, $filterPeriodignoreID, $filterPeriodparentID, $filterPeriodgetCountOnly, $filterPeriodtransactionTypeDatTypeID, $filterPeriodcategoryID, $filterPeriodadaptorID, $filterPeriodcategoryIDs, $filterPeriodbrandIDs, $filterPeriodiDs, $filterPeriodgUIDs, $filterPeriodlinkedSupplierID, $filterPeriodisApprovedForPOS, $filterPeriodisApprovedForWeb, $filterPeriodisApprovedForService, $filterPeriodiD, $filterPeriodisHierarchicalSort, $filterPeriodtypes, $filterPeriodisShowFavourites, $filterPeriodisHidden, $filterPeriodincludeSystemTasks, $filterPeriodisSystem, $filterPeriodbatchStatus, $filterPeriodsortField, $filterPeriodsortAsc, $filterPeriodgroupBy, $filterPeriodlastRowNumber, $filterPeriodmaxResults, $filterPeriodtenantID, $filterPeriodwebsiteID, $filterPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->consignmentNoteSearchConsignment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $filterPeriodgetIsValidForBillToOnly = true; # Boolean | 
my $filterPeriodcreatedByUserID = 56; # Integer | Format - int32.
my $filterPeriodcustomerID = 56; # Integer | Format - int32.
my $filterPeriodisLinkedCustomersOnly = true; # Boolean | 
my $filterPeriodignoreProspectID = 56; # Integer | Format - int32.
my $filterPeriodcustomerClassID = 56; # Integer | Format - int32.
my $filterPeriodterritoryID = 56; # Integer | Format - int32.
my $filterPeriodisShowAccountCustomersOnly = true; # Boolean | 
my $filterPeriodaccountCustomerID = 56; # Integer | Format - int32.
my $filterPeriodisCODorPrePaidAccountCustomersOnly = true; # Boolean | 
my $filterPeriodstatuses = []; # array[Integer] | 
my $filterPeriodstatusStrings = []; # array[String] | 
my $filterPeriodstatus = []; # array[String] | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsearchNameOnly = true; # Boolean | 
my $filterPeriodsearch = filterPeriodsearch_example; # String | 
my $filterPeriodstartDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPeriodendDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPerioddatePeriod = filterPerioddatePeriod_example; # String | 
my $filterPeriodisExactMatch = true; # Boolean | 
my $filterPeriodisGetBasicInfo = true; # Boolean | 
my $filterPeriodincludeDeleted = true; # Boolean | 
my $filterPeriodincludeLogs = true; # Boolean | 
my $filterPeriodignoreID = 56; # Integer | Format - int32.
my $filterPeriodparentID = 56; # Integer | Format - int32.
my $filterPeriodgetCountOnly = true; # Boolean | 
my $filterPeriodtransactionTypeDatTypeID = 56; # Integer | Format - int32.
my $filterPeriodcategoryID = 56; # Integer | Format - int32.
my $filterPeriodadaptorID = 56; # Integer | Format - int32.
my $filterPeriodcategoryIDs = []; # array[Integer] | 
my $filterPeriodbrandIDs = []; # array[Integer] | 
my $filterPeriodiDs = []; # array[Integer] | 
my $filterPeriodgUIDs = []; # array[String] | 
my $filterPeriodlinkedSupplierID = 56; # Integer | Format - int32.
my $filterPeriodisApprovedForPOS = true; # Boolean | 
my $filterPeriodisApprovedForWeb = true; # Boolean | 
my $filterPeriodisApprovedForService = true; # Boolean | 
my $filterPeriodiD = 56; # Integer | Format - int32.
my $filterPeriodisHierarchicalSort = true; # Boolean | 
my $filterPeriodtypes = []; # array[String] | 
my $filterPeriodisShowFavourites = true; # Boolean | 
my $filterPeriodisHidden = true; # Boolean | 
my $filterPeriodincludeSystemTasks = true; # Boolean | 
my $filterPeriodisSystem = true; # Boolean | 
my $filterPeriodbatchStatus = filterPeriodbatchStatus_example; # String | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodgroupBy = filterPeriodgroupBy_example; # String | 
my $filterPeriodlastRowNumber = 789; # Long | Format - int64.
my $filterPeriodmaxResults = 56; # Integer | Format - int32.
my $filterPeriodtenantID = 56; # Integer | Format - int32.
my $filterPeriodwebsiteID = 56; # Integer | Format - int32.
my $filterPerioduserID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly => $filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID => $filterPeriodcreatedByUserID, filterPeriodcustomerID => $filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly => $filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID => $filterPeriodignoreProspectID, filterPeriodcustomerClassID => $filterPeriodcustomerClassID, filterPeriodterritoryID => $filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly => $filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID => $filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly => $filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses => $filterPeriodstatuses, filterPeriodstatusStrings => $filterPeriodstatusStrings, filterPeriodstatus => $filterPeriodstatus, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsearchNameOnly => $filterPeriodsearchNameOnly, filterPeriodsearch => $filterPeriodsearch, filterPeriodstartDate => $filterPeriodstartDate, filterPeriodendDate => $filterPeriodendDate, filterPerioddatePeriod => $filterPerioddatePeriod, filterPeriodisExactMatch => $filterPeriodisExactMatch, filterPeriodisGetBasicInfo => $filterPeriodisGetBasicInfo, filterPeriodincludeDeleted => $filterPeriodincludeDeleted, filterPeriodincludeLogs => $filterPeriodincludeLogs, filterPeriodignoreID => $filterPeriodignoreID, filterPeriodparentID => $filterPeriodparentID, filterPeriodgetCountOnly => $filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID => $filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID => $filterPeriodcategoryID, filterPeriodadaptorID => $filterPeriodadaptorID, filterPeriodcategoryIDs => $filterPeriodcategoryIDs, filterPeriodbrandIDs => $filterPeriodbrandIDs, filterPeriodiDs => $filterPeriodiDs, filterPeriodgUIDs => $filterPeriodgUIDs, filterPeriodlinkedSupplierID => $filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS => $filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb => $filterPeriodisApprovedForWeb, filterPeriodisApprovedForService => $filterPeriodisApprovedForService, filterPeriodiD => $filterPeriodiD, filterPeriodisHierarchicalSort => $filterPeriodisHierarchicalSort, filterPeriodtypes => $filterPeriodtypes, filterPeriodisShowFavourites => $filterPeriodisShowFavourites, filterPeriodisHidden => $filterPeriodisHidden, filterPeriodincludeSystemTasks => $filterPeriodincludeSystemTasks, filterPeriodisSystem => $filterPeriodisSystem, filterPeriodbatchStatus => $filterPeriodbatchStatus, filterPeriodsortField => $filterPeriodsortField, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodgroupBy => $filterPeriodgroupBy, filterPeriodlastRowNumber => $filterPeriodlastRowNumber, filterPeriodmaxResults => $filterPeriodmaxResults, filterPeriodtenantID => $filterPeriodtenantID, filterPeriodwebsiteID => $filterPeriodwebsiteID, filterPerioduserID => $filterPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNoteSearchConsignment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
filterPeriodgetIsValidForBillToOnly = true # Boolean |  (optional) (default to null)
filterPeriodcreatedByUserID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcustomerID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisLinkedCustomersOnly = true # Boolean |  (optional) (default to null)
filterPeriodignoreProspectID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcustomerClassID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodterritoryID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisShowAccountCustomersOnly = true # Boolean |  (optional) (default to null)
filterPeriodaccountCustomerID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisCODorPrePaidAccountCustomersOnly = true # Boolean |  (optional) (default to null)
filterPeriodstatuses =  # array[Integer] |  (optional) (default to null)
filterPeriodstatusStrings =  # array[String] |  (optional) (default to null)
filterPeriodstatus =  # array[String] |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsearchNameOnly = true # Boolean |  (optional) (default to null)
filterPeriodsearch = filterPeriodsearch_example # String |  (optional) (default to null)
filterPeriodstartDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPeriodendDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPerioddatePeriod = filterPerioddatePeriod_example # String |  (optional) (default to null)
filterPeriodisExactMatch = true # Boolean |  (optional) (default to null)
filterPeriodisGetBasicInfo = true # Boolean |  (optional) (default to null)
filterPeriodincludeDeleted = true # Boolean |  (optional) (default to null)
filterPeriodincludeLogs = true # Boolean |  (optional) (default to null)
filterPeriodignoreID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodparentID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodgetCountOnly = true # Boolean |  (optional) (default to null)
filterPeriodtransactionTypeDatTypeID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodadaptorID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodbrandIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodiDs =  # array[Integer] |  (optional) (default to null)
filterPeriodgUIDs =  # array[String] |  (optional) (default to null)
filterPeriodlinkedSupplierID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisApprovedForPOS = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForWeb = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForService = true # Boolean |  (optional) (default to null)
filterPeriodiD = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisHierarchicalSort = true # Boolean |  (optional) (default to null)
filterPeriodtypes =  # array[String] |  (optional) (default to null)
filterPeriodisShowFavourites = true # Boolean |  (optional) (default to null)
filterPeriodisHidden = true # Boolean |  (optional) (default to null)
filterPeriodincludeSystemTasks = true # Boolean |  (optional) (default to null)
filterPeriodisSystem = true # Boolean |  (optional) (default to null)
filterPeriodbatchStatus = filterPeriodbatchStatus_example # String |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodgroupBy = filterPeriodgroupBy_example # String |  (optional) (default to null)
filterPeriodlastRowNumber = 789 # Long | Format - int64. (optional) (default to null)
filterPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodtenantID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodwebsiteID = 56 # Integer | Format - int32. (optional) (default to null)
filterPerioduserID = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # ConsignmentNote_SearchConsignment
    api_response = api_instance.consignment_note_search_consignment(filterPeriodgetIsValidForBillToOnly=filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID=filterPeriodcreatedByUserID, filterPeriodcustomerID=filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly=filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID=filterPeriodignoreProspectID, filterPeriodcustomerClassID=filterPeriodcustomerClassID, filterPeriodterritoryID=filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly=filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID=filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly=filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses=filterPeriodstatuses, filterPeriodstatusStrings=filterPeriodstatusStrings, filterPeriodstatus=filterPeriodstatus, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsearchNameOnly=filterPeriodsearchNameOnly, filterPeriodsearch=filterPeriodsearch, filterPeriodstartDate=filterPeriodstartDate, filterPeriodendDate=filterPeriodendDate, filterPerioddatePeriod=filterPerioddatePeriod, filterPeriodisExactMatch=filterPeriodisExactMatch, filterPeriodisGetBasicInfo=filterPeriodisGetBasicInfo, filterPeriodincludeDeleted=filterPeriodincludeDeleted, filterPeriodincludeLogs=filterPeriodincludeLogs, filterPeriodignoreID=filterPeriodignoreID, filterPeriodparentID=filterPeriodparentID, filterPeriodgetCountOnly=filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID=filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID=filterPeriodcategoryID, filterPeriodadaptorID=filterPeriodadaptorID, filterPeriodcategoryIDs=filterPeriodcategoryIDs, filterPeriodbrandIDs=filterPeriodbrandIDs, filterPeriodiDs=filterPeriodiDs, filterPeriodgUIDs=filterPeriodgUIDs, filterPeriodlinkedSupplierID=filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS=filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb=filterPeriodisApprovedForWeb, filterPeriodisApprovedForService=filterPeriodisApprovedForService, filterPeriodiD=filterPeriodiD, filterPeriodisHierarchicalSort=filterPeriodisHierarchicalSort, filterPeriodtypes=filterPeriodtypes, filterPeriodisShowFavourites=filterPeriodisShowFavourites, filterPeriodisHidden=filterPeriodisHidden, filterPeriodincludeSystemTasks=filterPeriodincludeSystemTasks, filterPeriodisSystem=filterPeriodisSystem, filterPeriodbatchStatus=filterPeriodbatchStatus, filterPeriodsortField=filterPeriodsortField, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodgroupBy=filterPeriodgroupBy, filterPeriodlastRowNumber=filterPeriodlastRowNumber, filterPeriodmaxResults=filterPeriodmaxResults, filterPeriodtenantID=filterPeriodtenantID, filterPeriodwebsiteID=filterPeriodwebsiteID, filterPerioduserID=filterPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNoteSearchConsignment: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodgetIsValidForBillToOnly = true; // Boolean
    let filterPeriodcreatedByUserID = 56; // Integer
    let filterPeriodcustomerID = 56; // Integer
    let filterPeriodisLinkedCustomersOnly = true; // Boolean
    let filterPeriodignoreProspectID = 56; // Integer
    let filterPeriodcustomerClassID = 56; // Integer
    let filterPeriodterritoryID = 56; // Integer
    let filterPeriodisShowAccountCustomersOnly = true; // Boolean
    let filterPeriodaccountCustomerID = 56; // Integer
    let filterPeriodisCODorPrePaidAccountCustomersOnly = true; // Boolean
    let filterPeriodstatuses = ; // array[Integer]
    let filterPeriodstatusStrings = ; // array[String]
    let filterPeriodstatus = ; // array[String]
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsearchNameOnly = true; // Boolean
    let filterPeriodsearch = filterPeriodsearch_example; // String
    let filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPerioddatePeriod = filterPerioddatePeriod_example; // String
    let filterPeriodisExactMatch = true; // Boolean
    let filterPeriodisGetBasicInfo = true; // Boolean
    let filterPeriodincludeDeleted = true; // Boolean
    let filterPeriodincludeLogs = true; // Boolean
    let filterPeriodignoreID = 56; // Integer
    let filterPeriodparentID = 56; // Integer
    let filterPeriodgetCountOnly = true; // Boolean
    let filterPeriodtransactionTypeDatTypeID = 56; // Integer
    let filterPeriodcategoryID = 56; // Integer
    let filterPeriodadaptorID = 56; // Integer
    let filterPeriodcategoryIDs = ; // array[Integer]
    let filterPeriodbrandIDs = ; // array[Integer]
    let filterPeriodiDs = ; // array[Integer]
    let filterPeriodgUIDs = ; // array[String]
    let filterPeriodlinkedSupplierID = 56; // Integer
    let filterPeriodisApprovedForPOS = true; // Boolean
    let filterPeriodisApprovedForWeb = true; // Boolean
    let filterPeriodisApprovedForService = true; // Boolean
    let filterPeriodiD = 56; // Integer
    let filterPeriodisHierarchicalSort = true; // Boolean
    let filterPeriodtypes = ; // array[String]
    let filterPeriodisShowFavourites = true; // Boolean
    let filterPeriodisHidden = true; // Boolean
    let filterPeriodincludeSystemTasks = true; // Boolean
    let filterPeriodisSystem = true; // Boolean
    let filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodgroupBy = filterPeriodgroupBy_example; // String
    let filterPeriodlastRowNumber = 789; // Long
    let filterPeriodmaxResults = 56; // Integer
    let filterPeriodtenantID = 56; // Integer
    let filterPeriodwebsiteID = 56; // Integer
    let filterPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNoteSearchConsignment(filterPeriodgetIsValidForBillToOnly, filterPeriodcreatedByUserID, filterPeriodcustomerID, filterPeriodisLinkedCustomersOnly, filterPeriodignoreProspectID, filterPeriodcustomerClassID, filterPeriodterritoryID, filterPeriodisShowAccountCustomersOnly, filterPeriodaccountCustomerID, filterPeriodisCODorPrePaidAccountCustomersOnly, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
filter.getIsValidForBillToOnly
Boolean
filter.createdByUserID
Integer (int32)
Format - int32.
filter.customerID
Integer (int32)
Format - int32.
filter.isLinkedCustomersOnly
Boolean
filter.ignoreProspectID
Integer (int32)
Format - int32.
filter.customerClassID
Integer (int32)
Format - int32.
filter.territoryID
Integer (int32)
Format - int32.
filter.isShowAccountCustomersOnly
Boolean
filter.accountCustomerID
Integer (int32)
Format - int32.
filter.isCODorPrePaidAccountCustomersOnly
Boolean
filter.statuses
array[Integer] (int32)
filter.statusStrings
array[String]
filter.status
array[String]
filter.searchString
String
filter.searchNameOnly
Boolean
filter.search
String
filter.startDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.endDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.datePeriod
String
filter.isExactMatch
Boolean
filter.isGetBasicInfo
Boolean
filter.includeDeleted
Boolean
filter.includeLogs
Boolean
filter.ignoreID
Integer (int32)
Format - int32.
filter.parentID
Integer (int32)
Format - int32.
filter.getCountOnly
Boolean
filter.transactionTypeDatTypeID
Integer (int32)
Format - int32.
filter.categoryID
Integer (int32)
Format - int32.
filter.adaptorID
Integer (int32)
Format - int32.
filter.categoryIDs
array[Integer] (int32)
filter.brandIDs
array[Integer] (int32)
filter.iDs
array[Integer] (int32)
filter.gUIDs
array[String]
filter.linkedSupplierID
Integer (int32)
Format - int32.
filter.isApprovedForPOS
Boolean
filter.isApprovedForWeb
Boolean
filter.isApprovedForService
Boolean
filter.iD
Integer (int32)
Format - int32.
filter.isHierarchicalSort
Boolean
filter.types
array[String]
filter.isShowFavourites
Boolean
filter.isHidden
Boolean
filter.includeSystemTasks
Boolean
filter.isSystem
Boolean
filter.batchStatus
String
filter.sortField
String
filter.sortAsc
Boolean
filter.groupBy
String
filter.lastRowNumber
Long (int64)
Format - int64.
filter.maxResults
Integer (int32)
Format - int32.
filter.tenantID
Integer (int32)
Format - int32.
filter.websiteID
Integer (int32)
Format - int32.
filter.userID
Integer (int32)
Format - int32.

Responses


consignmentNoteUpdateStatus

ConsignmentNote_UpdateStatus


/ConsignmentNote/{id}/status

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConsignmentNote/{id}/status" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        ActionRequestUpdateConsignmentStatusRequest actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestUpdateConsignmentStatusRequest | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteUpdateStatus(id, actionRequestUpdateConsignmentStatusRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteUpdateStatus");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.
final ActionRequestUpdateConsignmentStatusRequest actionRequestUpdateConsignmentStatusRequest = new ActionRequestUpdateConsignmentStatusRequest(); // ActionRequestUpdateConsignmentStatusRequest | 

try {
    final result = await api_instance.consignmentNoteUpdateStatus(id, actionRequestUpdateConsignmentStatusRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->consignmentNoteUpdateStatus: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        ActionRequestUpdateConsignmentStatusRequest actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestUpdateConsignmentStatusRequest | 

        try {
            ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteUpdateStatus(id, actionRequestUpdateConsignmentStatusRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#consignmentNoteUpdateStatus");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)
ActionRequestUpdateConsignmentStatusRequest *actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// ConsignmentNote_UpdateStatus
[apiInstance consignmentNoteUpdateStatusWith:id
    actionRequestUpdateConsignmentStatusRequest:actionRequestUpdateConsignmentStatusRequest
              completionHandler: ^(ActionResults_ConsignmentNoteT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConsignmentNote = require('as_server_api_consignment_note');

// Create an instance of the API class
var api = new AsServerApiConsignmentNote.DefaultApi()
var id = 56; // {Integer} Format - int32.
var opts = {
  'actionRequestUpdateConsignmentStatusRequest': {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestUpdateConsignmentStatusRequest} 
};

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

namespace Example
{
    public class consignmentNoteUpdateStatusExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)
            var actionRequestUpdateConsignmentStatusRequest = new ActionRequestUpdateConsignmentStatusRequest(); // ActionRequestUpdateConsignmentStatusRequest |  (optional) 

            try {
                // ConsignmentNote_UpdateStatus
                ActionResults_ConsignmentNoteT_ result = apiInstance.consignmentNoteUpdateStatus(id, actionRequestUpdateConsignmentStatusRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.consignmentNoteUpdateStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.
$actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestUpdateConsignmentStatusRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.
my $actionRequestUpdateConsignmentStatusRequest = WWW::OPenAPIClient::Object::ActionRequestUpdateConsignmentStatusRequest->new(); # ActionRequestUpdateConsignmentStatusRequest | 

eval {
    my $result = $api_instance->consignmentNoteUpdateStatus(id => $id, actionRequestUpdateConsignmentStatusRequest => $actionRequestUpdateConsignmentStatusRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->consignmentNoteUpdateStatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)
actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestUpdateConsignmentStatusRequest |  (optional)

try:
    # ConsignmentNote_UpdateStatus
    api_response = api_instance.consignment_note_update_status(id, actionRequestUpdateConsignmentStatusRequest=actionRequestUpdateConsignmentStatusRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->consignmentNoteUpdateStatus: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let actionRequestUpdateConsignmentStatusRequest = {"Value":{"ID":0,"Status":"string","InvoiceModeType":1,"InvoiceMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestUpdateConsignmentStatusRequest

    let mut context = DefaultApi::Context::default();
    let result = client.consignmentNoteUpdateStatus(id, actionRequestUpdateConsignmentStatusRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
actionRequestUpdateConsignmentStatusRequest

Responses