AS Server - API - DeliveryReceipt

Default

deliveryReceiptAddLines

DeliveryReceipt_AddLines


/DeliveryReceipt/AddLines

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/DeliveryReceipt/AddLines" \
 -d '{
  "WebsiteID" : 5,
  "TenantID" : 4,
  "UserID" : 9,
  "ID" : 0,
  "Lines" : [ {
    "Description" : "Description",
    "ReceiveInventoryBatchID" : 5,
    "CostPriceEx" : 7.386281948385884,
    "IsActive" : true,
    "StockReplenishmentLineID" : 4,
    "InventoryID" : 1,
    "ShortDescription" : "ShortDescription",
    "QuantityToBeReceived" : 1.1730742509559433,
    "GUIDstring" : "GUIDstring",
    "UoM" : "UoM",
    "ReceivedByUserID" : 2,
    "ReceiveComment" : "ReceiveComment",
    "SequenceNumber" : 9,
    "QuantityIncorrect" : 7.457744773683766,
    "ID" : 6,
    "AssetID" : 3,
    "Comment" : "Comment",
    "InventoryCode" : "InventoryCode",
    "InventoryGUIDstring" : "InventoryGUIDstring",
    "InventoryType" : "InventoryType",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "UoMDescription" : "UoMDescription",
    "ReceiveWarehouseLocationID" : 5,
    "ReceivedDateTime_offset" : 7,
    "ReceivedByUserName" : "ReceivedByUserName",
    "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "EAN" : "EAN",
    "IsStockAdjustmentComplete" : true,
    "QuantityFaulty" : 1.4894159098541704,
    "Barcode" : "Barcode",
    "QuantityOrdered" : 1.2315135367772556,
    "QuantityReceived" : 1.0246457001441578,
    "QuantityOutOfDate" : 6.84685269835264,
    "SKU" : "SKU",
    "IsAssetItem" : true,
    "PurchaseOrderLineID" : 2
  }, {
    "Description" : "Description",
    "ReceiveInventoryBatchID" : 5,
    "CostPriceEx" : 7.386281948385884,
    "IsActive" : true,
    "StockReplenishmentLineID" : 4,
    "InventoryID" : 1,
    "ShortDescription" : "ShortDescription",
    "QuantityToBeReceived" : 1.1730742509559433,
    "GUIDstring" : "GUIDstring",
    "UoM" : "UoM",
    "ReceivedByUserID" : 2,
    "ReceiveComment" : "ReceiveComment",
    "SequenceNumber" : 9,
    "QuantityIncorrect" : 7.457744773683766,
    "ID" : 6,
    "AssetID" : 3,
    "Comment" : "Comment",
    "InventoryCode" : "InventoryCode",
    "InventoryGUIDstring" : "InventoryGUIDstring",
    "InventoryType" : "InventoryType",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "UoMDescription" : "UoMDescription",
    "ReceiveWarehouseLocationID" : 5,
    "ReceivedDateTime_offset" : 7,
    "ReceivedByUserName" : "ReceivedByUserName",
    "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "EAN" : "EAN",
    "IsStockAdjustmentComplete" : true,
    "QuantityFaulty" : 1.4894159098541704,
    "Barcode" : "Barcode",
    "QuantityOrdered" : 1.2315135367772556,
    "QuantityReceived" : 1.0246457001441578,
    "QuantityOutOfDate" : 6.84685269835264,
    "SKU" : "SKU",
    "IsAssetItem" : true,
    "PurchaseOrderLineID" : 2
  } ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptAddLinesRequest>
  <ID>123</ID>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <InventoryID>123</InventoryID>
    <InventoryCode>aeiou</InventoryCode>
    <InventoryGUIDstring>aeiou</InventoryGUIDstring>
    <InventoryType>aeiou</InventoryType>
    <Barcode>aeiou</Barcode>
    <EAN>aeiou</EAN>
    <SKU>aeiou</SKU>
    <ShortDescription>aeiou</ShortDescription>
    <Description>aeiou</Description>
    <UoM>aeiou</UoM>
    <UoMDescription>aeiou</UoMDescription>
    <ReceiveWarehouseLocationID>123</ReceiveWarehouseLocationID>
    <ReceiveInventoryBatchID>123</ReceiveInventoryBatchID>
    <IsActive>true</IsActive>
    <ReceivedByUserID>123</ReceivedByUserID>
    <ReceivedByUserName>aeiou</ReceivedByUserName>
    <ReceivedDateTime_utc>2000-01-23T04:56:07.000Z</ReceivedDateTime_utc>
    <ReceivedDateTime_offset>123</ReceivedDateTime_offset>
    <ReceiveComment>aeiou</ReceiveComment>
    <SequenceNumber>123</SequenceNumber>
    <IsAssetItem>true</IsAssetItem>
    <AssetID>123</AssetID>
    <Comment>aeiou</Comment>
    <IsStockAdjustmentComplete>true</IsStockAdjustmentComplete>
    <PurchaseOrderLineID>123</PurchaseOrderLineID>
    <StockReplenishmentLineID>123</StockReplenishmentLineID>
    <CostPriceEx>3.149</CostPriceEx>
    <QuantityOrdered>3.149</QuantityOrdered>
    <QuantityReceived>3.149</QuantityReceived>
    <QuantityFaulty>3.149</QuantityFaulty>
    <QuantityOutOfDate>3.149</QuantityOutOfDate>
    <QuantityIncorrect>3.149</QuantityIncorrect>
    <QuantityToBeReceived>3.149</QuantityToBeReceived>
  </null>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</DeliveryReceiptAddLinesRequest>' \
 -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();
        DeliveryReceiptAddLinesRequest deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptAddLinesRequest | 

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

final api_instance = DefaultApi();

final DeliveryReceiptAddLinesRequest deliveryReceiptAddLinesRequest = new DeliveryReceiptAddLinesRequest(); // DeliveryReceiptAddLinesRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptAddLinesRequest deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptAddLinesRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptAddLinesRequest *deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_AddLines
[apiInstance deliveryReceiptAddLinesWith:deliveryReceiptAddLinesRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptAddLinesRequest': {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0} // {DeliveryReceiptAddLinesRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptAddLinesRequest | 

try {
    $result = $api_instance->deliveryReceiptAddLines($deliveryReceiptAddLinesRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptAddLines: ', $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 $deliveryReceiptAddLinesRequest = WWW::OPenAPIClient::Object::DeliveryReceiptAddLinesRequest->new(); # DeliveryReceiptAddLinesRequest | 

eval {
    my $result = $api_instance->deliveryReceiptAddLines(deliveryReceiptAddLinesRequest => $deliveryReceiptAddLinesRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptAddLines: $@\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()
deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0} # DeliveryReceiptAddLinesRequest |  (optional)

try:
    # DeliveryReceipt_AddLines
    api_response = api_instance.delivery_receipt_add_lines(deliveryReceiptAddLinesRequest=deliveryReceiptAddLinesRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptAddLines: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptAddLinesRequest = {"ID":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptAddLinesRequest

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptAddLinesRequest

Responses


deliveryReceiptCreateUsingPurchaseOrderLines

DeliveryReceipt_CreateUsingPurchaseOrderLines


/DeliveryReceipt/purchaseorderlines

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/DeliveryReceipt/purchaseorderlines" \
 -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();
        ActionRequestSupplierTransUsingTransLines actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestSupplierTransUsingTransLines | 

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

final api_instance = DefaultApi();

final ActionRequestSupplierTransUsingTransLines actionRequestSupplierTransUsingTransLines = new ActionRequestSupplierTransUsingTransLines(); // ActionRequestSupplierTransUsingTransLines | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestSupplierTransUsingTransLines actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestSupplierTransUsingTransLines | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestSupplierTransUsingTransLines *actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_CreateUsingPurchaseOrderLines
[apiInstance deliveryReceiptCreateUsingPurchaseOrderLinesWith:actionRequestSupplierTransUsingTransLines
              completionHandler: ^(ActionResults_DeliveryReceiptT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'actionRequestSupplierTransUsingTransLines': {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestSupplierTransUsingTransLines} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestSupplierTransUsingTransLines | 

try {
    $result = $api_instance->deliveryReceiptCreateUsingPurchaseOrderLines($actionRequestSupplierTransUsingTransLines);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptCreateUsingPurchaseOrderLines: ', $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 $actionRequestSupplierTransUsingTransLines = WWW::OPenAPIClient::Object::ActionRequestSupplierTransUsingTransLines->new(); # ActionRequestSupplierTransUsingTransLines | 

eval {
    my $result = $api_instance->deliveryReceiptCreateUsingPurchaseOrderLines(actionRequestSupplierTransUsingTransLines => $actionRequestSupplierTransUsingTransLines);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptCreateUsingPurchaseOrderLines: $@\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()
actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestSupplierTransUsingTransLines |  (optional)

try:
    # DeliveryReceipt_CreateUsingPurchaseOrderLines
    api_response = api_instance.delivery_receipt_create_using_purchase_order_lines(actionRequestSupplierTransUsingTransLines=actionRequestSupplierTransUsingTransLines)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptCreateUsingPurchaseOrderLines: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let actionRequestSupplierTransUsingTransLines = {"Value":{"WarehouseID":0,"SupplierID":0,"RefNumber":"string","TransID":0,"LineIDs":[0],"TransDate":"string","DueDate":"string","ExpectedTotalInc":0,"ExpectedTotalTax":0,"PriceEntryMode":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestSupplierTransUsingTransLines

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

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

Scopes

Parameters

Body parameters
Name Description
actionRequestSupplierTransUsingTransLines

Responses


deliveryReceiptDelete

DeliveryReceipt_Delete


/DeliveryReceipt/Delete

Usage and SDK Samples

curl -X DELETE \
 -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/DeliveryReceipt/Delete" \
 -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();
        ActionRequestInt32 actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

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

final api_instance = DefaultApi();

final ActionRequestInt32 actionRequestInt32 = new ActionRequestInt32(); // ActionRequestInt32 | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestInt32 actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestInt32 *actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_Delete
[apiInstance deliveryReceiptDeleteWith:actionRequestInt32
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'actionRequestInt32': {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestInt32} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

try {
    $result = $api_instance->deliveryReceiptDelete($actionRequestInt32);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptDelete: ', $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 $actionRequestInt32 = WWW::OPenAPIClient::Object::ActionRequestInt32->new(); # ActionRequestInt32 | 

eval {
    my $result = $api_instance->deliveryReceiptDelete(actionRequestInt32 => $actionRequestInt32);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptDelete: $@\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()
actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestInt32 |  (optional)

try:
    # DeliveryReceipt_Delete
    api_response = api_instance.delivery_receipt_delete(actionRequestInt32=actionRequestInt32)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32

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

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

Scopes

Parameters

Body parameters
Name Description
actionRequestInt32

Responses


deliveryReceiptDeleteAttachment

DeliveryReceipt_DeleteAttachment


/DeliveryReceipt/attachments

Usage and SDK Samples

curl -X DELETE \
 -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/DeliveryReceipt/attachments" \
 -d '{
  "AttachmentType" : "AttachmentType",
  "LineID" : 5,
  "IsActive" : true,
  "ThumbnailURI" : "ThumbnailURI",
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "Title" : "Title",
  "IsImage" : true,
  "URI" : "URI",
  "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "Caption" : "Caption",
  "GUIDstring" : "GUIDstring",
  "IsPDF" : true,
  "IsFromParent" : true,
  "ID" : 0,
  "AttachedByUserID" : 1,
  "MessageID" : 6
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<BusTransAttachmentT>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <Title>aeiou</Title>
  <IsImage>true</IsImage>
  <IsPDF>true</IsPDF>
  <ID>123</ID>
  <GUIDstring>aeiou</GUIDstring>
  <MessageID>123</MessageID>
  <URI>aeiou</URI>
  <AttachedByUserID>123</AttachedByUserID>
  <AttachedDateTime_utc>2000-01-23T04:56:07.000Z</AttachedDateTime_utc>
  <IsActive>true</IsActive>
  <Caption>aeiou</Caption>
  <ThumbnailURI>aeiou</ThumbnailURI>
  <AttachmentType>aeiou</AttachmentType>
  <IsFromParent>true</IsFromParent>
  <LineID>123</LineID>
</BusTransAttachmentT>' \
 -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();
        BusTransAttachmentT busTransAttachmentT = {"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}; // BusTransAttachmentT | 

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

final api_instance = DefaultApi();

final BusTransAttachmentT busTransAttachmentT = new BusTransAttachmentT(); // BusTransAttachmentT | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BusTransAttachmentT busTransAttachmentT = {"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}; // BusTransAttachmentT | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
BusTransAttachmentT *busTransAttachmentT = {"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}; //  (optional)

// DeliveryReceipt_DeleteAttachment
[apiInstance deliveryReceiptDeleteAttachmentWith:busTransAttachmentT
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'busTransAttachmentT': {"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} // {BusTransAttachmentT} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$busTransAttachmentT = {"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}; // BusTransAttachmentT | 

try {
    $result = $api_instance->deliveryReceiptDeleteAttachment($busTransAttachmentT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptDeleteAttachment: ', $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 $busTransAttachmentT = WWW::OPenAPIClient::Object::BusTransAttachmentT->new(); # BusTransAttachmentT | 

eval {
    my $result = $api_instance->deliveryReceiptDeleteAttachment(busTransAttachmentT => $busTransAttachmentT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptDeleteAttachment: $@\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()
busTransAttachmentT = {"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} # BusTransAttachmentT |  (optional)

try:
    # DeliveryReceipt_DeleteAttachment
    api_response = api_instance.delivery_receipt_delete_attachment(busTransAttachmentT=busTransAttachmentT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptDeleteAttachment: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let busTransAttachmentT = {"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}; // BusTransAttachmentT

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

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

Scopes

Parameters

Body parameters
Name Description
busTransAttachmentT

Responses


deliveryReceiptGet

DeliveryReceipt_Get


/DeliveryReceipt/Get

Usage and SDK Samples

curl -X PUT \
 -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/DeliveryReceipt/Get" \
 -d '{
  "ParentID" : 7,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 2,
  "SortField" : "SortField",
  "WarehouseID" : 6,
  "IsExactMatch" : true,
  "CategoryIDs" : [ 4, 4 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "SupplierID" : 0,
  "TenantID" : 1,
  "IgnoreID" : 2,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 5,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 1,
  "LinkedSupplierID" : 1,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 3,
  "WebsiteID" : 4,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 7, 7 ],
  "LastRowNumber" : 6,
  "MaxResults" : 7,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "CreatedByUserID" : 1,
  "Statuses" : [ 5, 5 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 1, 1 ],
  "IsSystem" : true,
  "ModifiedByUserID" : 5,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 9
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptEditRequest>
  <SupplierID>123</SupplierID>
  <WarehouseID>123</WarehouseID>
  <CreatedByUserID>123</CreatedByUserID>
  <ModifiedByUserID>123</ModifiedByUserID>
  <Statuses>123</Statuses>
  <StatusStrings>aeiou</StatusStrings>
  <Status>aeiou</Status>
  <SearchString>aeiou</SearchString>
  <SearchNameOnly>true</SearchNameOnly>
  <Search>aeiou</Search>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <DatePeriod>aeiou</DatePeriod>
  <IsExactMatch>true</IsExactMatch>
  <IsGetBasicInfo>true</IsGetBasicInfo>
  <IncludeDeleted>true</IncludeDeleted>
  <IncludeLogs>true</IncludeLogs>
  <IgnoreID>123</IgnoreID>
  <ParentID>123</ParentID>
  <GetCountOnly>true</GetCountOnly>
  <TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
  <CategoryID>123</CategoryID>
  <AdaptorID>123</AdaptorID>
  <CategoryIDs>123</CategoryIDs>
  <BrandIDs>123</BrandIDs>
  <IDs>123</IDs>
  <GUIDs>aeiou</GUIDs>
  <LinkedSupplierID>123</LinkedSupplierID>
  <IsApprovedForPOS>true</IsApprovedForPOS>
  <IsApprovedForWeb>true</IsApprovedForWeb>
  <IsApprovedForService>true</IsApprovedForService>
  <ID>123</ID>
  <IsHierarchicalSort>true</IsHierarchicalSort>
  <Types>aeiou</Types>
  <IsShowFavourites>true</IsShowFavourites>
  <IsHidden>true</IsHidden>
  <IncludeSystemTasks>true</IncludeSystemTasks>
  <IsSystem>true</IsSystem>
  <BatchStatus>aeiou</BatchStatus>
  <SortField>aeiou</SortField>
  <SortAsc>true</SortAsc>
  <GroupBy>aeiou</GroupBy>
  <LastRowNumber>123456789</LastRowNumber>
  <MaxResults>123</MaxResults>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</DeliveryReceiptEditRequest>' \
 -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();
        DeliveryReceiptEditRequest deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptEditRequest | 

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

final api_instance = DefaultApi();

final DeliveryReceiptEditRequest deliveryReceiptEditRequest = new DeliveryReceiptEditRequest(); // DeliveryReceiptEditRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptEditRequest deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptEditRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptEditRequest *deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_Get
[apiInstance deliveryReceiptGetWith:deliveryReceiptEditRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptEditRequest': {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {DeliveryReceiptEditRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptEditRequest | 

try {
    $result = $api_instance->deliveryReceiptGet($deliveryReceiptEditRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptGet: ', $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 $deliveryReceiptEditRequest = WWW::OPenAPIClient::Object::DeliveryReceiptEditRequest->new(); # DeliveryReceiptEditRequest | 

eval {
    my $result = $api_instance->deliveryReceiptGet(deliveryReceiptEditRequest => $deliveryReceiptEditRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptGet: $@\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()
deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} # DeliveryReceiptEditRequest |  (optional)

try:
    # DeliveryReceipt_Get
    api_response = api_instance.delivery_receipt_get(deliveryReceiptEditRequest=deliveryReceiptEditRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptEditRequest = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptEditRequest

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptEditRequest

Responses


deliveryReceiptGetSupplierReceiptLines

DeliveryReceipt_GetSupplierReceiptLines


/DeliveryReceipt/supplierreceiptlines

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/DeliveryReceipt/supplierreceiptlines?filter.supplierID=56&filter.warehouseID=56&filter.transIDs=&filter.sortField=filterPeriodsortField_example&filter.searchString=filterPeriodsearchString_example&filter.sortAsc=true&filter.startRow=56&filter.maxResults=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();
        Integer filterPeriodsupplierID = 56; // Integer | Format - int32.
        Integer filterPeriodwarehouseID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodtransIDs = ; // array[Integer] | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        Integer filterPeriodstartRow = 56; // Integer | Format - int32.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.

        try {
            PagedActionResults_SupplierTransLineGroupT_ result = apiInstance.deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deliveryReceiptGetSupplierReceiptLines");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer filterPeriodsupplierID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodwarehouseID = new Integer(); // Integer | Format - int32.
final array[Integer] filterPeriodtransIDs = new array[Integer](); // array[Integer] | 
final String filterPeriodsortField = new String(); // String | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final Integer filterPeriodstartRow = new Integer(); // Integer | Format - int32.
final Integer filterPeriodmaxResults = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deliveryReceiptGetSupplierReceiptLines: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer filterPeriodsupplierID = 56; // Integer | Format - int32.
        Integer filterPeriodwarehouseID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodtransIDs = ; // array[Integer] | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        Integer filterPeriodstartRow = 56; // Integer | Format - int32.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.

        try {
            PagedActionResults_SupplierTransLineGroupT_ result = apiInstance.deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deliveryReceiptGetSupplierReceiptLines");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *filterPeriodsupplierID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodwarehouseID = 56; // Format - int32. (optional) (default to null)
array[Integer] *filterPeriodtransIDs = ; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
Integer *filterPeriodstartRow = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodmaxResults = 56; // Format - int32. (optional) (default to null)

// DeliveryReceipt_GetSupplierReceiptLines
[apiInstance deliveryReceiptGetSupplierReceiptLinesWith:filterPeriodsupplierID
    filterPeriodwarehouseID:filterPeriodwarehouseID
    filterPeriodtransIDs:filterPeriodtransIDs
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodstartRow:filterPeriodstartRow
    filterPeriodmaxResults:filterPeriodmaxResults
              completionHandler: ^(PagedActionResults_SupplierTransLineGroupT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'filterPeriodsupplierID': 56, // {Integer} Format - int32.
  'filterPeriodwarehouseID': 56, // {Integer} Format - int32.
  'filterPeriodtransIDs': , // {array[Integer]} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodstartRow': 56, // {Integer} Format - int32.
  'filterPeriodmaxResults': 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.deliveryReceiptGetSupplierReceiptLines(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodsupplierID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodwarehouseID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodtransIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodstartRow = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // DeliveryReceipt_GetSupplierReceiptLines
                PagedActionResults_SupplierTransLineGroupT_ result = apiInstance.deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.deliveryReceiptGetSupplierReceiptLines: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodsupplierID = 56; // Integer | Format - int32.
$filterPeriodwarehouseID = 56; // Integer | Format - int32.
$filterPeriodtransIDs = ; // array[Integer] | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodstartRow = 56; // Integer | Format - int32.
$filterPeriodmaxResults = 56; // Integer | Format - int32.

try {
    $result = $api_instance->deliveryReceiptGetSupplierReceiptLines($filterPeriodsupplierID, $filterPeriodwarehouseID, $filterPeriodtransIDs, $filterPeriodsortField, $filterPeriodsearchString, $filterPeriodsortAsc, $filterPeriodstartRow, $filterPeriodmaxResults);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptGetSupplierReceiptLines: ', $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 $filterPeriodsupplierID = 56; # Integer | Format - int32.
my $filterPeriodwarehouseID = 56; # Integer | Format - int32.
my $filterPeriodtransIDs = []; # array[Integer] | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodstartRow = 56; # Integer | Format - int32.
my $filterPeriodmaxResults = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID => $filterPeriodsupplierID, filterPeriodwarehouseID => $filterPeriodwarehouseID, filterPeriodtransIDs => $filterPeriodtransIDs, filterPeriodsortField => $filterPeriodsortField, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodstartRow => $filterPeriodstartRow, filterPeriodmaxResults => $filterPeriodmaxResults);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptGetSupplierReceiptLines: $@\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()
filterPeriodsupplierID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodwarehouseID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodtransIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodstartRow = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # DeliveryReceipt_GetSupplierReceiptLines
    api_response = api_instance.delivery_receipt_get_supplier_receipt_lines(filterPeriodsupplierID=filterPeriodsupplierID, filterPeriodwarehouseID=filterPeriodwarehouseID, filterPeriodtransIDs=filterPeriodtransIDs, filterPeriodsortField=filterPeriodsortField, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodstartRow=filterPeriodstartRow, filterPeriodmaxResults=filterPeriodmaxResults)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptGetSupplierReceiptLines: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodsupplierID = 56; // Integer
    let filterPeriodwarehouseID = 56; // Integer
    let filterPeriodtransIDs = ; // array[Integer]
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodstartRow = 56; // Integer
    let filterPeriodmaxResults = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.deliveryReceiptGetSupplierReceiptLines(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
filter.supplierID
Integer (int32)
Format - int32.
filter.warehouseID
Integer (int32)
Format - int32.
filter.transIDs
array[Integer] (int32)
filter.sortField
String
filter.searchString
String
filter.sortAsc
Boolean
filter.startRow
Integer (int32)
Format - int32.
filter.maxResults
Integer (int32)
Format - int32.

Responses


deliveryReceiptGetSupplierReceipts

DeliveryReceipt_GetSupplierReceipts


/DeliveryReceipt/supplierreceipts

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/DeliveryReceipt/supplierreceipts?filter.supplierID=56&filter.warehouseID=56&filter.transIDs=&filter.sortField=filterPeriodsortField_example&filter.searchString=filterPeriodsearchString_example&filter.sortAsc=true&filter.startRow=56&filter.maxResults=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();
        Integer filterPeriodsupplierID = 56; // Integer | Format - int32.
        Integer filterPeriodwarehouseID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodtransIDs = ; // array[Integer] | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        Integer filterPeriodstartRow = 56; // Integer | Format - int32.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.

        try {
            PagedActionResults_SupplierTransGroups_ result = apiInstance.deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deliveryReceiptGetSupplierReceipts");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer filterPeriodsupplierID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodwarehouseID = new Integer(); // Integer | Format - int32.
final array[Integer] filterPeriodtransIDs = new array[Integer](); // array[Integer] | 
final String filterPeriodsortField = new String(); // String | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final Integer filterPeriodstartRow = new Integer(); // Integer | Format - int32.
final Integer filterPeriodmaxResults = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deliveryReceiptGetSupplierReceipts: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer filterPeriodsupplierID = 56; // Integer | Format - int32.
        Integer filterPeriodwarehouseID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodtransIDs = ; // array[Integer] | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        Integer filterPeriodstartRow = 56; // Integer | Format - int32.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.

        try {
            PagedActionResults_SupplierTransGroups_ result = apiInstance.deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deliveryReceiptGetSupplierReceipts");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *filterPeriodsupplierID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodwarehouseID = 56; // Format - int32. (optional) (default to null)
array[Integer] *filterPeriodtransIDs = ; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
Integer *filterPeriodstartRow = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodmaxResults = 56; // Format - int32. (optional) (default to null)

// DeliveryReceipt_GetSupplierReceipts
[apiInstance deliveryReceiptGetSupplierReceiptsWith:filterPeriodsupplierID
    filterPeriodwarehouseID:filterPeriodwarehouseID
    filterPeriodtransIDs:filterPeriodtransIDs
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodstartRow:filterPeriodstartRow
    filterPeriodmaxResults:filterPeriodmaxResults
              completionHandler: ^(PagedActionResults_SupplierTransGroups_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'filterPeriodsupplierID': 56, // {Integer} Format - int32.
  'filterPeriodwarehouseID': 56, // {Integer} Format - int32.
  'filterPeriodtransIDs': , // {array[Integer]} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodstartRow': 56, // {Integer} Format - int32.
  'filterPeriodmaxResults': 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.deliveryReceiptGetSupplierReceipts(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodsupplierID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodwarehouseID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodtransIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodstartRow = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // DeliveryReceipt_GetSupplierReceipts
                PagedActionResults_SupplierTransGroups_ result = apiInstance.deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.deliveryReceiptGetSupplierReceipts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodsupplierID = 56; // Integer | Format - int32.
$filterPeriodwarehouseID = 56; // Integer | Format - int32.
$filterPeriodtransIDs = ; // array[Integer] | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodstartRow = 56; // Integer | Format - int32.
$filterPeriodmaxResults = 56; // Integer | Format - int32.

try {
    $result = $api_instance->deliveryReceiptGetSupplierReceipts($filterPeriodsupplierID, $filterPeriodwarehouseID, $filterPeriodtransIDs, $filterPeriodsortField, $filterPeriodsearchString, $filterPeriodsortAsc, $filterPeriodstartRow, $filterPeriodmaxResults);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptGetSupplierReceipts: ', $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 $filterPeriodsupplierID = 56; # Integer | Format - int32.
my $filterPeriodwarehouseID = 56; # Integer | Format - int32.
my $filterPeriodtransIDs = []; # array[Integer] | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodstartRow = 56; # Integer | Format - int32.
my $filterPeriodmaxResults = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID => $filterPeriodsupplierID, filterPeriodwarehouseID => $filterPeriodwarehouseID, filterPeriodtransIDs => $filterPeriodtransIDs, filterPeriodsortField => $filterPeriodsortField, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodstartRow => $filterPeriodstartRow, filterPeriodmaxResults => $filterPeriodmaxResults);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptGetSupplierReceipts: $@\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()
filterPeriodsupplierID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodwarehouseID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodtransIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodstartRow = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # DeliveryReceipt_GetSupplierReceipts
    api_response = api_instance.delivery_receipt_get_supplier_receipts(filterPeriodsupplierID=filterPeriodsupplierID, filterPeriodwarehouseID=filterPeriodwarehouseID, filterPeriodtransIDs=filterPeriodtransIDs, filterPeriodsortField=filterPeriodsortField, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodstartRow=filterPeriodstartRow, filterPeriodmaxResults=filterPeriodmaxResults)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptGetSupplierReceipts: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodsupplierID = 56; // Integer
    let filterPeriodwarehouseID = 56; // Integer
    let filterPeriodtransIDs = ; // array[Integer]
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodstartRow = 56; // Integer
    let filterPeriodmaxResults = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.deliveryReceiptGetSupplierReceipts(filterPeriodsupplierID, filterPeriodwarehouseID, filterPeriodtransIDs, filterPeriodsortField, filterPeriodsearchString, filterPeriodsortAsc, filterPeriodstartRow, filterPeriodmaxResults, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
filter.supplierID
Integer (int32)
Format - int32.
filter.warehouseID
Integer (int32)
Format - int32.
filter.transIDs
array[Integer] (int32)
filter.sortField
String
filter.searchString
String
filter.sortAsc
Boolean
filter.startRow
Integer (int32)
Format - int32.
filter.maxResults
Integer (int32)
Format - int32.

Responses


deliveryReceiptSave

DeliveryReceipt_Save


/DeliveryReceipt/Save

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/DeliveryReceipt/Save" \
 -d '{
  "Warehouse" : {
    "Description" : "Description",
    "IsActive" : true,
    "TotalNumberOfDistinctProducts" : 4,
    "Users" : [ {
      "FirstName" : "FirstName",
      "IsActive" : true,
      "PositionOrOccupation" : "PositionOrOccupation",
      "EmailAddress" : "EmailAddress",
      "GUIDstring" : "GUIDstring",
      "PhoneMobile" : "PhoneMobile",
      "IsPrimaryContact" : true,
      "Phone1" : "Phone1",
      "BSID" : "BSID",
      "IsEmployee" : true,
      "CreatedWith" : "CreatedWith",
      "ID" : 5,
      "LastName" : "LastName"
    }, {
      "FirstName" : "FirstName",
      "IsActive" : true,
      "PositionOrOccupation" : "PositionOrOccupation",
      "EmailAddress" : "EmailAddress",
      "GUIDstring" : "GUIDstring",
      "PhoneMobile" : "PhoneMobile",
      "IsPrimaryContact" : true,
      "Phone1" : "Phone1",
      "BSID" : "BSID",
      "IsEmployee" : true,
      "CreatedWith" : "CreatedWith",
      "ID" : 5,
      "LastName" : "LastName"
    } ],
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "Version" : 9.965781217890562,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 3,
      "LastExportDateTime_offset" : 6,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 1,
      "ID" : 9,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 3,
      "LastExportDateTime_offset" : 6,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 1,
      "ID" : 9,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "WarehouseTypeID" : 8,
    "ID" : 9,
    "DefaultPOSCustomerName" : "DefaultPOSCustomerName",
    "MinimumStockHoldingValue" : 3.0205796992916243,
    "IsDefault" : true,
    "DefaultPOSCustomerID" : 7,
    "TenantLocationName" : "TenantLocationName",
    "Code" : "Code",
    "TotalStockValue" : 7.740351818741173,
    "RowNumber" : 5,
    "BSID" : "BSID",
    "MaximumStockHoldingValue" : 3.0576100241049344,
    "TenantLocationID" : 6,
    "Barcode" : "Barcode",
    "WarehouseType" : {
      "Description" : "Description",
      "WarehouseTypeID" : 0,
      "ID" : 6,
      "IsVirtual" : true,
      "Name" : "Name",
      "RefNumberPrefix" : "RefNumberPrefix"
    },
    "TotalSOH" : 8.969578798196912,
    "IsSystem" : true,
    "CostCentreCode" : "CostCentreCode",
    "Location" : {
      "IsActive" : true,
      "TimeZoneName" : "TimeZoneName",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "EmailAddress" : "EmailAddress",
      "Name" : "Name",
      "LocationName" : "LocationName",
      "GUIDstring" : "GUIDstring",
      "Addresses" : [ {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 0,
        "Latitude" : 3.0937452626664474,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 3,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 7.143538047012306,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 7,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      }, {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 0,
        "Latitude" : 3.0937452626664474,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 3,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 7.143538047012306,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 7,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      } ],
      "UtcOffset" : 6,
      "IsVisibleToPublic" : true,
      "Contacts" : [ {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 6,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 6,
        "LastName" : "LastName",
        "BusinessID" : 5
      }, {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 6,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 6,
        "LastName" : "LastName",
        "BusinessID" : 5
      } ],
      "Phone" : "Phone",
      "IsSystem" : true,
      "ID" : 2,
      "Fax" : "Fax",
      "IsDefaultLocation" : true
    },
    "IsStockOpeningBalanceComplete" : true
  },
  "IsActive" : true,
  "DeliveryDate" : "2000-01-23T04:56:07.000+00:00",
  "WarehouseID" : 4,
  "LineCount" : 0,
  "Attachments" : [ {
    "AttachmentType" : "AttachmentType",
    "LineID" : 5,
    "IsActive" : true,
    "ThumbnailURI" : "ThumbnailURI",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Title" : "Title",
    "IsImage" : true,
    "URI" : "URI",
    "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "Caption" : "Caption",
    "GUIDstring" : "GUIDstring",
    "IsPDF" : true,
    "IsFromParent" : true,
    "ID" : 0,
    "AttachedByUserID" : 1,
    "MessageID" : 6
  }, {
    "AttachmentType" : "AttachmentType",
    "LineID" : 5,
    "IsActive" : true,
    "ThumbnailURI" : "ThumbnailURI",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Title" : "Title",
    "IsImage" : true,
    "URI" : "URI",
    "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "Caption" : "Caption",
    "GUIDstring" : "GUIDstring",
    "IsPDF" : true,
    "IsFromParent" : true,
    "ID" : 0,
    "AttachedByUserID" : 1,
    "MessageID" : 6
  } ],
  "TotalLines" : 4,
  "GUIDstring" : "GUIDstring",
  "SupplierID" : 1,
  "TenantID" : 5,
  "SupplierDeliveryNoteGUID" : "SupplierDeliveryNoteGUID",
  "PurchaseOrderID" : 5,
  "CreatedByUserName" : "CreatedByUserName",
  "PurchaseInvoiceID" : 6,
  "ID" : 1,
  "CompletedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "IsReadOnly" : true,
  "StartedDateTime_offset" : 4,
  "ModifiedDateTime_offset" : 1,
  "Status" : "Status",
  "CompletedByUserID" : 9,
  "PurchaseOrders" : [ {
    "Status" : "Status",
    "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
    "DatTypeString" : "DatTypeString",
    "ShortDatTypeString" : "ShortDatTypeString",
    "Description" : "Description",
    "Issues" : "Issues",
    "RefNumber" : "RefNumber",
    "AppliedAmount" : 9.132027271330688,
    "DatTypeID" : 6,
    "TotalInc" : 4.258773108174356,
    "LineCount" : 1,
    "TransSubType" : "TransSubType",
    "QuantityCount" : 4.678947989005849,
    "GUIDstring" : "GUIDstring",
    "TotalEx" : 7.260521264802104,
    "RecipientName" : "RecipientName",
    "ID" : 0
  }, {
    "Status" : "Status",
    "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
    "DatTypeString" : "DatTypeString",
    "ShortDatTypeString" : "ShortDatTypeString",
    "Description" : "Description",
    "Issues" : "Issues",
    "RefNumber" : "RefNumber",
    "AppliedAmount" : 9.132027271330688,
    "DatTypeID" : 6,
    "TotalInc" : 4.258773108174356,
    "LineCount" : 1,
    "TransSubType" : "TransSubType",
    "QuantityCount" : 4.678947989005849,
    "GUIDstring" : "GUIDstring",
    "TotalEx" : 7.260521264802104,
    "RecipientName" : "RecipientName",
    "ID" : 0
  } ],
  "PickSlipID" : 7,
  "RefNumber" : "RefNumber",
  "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "NoteFromSupplier" : "NoteFromSupplier",
  "InternalNote" : "InternalNote",
  "CompletedByUserName" : "CompletedByUserName",
  "StartedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "ModifiedByUserName" : "ModifiedByUserName",
  "ExpectedItemsCount" : 3,
  "RowNumber" : 6,
  "CreatedByUserID" : 2,
  "BSID" : "BSID",
  "StartedByUserName" : "StartedByUserName",
  "SupplierName" : "SupplierName",
  "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "StartedByUserID" : 2,
  "StockReplenishmentID" : 1,
  "DeliveryNoteID" : 1,
  "ModifiedByUserID" : 7,
  "CompletedDateTime_offset" : 3,
  "FriendlyStatus" : "FriendlyStatus",
  "CreatedDateTime_offset" : 7,
  "Lines" : [ {
    "Description" : "Description",
    "ReceiveInventoryBatchID" : 5,
    "CostPriceEx" : 7.386281948385884,
    "IsActive" : true,
    "StockReplenishmentLineID" : 4,
    "InventoryID" : 1,
    "ShortDescription" : "ShortDescription",
    "QuantityToBeReceived" : 1.1730742509559433,
    "GUIDstring" : "GUIDstring",
    "UoM" : "UoM",
    "ReceivedByUserID" : 2,
    "ReceiveComment" : "ReceiveComment",
    "SequenceNumber" : 9,
    "QuantityIncorrect" : 7.457744773683766,
    "ID" : 6,
    "AssetID" : 3,
    "Comment" : "Comment",
    "InventoryCode" : "InventoryCode",
    "InventoryGUIDstring" : "InventoryGUIDstring",
    "InventoryType" : "InventoryType",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "UoMDescription" : "UoMDescription",
    "ReceiveWarehouseLocationID" : 5,
    "ReceivedDateTime_offset" : 7,
    "ReceivedByUserName" : "ReceivedByUserName",
    "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "EAN" : "EAN",
    "IsStockAdjustmentComplete" : true,
    "QuantityFaulty" : 1.4894159098541704,
    "Barcode" : "Barcode",
    "QuantityOrdered" : 1.2315135367772556,
    "QuantityReceived" : 1.0246457001441578,
    "QuantityOutOfDate" : 6.84685269835264,
    "SKU" : "SKU",
    "IsAssetItem" : true,
    "PurchaseOrderLineID" : 2
  }, {
    "Description" : "Description",
    "ReceiveInventoryBatchID" : 5,
    "CostPriceEx" : 7.386281948385884,
    "IsActive" : true,
    "StockReplenishmentLineID" : 4,
    "InventoryID" : 1,
    "ShortDescription" : "ShortDescription",
    "QuantityToBeReceived" : 1.1730742509559433,
    "GUIDstring" : "GUIDstring",
    "UoM" : "UoM",
    "ReceivedByUserID" : 2,
    "ReceiveComment" : "ReceiveComment",
    "SequenceNumber" : 9,
    "QuantityIncorrect" : 7.457744773683766,
    "ID" : 6,
    "AssetID" : 3,
    "Comment" : "Comment",
    "InventoryCode" : "InventoryCode",
    "InventoryGUIDstring" : "InventoryGUIDstring",
    "InventoryType" : "InventoryType",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "UoMDescription" : "UoMDescription",
    "ReceiveWarehouseLocationID" : 5,
    "ReceivedDateTime_offset" : 7,
    "ReceivedByUserName" : "ReceivedByUserName",
    "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "EAN" : "EAN",
    "IsStockAdjustmentComplete" : true,
    "QuantityFaulty" : 1.4894159098541704,
    "Barcode" : "Barcode",
    "QuantityOrdered" : 1.2315135367772556,
    "QuantityReceived" : 1.0246457001441578,
    "QuantityOutOfDate" : 6.84685269835264,
    "SKU" : "SKU",
    "IsAssetItem" : true,
    "PurchaseOrderLineID" : 2
  } ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptT>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <IsReadOnly>true</IsReadOnly>
  <LineCount>123</LineCount>
  <FriendlyStatus>aeiou</FriendlyStatus>
  <BusTransAttachmentT>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <Title>aeiou</Title>
    <IsImage>true</IsImage>
    <IsPDF>true</IsPDF>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <MessageID>123</MessageID>
    <URI>aeiou</URI>
    <AttachedByUserID>123</AttachedByUserID>
    <AttachedDateTime_utc>2000-01-23T04:56:07.000Z</AttachedDateTime_utc>
    <IsActive>true</IsActive>
    <Caption>aeiou</Caption>
    <ThumbnailURI>aeiou</ThumbnailURI>
    <AttachmentType>aeiou</AttachmentType>
    <IsFromParent>true</IsFromParent>
    <LineID>123</LineID>
  </BusTransAttachmentT>
  <RowNumber>123</RowNumber>
  <ID>123</ID>
  <PurchaseOrderID>123</PurchaseOrderID>
  <TenantID>123</TenantID>
  <GUIDstring>aeiou</GUIDstring>
  <RefNumber>aeiou</RefNumber>
  <IsActive>true</IsActive>
  <Status>aeiou</Status>
  <BSID>aeiou</BSID>
  <DeliveryDate>2000-01-23T04:56:07.000Z</DeliveryDate>
  <CreatedByUserID>123</CreatedByUserID>
  <CreatedByUserName>aeiou</CreatedByUserName>
  <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
  <CreatedDateTime_offset>123</CreatedDateTime_offset>
  <CompletedByUserID>123</CompletedByUserID>
  <CompletedByUserName>aeiou</CompletedByUserName>
  <CompletedDateTime_utc>2000-01-23T04:56:07.000Z</CompletedDateTime_utc>
  <CompletedDateTime_offset>123</CompletedDateTime_offset>
  <StartedByUserID>123</StartedByUserID>
  <StartedByUserName>aeiou</StartedByUserName>
  <StartedDateTime_utc>2000-01-23T04:56:07.000Z</StartedDateTime_utc>
  <StartedDateTime_offset>123</StartedDateTime_offset>
  <ModifiedByUserID>123</ModifiedByUserID>
  <ModifiedByUserName>aeiou</ModifiedByUserName>
  <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
  <ModifiedDateTime_offset>123</ModifiedDateTime_offset>
  <SupplierID>123</SupplierID>
  <SupplierName>aeiou</SupplierName>
  <SupplierDeliveryNoteGUID>aeiou</SupplierDeliveryNoteGUID>
  <NoteFromSupplier>aeiou</NoteFromSupplier>
  <InternalNote>aeiou</InternalNote>
  <StockReplenishmentID>123</StockReplenishmentID>
  <PurchaseInvoiceID>123</PurchaseInvoiceID>
  <PickSlipID>123</PickSlipID>
  <DeliveryNoteID>123</DeliveryNoteID>
  <WarehouseID>123</WarehouseID>
  <null>
    <IsSystem>true</IsSystem>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <TenantLocationID>123</TenantLocationID>
    <TenantLocationName>aeiou</TenantLocationName>
    <WarehouseTypeID>123</WarehouseTypeID>
    <Code>aeiou</Code>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <Barcode>aeiou</Barcode>
    <IsDefault>true</IsDefault>
    <IsActive>true</IsActive>
    <TotalNumberOfDistinctProducts>123456789</TotalNumberOfDistinctProducts>
    <TotalSOH>3.149</TotalSOH>
    <TotalStockValue>3.149</TotalStockValue>
    <IsStockOpeningBalanceComplete>true</IsStockOpeningBalanceComplete>
    <MinimumStockHoldingValue>3.149</MinimumStockHoldingValue>
    <MaximumStockHoldingValue>3.149</MaximumStockHoldingValue>
    <DefaultPOSCustomerID>123</DefaultPOSCustomerID>
    <DefaultPOSCustomerName>aeiou</DefaultPOSCustomerName>
    <CostCentreCode>aeiou</CostCentreCode>
  </null>
  <ExpectedItemsCount>123</ExpectedItemsCount>
  <TotalLines>123</TotalLines>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <InventoryID>123</InventoryID>
    <InventoryCode>aeiou</InventoryCode>
    <InventoryGUIDstring>aeiou</InventoryGUIDstring>
    <InventoryType>aeiou</InventoryType>
    <Barcode>aeiou</Barcode>
    <EAN>aeiou</EAN>
    <SKU>aeiou</SKU>
    <ShortDescription>aeiou</ShortDescription>
    <Description>aeiou</Description>
    <UoM>aeiou</UoM>
    <UoMDescription>aeiou</UoMDescription>
    <ReceiveWarehouseLocationID>123</ReceiveWarehouseLocationID>
    <ReceiveInventoryBatchID>123</ReceiveInventoryBatchID>
    <IsActive>true</IsActive>
    <ReceivedByUserID>123</ReceivedByUserID>
    <ReceivedByUserName>aeiou</ReceivedByUserName>
    <ReceivedDateTime_utc>2000-01-23T04:56:07.000Z</ReceivedDateTime_utc>
    <ReceivedDateTime_offset>123</ReceivedDateTime_offset>
    <ReceiveComment>aeiou</ReceiveComment>
    <SequenceNumber>123</SequenceNumber>
    <IsAssetItem>true</IsAssetItem>
    <AssetID>123</AssetID>
    <Comment>aeiou</Comment>
    <IsStockAdjustmentComplete>true</IsStockAdjustmentComplete>
    <PurchaseOrderLineID>123</PurchaseOrderLineID>
    <StockReplenishmentLineID>123</StockReplenishmentLineID>
    <CostPriceEx>3.149</CostPriceEx>
    <QuantityOrdered>3.149</QuantityOrdered>
    <QuantityReceived>3.149</QuantityReceived>
    <QuantityFaulty>3.149</QuantityFaulty>
    <QuantityOutOfDate>3.149</QuantityOutOfDate>
    <QuantityIncorrect>3.149</QuantityIncorrect>
    <QuantityToBeReceived>3.149</QuantityToBeReceived>
  </null>
  <null>
    <ShortDatTypeString>aeiou</ShortDatTypeString>
    <DatTypeString>aeiou</DatTypeString>
    <TransSubType>aeiou</TransSubType>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <DatTypeID>123</DatTypeID>
    <Status>aeiou</Status>
    <RefNumber>aeiou</RefNumber>
    <Description>aeiou</Description>
    <TotalInc>3.149</TotalInc>
    <Issues>aeiou</Issues>
    <RecipientName>aeiou</RecipientName>
    <LineCount>123</LineCount>
    <QuantityCount>3.149</QuantityCount>
    <TotalEx>3.149</TotalEx>
    <AppliedAmount>3.149</AppliedAmount>
    <AppliedDate>2000-01-23T04:56:07.000Z</AppliedDate>
  </null>
</DeliveryReceiptT>' \
 -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();
        DeliveryReceiptT deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]}; // DeliveryReceiptT | 

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

final api_instance = DefaultApi();

final DeliveryReceiptT deliveryReceiptT = new DeliveryReceiptT(); // DeliveryReceiptT | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptT deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]}; // DeliveryReceiptT | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptT *deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]}; //  (optional)

// DeliveryReceipt_Save
[apiInstance deliveryReceiptSaveWith:deliveryReceiptT
              completionHandler: ^(ActionResults_IDRefNumber_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptT': {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]} // {DeliveryReceiptT} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]}; // DeliveryReceiptT | 

try {
    $result = $api_instance->deliveryReceiptSave($deliveryReceiptT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptSave: ', $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 $deliveryReceiptT = WWW::OPenAPIClient::Object::DeliveryReceiptT->new(); # DeliveryReceiptT | 

eval {
    my $result = $api_instance->deliveryReceiptSave(deliveryReceiptT => $deliveryReceiptT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptSave: $@\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()
deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]} # DeliveryReceiptT |  (optional)

try:
    # DeliveryReceipt_Save
    api_response = api_instance.delivery_receipt_save(deliveryReceiptT=deliveryReceiptT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptSave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptT = {"GUID":"00000000-0000-0000-0000-000000000000","IsReadOnly":true,"LineCount":0,"FriendlyStatus":"string","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}],"RowNumber":0,"ID":0,"PurchaseOrderID":0,"TenantID":0,"GUIDstring":"string","RefNumber":"string","IsActive":true,"Status":"string","BSID":"string","DeliveryDate":"string","CreatedByUserID":0,"CreatedByUserName":"string","CreatedDateTime_utc":"string","CreatedDateTime_offset":0,"CompletedByUserID":0,"CompletedByUserName":"string","CompletedDateTime_utc":"string","CompletedDateTime_offset":0,"StartedByUserID":0,"StartedByUserName":"string","StartedDateTime_utc":"string","StartedDateTime_offset":0,"ModifiedByUserID":0,"ModifiedByUserName":"string","ModifiedDateTime_utc":"string","ModifiedDateTime_offset":0,"SupplierID":0,"SupplierName":"string","SupplierDeliveryNoteGUID":"string","NoteFromSupplier":"string","InternalNote":"string","StockReplenishmentID":0,"PurchaseInvoiceID":0,"PickSlipID":0,"DeliveryNoteID":0,"WarehouseID":0,"Warehouse":{"IsSystem":true,"RowNumber":0,"Version":0,"ID":0,"GUIDstring":"string","BSID":"string","TenantLocationID":0,"TenantLocationName":"string","WarehouseTypeID":0,"Code":"string","Name":"string","Description":"string","Barcode":"string","IsDefault":true,"IsActive":true,"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"Location":{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","Name":"string","Contacts":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","BusinessName":"string","BusinessContactID":0,"BusinessID":0,"BusinessLocationGuid":"00000000-0000-0000-0000-000000000000","IsSystem":true,"GUIDstring":"string","FirstName":"string","LastName":"string","Phone1":"string","EmailAddress":"string","PhoneMobile":"string","IsPrimaryContact":true,"ContactRole":"string","Gender":"string","Birthday":"string","IsActive":true,"PositionOrOccupation":"string","LinkedUserGlobalIDstring":"string","Title":"string","IsIncludeInEmails":true}],"IsSystem":true,"GUIDstring":"string","IsDefaultLocation":true,"Phone":"string","Fax":"string","EmailAddress":"string","LocationName":"string","IsActive":true,"IsVisibleToPublic":true,"UtcOffset":0,"TimeZoneName":"string","Addresses":[{"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","FullAddress":"string","IsMailTo":true,"IsOfficeOrShop":true,"IsPostalAddress":true,"IsSelectedBilling":true,"IsSelectedDelivery":true,"Latitude":0,"Longitude":0,"LocationID":0,"IsSystem":true,"GUIDstring":"string","AddressType":0,"AddressDescription":"string","StreetAddress":"string","City":"string","PostCode":"string","State":"string","Country":"string","IsDefaultDeliverTo":true,"IsDefaultBilling":true,"IsDefaultServiceTo":true,"IsActive":true,"Notes":"string","IsDeliverTo":true,"IsServiceTo":true}]},"WarehouseType":{"ID":0,"WarehouseTypeID":0,"Name":"string","Description":"string","IsVirtual":true,"RefNumberPrefix":"string"},"TotalNumberOfDistinctProducts":0,"TotalSOH":0,"TotalStockValue":0,"IsStockOpeningBalanceComplete":true,"MinimumStockHoldingValue":0,"MaximumStockHoldingValue":0,"DefaultPOSCustomerID":0,"DefaultPOSCustomerName":"string","CostCentreCode":"string","Users":[{"ID":0,"GUIDstring":"string","BSID":"string","CreatedWith":"string","EmailAddress":"string","FirstName":"string","LastName":"string","IsActive":true,"Phone1":"string","PhoneMobile":"string","PositionOrOccupation":"string","IsPrimaryContact":true,"IsEmployee":true}]},"ExpectedItemsCount":0,"TotalLines":0,"Lines":[{"GUID":"00000000-0000-0000-0000-000000000000","ID":0,"GUIDstring":"string","InventoryID":0,"InventoryCode":"string","InventoryGUIDstring":"string","InventoryType":"string","Barcode":"string","EAN":"string","SKU":"string","ShortDescription":"string","Description":"string","UoM":"string","UoMDescription":"string","ReceiveWarehouseLocationID":0,"ReceiveInventoryBatchID":0,"IsActive":true,"ReceivedByUserID":0,"ReceivedByUserName":"string","ReceivedDateTime_utc":"string","ReceivedDateTime_offset":0,"ReceiveComment":"string","SequenceNumber":0,"IsAssetItem":true,"AssetID":0,"Comment":"string","IsStockAdjustmentComplete":true,"PurchaseOrderLineID":0,"StockReplenishmentLineID":0,"CostPriceEx":0,"QuantityOrdered":0,"QuantityReceived":0,"QuantityFaulty":0,"QuantityOutOfDate":0,"QuantityIncorrect":0,"QuantityToBeReceived":0}],"PurchaseOrders":[{"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"}]}; // DeliveryReceiptT

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptT

Responses


deliveryReceiptSaveAttachments

DeliveryReceipt_SaveAttachments


/DeliveryReceipt/attachments

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/DeliveryReceipt/attachments"
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();

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

final api_instance = DefaultApi();


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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[FileDetails] result = apiInstance.deliveryReceiptSaveAttachments();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deliveryReceiptSaveAttachments");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// DeliveryReceipt_SaveAttachments
[apiInstance deliveryReceiptSaveAttachmentsWithCompletionHandler: 
              ^(array[FileDetails] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deliveryReceiptSaveAttachments(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

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

            try {
                // DeliveryReceipt_SaveAttachments
                array[FileDetails] result = apiInstance.deliveryReceiptSaveAttachments();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.deliveryReceiptSaveAttachments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->deliveryReceiptSaveAttachments();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptSaveAttachments: ', $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();

eval {
    my $result = $api_instance->deliveryReceiptSaveAttachments();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptSaveAttachments: $@\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()

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

pub fn main() {

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

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

Scopes

Parameters

Responses


deliveryReceiptSearch

DeliveryReceipt_Search


/DeliveryReceipt/Search

Usage and SDK Samples

curl -X PUT \
 -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/DeliveryReceipt/Search" \
 -d '{
  "ParentID" : 7,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 2,
  "SortField" : "SortField",
  "WarehouseID" : 6,
  "IsExactMatch" : true,
  "CategoryIDs" : [ 4, 4 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "SupplierID" : 0,
  "TenantID" : 1,
  "IgnoreID" : 2,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 5,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 1,
  "LinkedSupplierID" : 1,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 3,
  "WebsiteID" : 4,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 7, 7 ],
  "LastRowNumber" : 6,
  "MaxResults" : 7,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "CreatedByUserID" : 1,
  "Statuses" : [ 5, 5 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 1, 1 ],
  "IsSystem" : true,
  "ModifiedByUserID" : 5,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 9
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptFilter>
  <SupplierID>123</SupplierID>
  <WarehouseID>123</WarehouseID>
  <CreatedByUserID>123</CreatedByUserID>
  <ModifiedByUserID>123</ModifiedByUserID>
  <Statuses>123</Statuses>
  <StatusStrings>aeiou</StatusStrings>
  <Status>aeiou</Status>
  <SearchString>aeiou</SearchString>
  <SearchNameOnly>true</SearchNameOnly>
  <Search>aeiou</Search>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <DatePeriod>aeiou</DatePeriod>
  <IsExactMatch>true</IsExactMatch>
  <IsGetBasicInfo>true</IsGetBasicInfo>
  <IncludeDeleted>true</IncludeDeleted>
  <IncludeLogs>true</IncludeLogs>
  <IgnoreID>123</IgnoreID>
  <ParentID>123</ParentID>
  <GetCountOnly>true</GetCountOnly>
  <TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
  <CategoryID>123</CategoryID>
  <AdaptorID>123</AdaptorID>
  <CategoryIDs>123</CategoryIDs>
  <BrandIDs>123</BrandIDs>
  <IDs>123</IDs>
  <GUIDs>aeiou</GUIDs>
  <LinkedSupplierID>123</LinkedSupplierID>
  <IsApprovedForPOS>true</IsApprovedForPOS>
  <IsApprovedForWeb>true</IsApprovedForWeb>
  <IsApprovedForService>true</IsApprovedForService>
  <ID>123</ID>
  <IsHierarchicalSort>true</IsHierarchicalSort>
  <Types>aeiou</Types>
  <IsShowFavourites>true</IsShowFavourites>
  <IsHidden>true</IsHidden>
  <IncludeSystemTasks>true</IncludeSystemTasks>
  <IsSystem>true</IsSystem>
  <BatchStatus>aeiou</BatchStatus>
  <SortField>aeiou</SortField>
  <SortAsc>true</SortAsc>
  <GroupBy>aeiou</GroupBy>
  <LastRowNumber>123456789</LastRowNumber>
  <MaxResults>123</MaxResults>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</DeliveryReceiptFilter>' \
 -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();
        DeliveryReceiptFilter deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

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

final api_instance = DefaultApi();

final DeliveryReceiptFilter deliveryReceiptFilter = new DeliveryReceiptFilter(); // DeliveryReceiptFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptFilter deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptFilter *deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_Search
[apiInstance deliveryReceiptSearchWith:deliveryReceiptFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptFilter': {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {DeliveryReceiptFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

try {
    $result = $api_instance->deliveryReceiptSearch($deliveryReceiptFilter);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptSearch: ', $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 $deliveryReceiptFilter = WWW::OPenAPIClient::Object::DeliveryReceiptFilter->new(); # DeliveryReceiptFilter | 

eval {
    my $result = $api_instance->deliveryReceiptSearch(deliveryReceiptFilter => $deliveryReceiptFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptSearch: $@\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()
deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} # DeliveryReceiptFilter |  (optional)

try:
    # DeliveryReceipt_Search
    api_response = api_instance.delivery_receipt_search(deliveryReceiptFilter=deliveryReceiptFilter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptSearch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptFilter

Responses


deliveryReceiptSearchSupplierDeliveryReceipts

DeliveryReceipt_SearchSupplierDeliveryReceipts


/DeliveryReceipt/SearchSupplierDeliveryReceipts

Usage and SDK Samples

curl -X PUT \
 -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/DeliveryReceipt/SearchSupplierDeliveryReceipts" \
 -d '{
  "ParentID" : 7,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 2,
  "SortField" : "SortField",
  "WarehouseID" : 6,
  "IsExactMatch" : true,
  "CategoryIDs" : [ 4, 4 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "SupplierID" : 0,
  "TenantID" : 1,
  "IgnoreID" : 2,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 5,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 1,
  "LinkedSupplierID" : 1,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 3,
  "WebsiteID" : 4,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 7, 7 ],
  "LastRowNumber" : 6,
  "MaxResults" : 7,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "CreatedByUserID" : 1,
  "Statuses" : [ 5, 5 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 1, 1 ],
  "IsSystem" : true,
  "ModifiedByUserID" : 5,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 9
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptFilter>
  <SupplierID>123</SupplierID>
  <WarehouseID>123</WarehouseID>
  <CreatedByUserID>123</CreatedByUserID>
  <ModifiedByUserID>123</ModifiedByUserID>
  <Statuses>123</Statuses>
  <StatusStrings>aeiou</StatusStrings>
  <Status>aeiou</Status>
  <SearchString>aeiou</SearchString>
  <SearchNameOnly>true</SearchNameOnly>
  <Search>aeiou</Search>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <DatePeriod>aeiou</DatePeriod>
  <IsExactMatch>true</IsExactMatch>
  <IsGetBasicInfo>true</IsGetBasicInfo>
  <IncludeDeleted>true</IncludeDeleted>
  <IncludeLogs>true</IncludeLogs>
  <IgnoreID>123</IgnoreID>
  <ParentID>123</ParentID>
  <GetCountOnly>true</GetCountOnly>
  <TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
  <CategoryID>123</CategoryID>
  <AdaptorID>123</AdaptorID>
  <CategoryIDs>123</CategoryIDs>
  <BrandIDs>123</BrandIDs>
  <IDs>123</IDs>
  <GUIDs>aeiou</GUIDs>
  <LinkedSupplierID>123</LinkedSupplierID>
  <IsApprovedForPOS>true</IsApprovedForPOS>
  <IsApprovedForWeb>true</IsApprovedForWeb>
  <IsApprovedForService>true</IsApprovedForService>
  <ID>123</ID>
  <IsHierarchicalSort>true</IsHierarchicalSort>
  <Types>aeiou</Types>
  <IsShowFavourites>true</IsShowFavourites>
  <IsHidden>true</IsHidden>
  <IncludeSystemTasks>true</IncludeSystemTasks>
  <IsSystem>true</IsSystem>
  <BatchStatus>aeiou</BatchStatus>
  <SortField>aeiou</SortField>
  <SortAsc>true</SortAsc>
  <GroupBy>aeiou</GroupBy>
  <LastRowNumber>123456789</LastRowNumber>
  <MaxResults>123</MaxResults>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</DeliveryReceiptFilter>' \
 -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();
        DeliveryReceiptFilter deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

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

final api_instance = DefaultApi();

final DeliveryReceiptFilter deliveryReceiptFilter = new DeliveryReceiptFilter(); // DeliveryReceiptFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptFilter deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptFilter *deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_SearchSupplierDeliveryReceipts
[apiInstance deliveryReceiptSearchSupplierDeliveryReceiptsWith:deliveryReceiptFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptFilter': {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {DeliveryReceiptFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter | 

try {
    $result = $api_instance->deliveryReceiptSearchSupplierDeliveryReceipts($deliveryReceiptFilter);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptSearchSupplierDeliveryReceipts: ', $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 $deliveryReceiptFilter = WWW::OPenAPIClient::Object::DeliveryReceiptFilter->new(); # DeliveryReceiptFilter | 

eval {
    my $result = $api_instance->deliveryReceiptSearchSupplierDeliveryReceipts(deliveryReceiptFilter => $deliveryReceiptFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptSearchSupplierDeliveryReceipts: $@\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()
deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} # DeliveryReceiptFilter |  (optional)

try:
    # DeliveryReceipt_SearchSupplierDeliveryReceipts
    api_response = api_instance.delivery_receipt_search_supplier_delivery_receipts(deliveryReceiptFilter=deliveryReceiptFilter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptSearchSupplierDeliveryReceipts: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptFilter = {"SupplierID":0,"WarehouseID":0,"CreatedByUserID":0,"ModifiedByUserID":0,"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptFilter

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptFilter

Responses


deliveryReceiptUpdateStatus

DeliveryReceipt_UpdateStatus


/DeliveryReceipt/UpdateStatus

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/DeliveryReceipt/UpdateStatus" \
 -d '{
  "Status" : "Status",
  "WebsiteID" : 1,
  "TenantID" : 6,
  "UserID" : 5,
  "ID" : 0
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<DeliveryReceiptUpdateStatusRequest>
  <ID>123</ID>
  <Status>aeiou</Status>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</DeliveryReceiptUpdateStatusRequest>' \
 -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();
        DeliveryReceiptUpdateStatusRequest deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptUpdateStatusRequest | 

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

final api_instance = DefaultApi();

final DeliveryReceiptUpdateStatusRequest deliveryReceiptUpdateStatusRequest = new DeliveryReceiptUpdateStatusRequest(); // DeliveryReceiptUpdateStatusRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        DeliveryReceiptUpdateStatusRequest deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptUpdateStatusRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
DeliveryReceiptUpdateStatusRequest *deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// DeliveryReceipt_UpdateStatus
[apiInstance deliveryReceiptUpdateStatusWith:deliveryReceiptUpdateStatusRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiDeliveryReceipt = require('as_server_api_delivery_receipt');

// Create an instance of the API class
var api = new AsServerApiDeliveryReceipt.DefaultApi()
var opts = {
  'deliveryReceiptUpdateStatusRequest': {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {DeliveryReceiptUpdateStatusRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptUpdateStatusRequest | 

try {
    $result = $api_instance->deliveryReceiptUpdateStatus($deliveryReceiptUpdateStatusRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deliveryReceiptUpdateStatus: ', $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 $deliveryReceiptUpdateStatusRequest = WWW::OPenAPIClient::Object::DeliveryReceiptUpdateStatusRequest->new(); # DeliveryReceiptUpdateStatusRequest | 

eval {
    my $result = $api_instance->deliveryReceiptUpdateStatus(deliveryReceiptUpdateStatusRequest => $deliveryReceiptUpdateStatusRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->deliveryReceiptUpdateStatus: $@\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()
deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0} # DeliveryReceiptUpdateStatusRequest |  (optional)

try:
    # DeliveryReceipt_UpdateStatus
    api_response = api_instance.delivery_receipt_update_status(deliveryReceiptUpdateStatusRequest=deliveryReceiptUpdateStatusRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->deliveryReceiptUpdateStatus: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deliveryReceiptUpdateStatusRequest = {"ID":0,"Status":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // DeliveryReceiptUpdateStatusRequest

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

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

Scopes

Parameters

Body parameters
Name Description
deliveryReceiptUpdateStatusRequest

Responses