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/v2/DeliveryReceipt/" \
-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();
ActionRequestDeliveryReceiptT actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestDeliveryReceiptT |
try {
ActionResults_DeliveryReceiptT_ result = apiInstance.deliveryReceiptSaveV2(actionRequestDeliveryReceiptT);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deliveryReceiptSaveV2");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final ActionRequestDeliveryReceiptT actionRequestDeliveryReceiptT = new ActionRequestDeliveryReceiptT(); // ActionRequestDeliveryReceiptT |
try {
final result = await api_instance.deliveryReceiptSaveV2(actionRequestDeliveryReceiptT);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->deliveryReceiptSaveV2: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
ActionRequestDeliveryReceiptT actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestDeliveryReceiptT |
try {
ActionResults_DeliveryReceiptT_ result = apiInstance.deliveryReceiptSaveV2(actionRequestDeliveryReceiptT);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deliveryReceiptSaveV2");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestDeliveryReceiptT *actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // (optional)
// DeliveryReceipt_SaveV2
[apiInstance deliveryReceiptSaveV2With:actionRequestDeliveryReceiptT
completionHandler: ^(ActionResults_DeliveryReceiptT_ output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiDeliveryReceiptV2 = require('as_server_api_delivery_receipt_v2');
// Create an instance of the API class
var api = new AsServerApiDeliveryReceiptV2.DefaultApi()
var opts = {
'actionRequestDeliveryReceiptT': {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestDeliveryReceiptT}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deliveryReceiptSaveV2(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class deliveryReceiptSaveV2Example
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var actionRequestDeliveryReceiptT = new ActionRequestDeliveryReceiptT(); // ActionRequestDeliveryReceiptT | (optional)
try {
// DeliveryReceipt_SaveV2
ActionResults_DeliveryReceiptT_ result = apiInstance.deliveryReceiptSaveV2(actionRequestDeliveryReceiptT);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.deliveryReceiptSaveV2: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestDeliveryReceiptT |
try {
$result = $api_instance->deliveryReceiptSaveV2($actionRequestDeliveryReceiptT);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->deliveryReceiptSaveV2: ', $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 $actionRequestDeliveryReceiptT = WWW::OPenAPIClient::Object::ActionRequestDeliveryReceiptT->new(); # ActionRequestDeliveryReceiptT |
eval {
my $result = $api_instance->deliveryReceiptSaveV2(actionRequestDeliveryReceiptT => $actionRequestDeliveryReceiptT);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->deliveryReceiptSaveV2: $@\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()
actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestDeliveryReceiptT | (optional)
try:
# DeliveryReceipt_SaveV2
api_response = api_instance.delivery_receipt_save_v2(actionRequestDeliveryReceiptT=actionRequestDeliveryReceiptT)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->deliveryReceiptSaveV2: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let actionRequestDeliveryReceiptT = {"Value":{"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"}]},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestDeliveryReceiptT
let mut context = DefaultApi::Context::default();
let result = client.deliveryReceiptSaveV2(actionRequestDeliveryReceiptT, &context).wait();
println!("{:?}", result);
}