debitNoteAddLines
DebitNote_AddLines
/DebitNote/{id}/lines
Usage and SDK Samples
curl -X POST \
-H "Accept: application/json,text/json,application/xml,text/xml" \
-H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
"https://api.dev.spenda.co/api/DebitNote/{id}/lines" \
-d '{
"WebsiteID" : 6,
"LineSort" : "LineSort",
"LineSearchFilter" : {
"ParentID" : 7,
"Types" : [ "Types", "Types" ],
"IsApprovedForPOS" : true,
"IsApprovedForWeb" : true,
"AdaptorID" : 2,
"SortField" : "SortField",
"IsExactMatch" : true,
"CategoryIDs" : [ 4, 4 ],
"GetCountOnly" : true,
"SearchString" : "SearchString",
"IncludeDeleted" : true,
"IncludeSystemTasks" : true,
"StartDate" : "2000-01-23T04:56:07.000+00:00",
"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",
"Statuses" : [ 5, 5 ],
"StatusStrings" : [ "StatusStrings", "StatusStrings" ],
"IsGetBasicInfo" : true,
"BatchStatus" : "BatchStatus",
"DatePeriod" : "DatePeriod",
"IDs" : [ 1, 1 ],
"IsSystem" : true,
"SearchNameOnly" : true,
"IsApprovedForService" : true,
"TransactionTypeDatTypeID" : 9
},
"IsShowSummaryLines" : true,
"Discount" : 0.8008281904610115,
"RefBusTrans" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"IsGetExtraInfo" : true,
"GUID" : "00000000-0000-0000-0000-000000000000",
"RefTransRefNumber" : "RefTransRefNumber",
"CustomerID" : 1,
"DiscountMode" : "DiscountMode",
"SupplierID" : 5,
"IsPriceRefresh" : true,
"TenantID" : 9,
"UserID" : 8,
"TotalRefund" : 6.027456183070403,
"IsLineSortDesc" : true,
"IsGetMessages" : true,
"ID" : 9,
"IsExcludeFailedPayments" : true,
"Lines" : [ {
"SellPriceInc" : 6.173804034172511,
"FeeID" : 8,
"TotalQuantityReceived" : 6.4280627569296165,
"AdjustedQuantityReceived" : 5.747795090145878,
"InventoryID" : 0,
"ShortDescription" : "ShortDescription",
"AcquisitionWarehouseID" : 0,
"FeeGUID" : "00000000-0000-0000-0000-000000000000",
"SequenceNumber" : 0,
"ID" : 8,
"SellPriceTaxString" : "SellPriceTaxString",
"InventoryGUIDstring" : "InventoryGUIDstring",
"InventoryType" : "InventoryType",
"DefaultThumbnailURL" : "DefaultThumbnailURL",
"IsOnSpecial" : true,
"MinOrderQuantity" : 9.897492629215506,
"RefBarCode" : "RefBarCode",
"IsShowOriginalPriceInReceipts" : true,
"DatTypeID" : 5,
"PricingMode" : "PricingMode",
"Code" : "Code",
"IsDiscontinued" : true,
"LineTotalTaxString" : "LineTotalTaxString",
"SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
"EAN" : "EAN",
"Barcode" : "Barcode",
"IsAmendedByOtherParty" : true,
"ReturnReason" : "ReturnReason",
"DefaultImageURL" : "DefaultImageURL",
"StandardSellPriceEx" : 4.332304821875894,
"Description" : "Description",
"ClaimReason" : "ClaimReason",
"SellPriceTax" : 4.8789878742268815,
"QuantityPicked" : 8.262795412896967,
"CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
"IsTaxable" : true,
"SellPriceExString" : "SellPriceExString",
"QuantityInCartString" : "QuantityInCartString",
"DeliveryMethod" : "DeliveryMethod",
"SellPriceEx" : 2.535258963197524,
"LineTotalInc" : 9.806951670467935,
"CommentFromOtherParty" : "CommentFromOtherParty",
"QuantityOutofDate" : 8.910869026866926,
"InventoryGUID" : "00000000-0000-0000-0000-000000000000",
"IsVariantMaster" : true,
"LineTotalExString" : "LineTotalExString",
"IsPriceRefresh" : true,
"DiscountPercentage" : 2.9805393113464476,
"QuantityOrdered" : 4.010300976654761,
"IsCanUpdateInventoryOnMerge" : true,
"QuantityOnBackOrder" : 3.804112695731078,
"OrderTotalIncDesc" : "OrderTotalIncDesc",
"AcquisitionMethod" : "AcquisitionMethod",
"LabourRateID" : 4,
"LineID" : 7,
"RefInventoryBSID" : "RefInventoryBSID",
"IsCreatedByOtherParty" : true,
"WarehouseID" : 1,
"GUIDstring" : "GUIDstring",
"PostingInventoryCode" : "PostingInventoryCode",
"ReturnInNumberOfWeeks" : 3.1497903714250555,
"ExpectedBuyPriceEx" : 0.8411762798681321,
"CalculatedBuyPriceTax" : 2.9679475177256287,
"AccountCode" : "AccountCode",
"MaxOrderQuantity" : 3.111202833403195,
"QuantityIncorrect" : 4.141296055235948,
"ClaimRequestLines" : [ {
"Comment" : "Comment",
"ClaimRequestLineID" : 6,
"SellPriceEx" : 0.30134145536422907,
"LineTotalInc" : 7.88722683998926,
"SellPriceInc" : 0.4867146239815201,
"IsActive" : true,
"Quantity" : 4.943637496515336,
"IsReturnToStock" : true,
"LineTotalEx" : 9.721723570087065,
"WarehouseID" : 0,
"WarehouseName" : "WarehouseName",
"ClaimRequestID" : 7,
"ClaimRequestStatus" : "ClaimRequestStatus",
"LineTotalTax" : 6.918231485891953,
"SellPriceTax" : 9.456612101333725,
"TransDate" : "2000-01-23T04:56:07.000+00:00",
"InvoiceQuantity" : 4.637509675190766,
"ClaimableQuantity" : 7.390706075830692,
"ClaimedQuantity" : 0.36062689002149373
}, {
"Comment" : "Comment",
"ClaimRequestLineID" : 6,
"SellPriceEx" : 0.30134145536422907,
"LineTotalInc" : 7.88722683998926,
"SellPriceInc" : 0.4867146239815201,
"IsActive" : true,
"Quantity" : 4.943637496515336,
"IsReturnToStock" : true,
"LineTotalEx" : 9.721723570087065,
"WarehouseID" : 0,
"WarehouseName" : "WarehouseName",
"ClaimRequestID" : 7,
"ClaimRequestStatus" : "ClaimRequestStatus",
"LineTotalTax" : 6.918231485891953,
"SellPriceTax" : 9.456612101333725,
"TransDate" : "2000-01-23T04:56:07.000+00:00",
"InvoiceQuantity" : 4.637509675190766,
"ClaimableQuantity" : 7.390706075830692,
"ClaimedQuantity" : 0.36062689002149373
} ],
"QuantityCancelled" : 0.4768402382624515,
"FeePercentage" : 8.37823741034869,
"LineTotalIncString" : "LineTotalIncString",
"StandardSellPriceInc" : 2.380090174313445,
"GUID" : "00000000-0000-0000-0000-000000000000",
"UoMDescription" : "UoMDescription",
"LineTotalEx" : 6.966044574347761,
"IsRejected" : true,
"ItemID" : 3,
"FeeGUIDstring" : "FeeGUIDstring",
"PriceDescription" : "PriceDescription",
"LineTotalTax" : 1.3949519358941398,
"TaxType" : "TaxType",
"PostingInventoryID" : 9,
"CostPriceInc" : 2.7977867356748476,
"SellPriceIncString" : "SellPriceIncString",
"QuantityClaimed" : 2.058822123984536,
"QuantityRefunded" : 0.7012260588964747,
"PriceType" : "PriceType",
"InventoryBSID" : "InventoryBSID",
"Warehouse" : {
"Description" : "Description",
"IsActive" : true,
"TotalNumberOfDistinctProducts" : 7,
"Users" : [ {
"FirstName" : "FirstName",
"IsActive" : true,
"PositionOrOccupation" : "PositionOrOccupation",
"EmailAddress" : "EmailAddress",
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"BSID" : "BSID",
"IsEmployee" : true,
"CreatedWith" : "CreatedWith",
"ID" : 3,
"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" : 3,
"LastName" : "LastName"
} ],
"Name" : "Name",
"GUIDstring" : "GUIDstring",
"Version" : 1.5970080735609526,
"SyncLogs" : [ {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"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" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
}, {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"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" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
} ],
"WarehouseTypeID" : 5,
"ID" : 4,
"DefaultPOSCustomerName" : "DefaultPOSCustomerName",
"MinimumStockHoldingValue" : 9.402167524121316,
"IsDefault" : true,
"DefaultPOSCustomerID" : 4,
"TenantLocationName" : "TenantLocationName",
"Code" : "Code",
"TotalStockValue" : 7.92839742024475,
"RowNumber" : 5,
"BSID" : "BSID",
"MaximumStockHoldingValue" : 1.7045651386993,
"TenantLocationID" : 5,
"Barcode" : "Barcode",
"WarehouseType" : {
"Description" : "Description",
"WarehouseTypeID" : 9,
"ID" : 3,
"IsVirtual" : true,
"Name" : "Name",
"RefNumberPrefix" : "RefNumberPrefix"
},
"TotalSOH" : 7.726998920545485,
"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" : 7.260521264802104,
"GUIDstring" : "GUIDstring",
"IsPostalAddress" : true,
"AddressDescription" : "AddressDescription",
"ID" : 4,
"Notes" : "Notes",
"IsDeliverTo" : true,
"IsSelectedBilling" : true,
"IsSelectedDelivery" : true,
"GUID" : "00000000-0000-0000-0000-000000000000",
"City" : "City",
"Longitude" : 9.132027271330688,
"StreetAddress" : "StreetAddress",
"IsMailTo" : true,
"IsServiceTo" : true,
"State" : "State",
"IsDefaultServiceTo" : true,
"IsOfficeOrShop" : true,
"Country" : "Country",
"IsSystem" : true,
"AddressType" : 9,
"PostCode" : "PostCode",
"IsDefaultBilling" : true
}, {
"FullAddress" : "FullAddress",
"IsDefaultDeliverTo" : true,
"IsActive" : true,
"LocationID" : 0,
"Latitude" : 7.260521264802104,
"GUIDstring" : "GUIDstring",
"IsPostalAddress" : true,
"AddressDescription" : "AddressDescription",
"ID" : 4,
"Notes" : "Notes",
"IsDeliverTo" : true,
"IsSelectedBilling" : true,
"IsSelectedDelivery" : true,
"GUID" : "00000000-0000-0000-0000-000000000000",
"City" : "City",
"Longitude" : 9.132027271330688,
"StreetAddress" : "StreetAddress",
"IsMailTo" : true,
"IsServiceTo" : true,
"State" : "State",
"IsDefaultServiceTo" : true,
"IsOfficeOrShop" : true,
"Country" : "Country",
"IsSystem" : true,
"AddressType" : 9,
"PostCode" : "PostCode",
"IsDefaultBilling" : true
} ],
"UtcOffset" : 1,
"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" : 5,
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"IsSystem" : true,
"ID" : 7,
"LastName" : "LastName",
"BusinessID" : 4
}, {
"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" : 5,
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"IsSystem" : true,
"ID" : 7,
"LastName" : "LastName",
"BusinessID" : 4
} ],
"Phone" : "Phone",
"IsSystem" : true,
"ID" : 3,
"Fax" : "Fax",
"IsDefaultLocation" : true
},
"IsStockOpeningBalanceComplete" : true
},
"DeliveryMethodDescription" : "DeliveryMethodDescription",
"CostPriceEx" : 0.58919091925136,
"IsActive" : true,
"HasPriceBeenEdited" : true,
"IsSpecialPrice" : true,
"OrderTotalInc" : 5.877124706116695,
"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
} ],
"UoM" : "UoM",
"IsPhysical" : true,
"TaxRate" : 3.812761638325517,
"AssetID" : 5,
"LineType" : "LineType",
"Comment" : "Comment",
"RefInventoryCode" : "RefInventoryCode",
"QuantityInCart" : 7.835035282970782,
"Title" : "Title",
"Quantity" : 7.203794749804894,
"CostPriceTax" : 9.386524999783381,
"QuantityFaulty" : 6.458262756685686,
"QuantityReceived" : 8.276461147928103,
"SKU" : "SKU",
"CostPriceExString" : "CostPriceExString",
"IsAssetItem" : true,
"SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
}, {
"SellPriceInc" : 6.173804034172511,
"FeeID" : 8,
"TotalQuantityReceived" : 6.4280627569296165,
"AdjustedQuantityReceived" : 5.747795090145878,
"InventoryID" : 0,
"ShortDescription" : "ShortDescription",
"AcquisitionWarehouseID" : 0,
"FeeGUID" : "00000000-0000-0000-0000-000000000000",
"SequenceNumber" : 0,
"ID" : 8,
"SellPriceTaxString" : "SellPriceTaxString",
"InventoryGUIDstring" : "InventoryGUIDstring",
"InventoryType" : "InventoryType",
"DefaultThumbnailURL" : "DefaultThumbnailURL",
"IsOnSpecial" : true,
"MinOrderQuantity" : 9.897492629215506,
"RefBarCode" : "RefBarCode",
"IsShowOriginalPriceInReceipts" : true,
"DatTypeID" : 5,
"PricingMode" : "PricingMode",
"Code" : "Code",
"IsDiscontinued" : true,
"LineTotalTaxString" : "LineTotalTaxString",
"SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
"EAN" : "EAN",
"Barcode" : "Barcode",
"IsAmendedByOtherParty" : true,
"ReturnReason" : "ReturnReason",
"DefaultImageURL" : "DefaultImageURL",
"StandardSellPriceEx" : 4.332304821875894,
"Description" : "Description",
"ClaimReason" : "ClaimReason",
"SellPriceTax" : 4.8789878742268815,
"QuantityPicked" : 8.262795412896967,
"CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
"IsTaxable" : true,
"SellPriceExString" : "SellPriceExString",
"QuantityInCartString" : "QuantityInCartString",
"DeliveryMethod" : "DeliveryMethod",
"SellPriceEx" : 2.535258963197524,
"LineTotalInc" : 9.806951670467935,
"CommentFromOtherParty" : "CommentFromOtherParty",
"QuantityOutofDate" : 8.910869026866926,
"InventoryGUID" : "00000000-0000-0000-0000-000000000000",
"IsVariantMaster" : true,
"LineTotalExString" : "LineTotalExString",
"IsPriceRefresh" : true,
"DiscountPercentage" : 2.9805393113464476,
"QuantityOrdered" : 4.010300976654761,
"IsCanUpdateInventoryOnMerge" : true,
"QuantityOnBackOrder" : 3.804112695731078,
"OrderTotalIncDesc" : "OrderTotalIncDesc",
"AcquisitionMethod" : "AcquisitionMethod",
"LabourRateID" : 4,
"LineID" : 7,
"RefInventoryBSID" : "RefInventoryBSID",
"IsCreatedByOtherParty" : true,
"WarehouseID" : 1,
"GUIDstring" : "GUIDstring",
"PostingInventoryCode" : "PostingInventoryCode",
"ReturnInNumberOfWeeks" : 3.1497903714250555,
"ExpectedBuyPriceEx" : 0.8411762798681321,
"CalculatedBuyPriceTax" : 2.9679475177256287,
"AccountCode" : "AccountCode",
"MaxOrderQuantity" : 3.111202833403195,
"QuantityIncorrect" : 4.141296055235948,
"ClaimRequestLines" : [ {
"Comment" : "Comment",
"ClaimRequestLineID" : 6,
"SellPriceEx" : 0.30134145536422907,
"LineTotalInc" : 7.88722683998926,
"SellPriceInc" : 0.4867146239815201,
"IsActive" : true,
"Quantity" : 4.943637496515336,
"IsReturnToStock" : true,
"LineTotalEx" : 9.721723570087065,
"WarehouseID" : 0,
"WarehouseName" : "WarehouseName",
"ClaimRequestID" : 7,
"ClaimRequestStatus" : "ClaimRequestStatus",
"LineTotalTax" : 6.918231485891953,
"SellPriceTax" : 9.456612101333725,
"TransDate" : "2000-01-23T04:56:07.000+00:00",
"InvoiceQuantity" : 4.637509675190766,
"ClaimableQuantity" : 7.390706075830692,
"ClaimedQuantity" : 0.36062689002149373
}, {
"Comment" : "Comment",
"ClaimRequestLineID" : 6,
"SellPriceEx" : 0.30134145536422907,
"LineTotalInc" : 7.88722683998926,
"SellPriceInc" : 0.4867146239815201,
"IsActive" : true,
"Quantity" : 4.943637496515336,
"IsReturnToStock" : true,
"LineTotalEx" : 9.721723570087065,
"WarehouseID" : 0,
"WarehouseName" : "WarehouseName",
"ClaimRequestID" : 7,
"ClaimRequestStatus" : "ClaimRequestStatus",
"LineTotalTax" : 6.918231485891953,
"SellPriceTax" : 9.456612101333725,
"TransDate" : "2000-01-23T04:56:07.000+00:00",
"InvoiceQuantity" : 4.637509675190766,
"ClaimableQuantity" : 7.390706075830692,
"ClaimedQuantity" : 0.36062689002149373
} ],
"QuantityCancelled" : 0.4768402382624515,
"FeePercentage" : 8.37823741034869,
"LineTotalIncString" : "LineTotalIncString",
"StandardSellPriceInc" : 2.380090174313445,
"GUID" : "00000000-0000-0000-0000-000000000000",
"UoMDescription" : "UoMDescription",
"LineTotalEx" : 6.966044574347761,
"IsRejected" : true,
"ItemID" : 3,
"FeeGUIDstring" : "FeeGUIDstring",
"PriceDescription" : "PriceDescription",
"LineTotalTax" : 1.3949519358941398,
"TaxType" : "TaxType",
"PostingInventoryID" : 9,
"CostPriceInc" : 2.7977867356748476,
"SellPriceIncString" : "SellPriceIncString",
"QuantityClaimed" : 2.058822123984536,
"QuantityRefunded" : 0.7012260588964747,
"PriceType" : "PriceType",
"InventoryBSID" : "InventoryBSID",
"Warehouse" : {
"Description" : "Description",
"IsActive" : true,
"TotalNumberOfDistinctProducts" : 7,
"Users" : [ {
"FirstName" : "FirstName",
"IsActive" : true,
"PositionOrOccupation" : "PositionOrOccupation",
"EmailAddress" : "EmailAddress",
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"BSID" : "BSID",
"IsEmployee" : true,
"CreatedWith" : "CreatedWith",
"ID" : 3,
"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" : 3,
"LastName" : "LastName"
} ],
"Name" : "Name",
"GUIDstring" : "GUIDstring",
"Version" : 1.5970080735609526,
"SyncLogs" : [ {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"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" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
}, {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"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" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
} ],
"WarehouseTypeID" : 5,
"ID" : 4,
"DefaultPOSCustomerName" : "DefaultPOSCustomerName",
"MinimumStockHoldingValue" : 9.402167524121316,
"IsDefault" : true,
"DefaultPOSCustomerID" : 4,
"TenantLocationName" : "TenantLocationName",
"Code" : "Code",
"TotalStockValue" : 7.92839742024475,
"RowNumber" : 5,
"BSID" : "BSID",
"MaximumStockHoldingValue" : 1.7045651386993,
"TenantLocationID" : 5,
"Barcode" : "Barcode",
"WarehouseType" : {
"Description" : "Description",
"WarehouseTypeID" : 9,
"ID" : 3,
"IsVirtual" : true,
"Name" : "Name",
"RefNumberPrefix" : "RefNumberPrefix"
},
"TotalSOH" : 7.726998920545485,
"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" : 7.260521264802104,
"GUIDstring" : "GUIDstring",
"IsPostalAddress" : true,
"AddressDescription" : "AddressDescription",
"ID" : 4,
"Notes" : "Notes",
"IsDeliverTo" : true,
"IsSelectedBilling" : true,
"IsSelectedDelivery" : true,
"GUID" : "00000000-0000-0000-0000-000000000000",
"City" : "City",
"Longitude" : 9.132027271330688,
"StreetAddress" : "StreetAddress",
"IsMailTo" : true,
"IsServiceTo" : true,
"State" : "State",
"IsDefaultServiceTo" : true,
"IsOfficeOrShop" : true,
"Country" : "Country",
"IsSystem" : true,
"AddressType" : 9,
"PostCode" : "PostCode",
"IsDefaultBilling" : true
}, {
"FullAddress" : "FullAddress",
"IsDefaultDeliverTo" : true,
"IsActive" : true,
"LocationID" : 0,
"Latitude" : 7.260521264802104,
"GUIDstring" : "GUIDstring",
"IsPostalAddress" : true,
"AddressDescription" : "AddressDescription",
"ID" : 4,
"Notes" : "Notes",
"IsDeliverTo" : true,
"IsSelectedBilling" : true,
"IsSelectedDelivery" : true,
"GUID" : "00000000-0000-0000-0000-000000000000",
"City" : "City",
"Longitude" : 9.132027271330688,
"StreetAddress" : "StreetAddress",
"IsMailTo" : true,
"IsServiceTo" : true,
"State" : "State",
"IsDefaultServiceTo" : true,
"IsOfficeOrShop" : true,
"Country" : "Country",
"IsSystem" : true,
"AddressType" : 9,
"PostCode" : "PostCode",
"IsDefaultBilling" : true
} ],
"UtcOffset" : 1,
"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" : 5,
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"IsSystem" : true,
"ID" : 7,
"LastName" : "LastName",
"BusinessID" : 4
}, {
"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" : 5,
"GUIDstring" : "GUIDstring",
"PhoneMobile" : "PhoneMobile",
"IsPrimaryContact" : true,
"Phone1" : "Phone1",
"IsSystem" : true,
"ID" : 7,
"LastName" : "LastName",
"BusinessID" : 4
} ],
"Phone" : "Phone",
"IsSystem" : true,
"ID" : 3,
"Fax" : "Fax",
"IsDefaultLocation" : true
},
"IsStockOpeningBalanceComplete" : true
},
"DeliveryMethodDescription" : "DeliveryMethodDescription",
"CostPriceEx" : 0.58919091925136,
"IsActive" : true,
"HasPriceBeenEdited" : true,
"IsSpecialPrice" : true,
"OrderTotalInc" : 5.877124706116695,
"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
} ],
"UoM" : "UoM",
"IsPhysical" : true,
"TaxRate" : 3.812761638325517,
"AssetID" : 5,
"LineType" : "LineType",
"Comment" : "Comment",
"RefInventoryCode" : "RefInventoryCode",
"QuantityInCart" : 7.835035282970782,
"Title" : "Title",
"Quantity" : 7.203794749804894,
"CostPriceTax" : 9.386524999783381,
"QuantityFaulty" : 6.458262756685686,
"QuantityReceived" : 8.276461147928103,
"SKU" : "SKU",
"CostPriceExString" : "CostPriceExString",
"IsAssetItem" : true,
"SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
} ],
"IsOverridingLines" : true
}' \
-d 'Custom MIME type example not yet supported: text/json' \
-d '<AddLinesRequest>
<DiscountMode>aeiou</DiscountMode>
<Discount>3.149</Discount>
<null>
<ID>123</ID>
<IsPriceRefresh>true</IsPriceRefresh>
<AcquisitionMethod>aeiou</AcquisitionMethod>
<AcquisitionWarehouseID>123</AcquisitionWarehouseID>
<AssetID>123</AssetID>
<CostPriceExString>aeiou</CostPriceExString>
<DatTypeID>123</DatTypeID>
<DefaultImageURL>aeiou</DefaultImageURL>
<DefaultThumbnailURL>aeiou</DefaultThumbnailURL>
<DeliveryMethodDescription>aeiou</DeliveryMethodDescription>
<FeePercentage>3.149</FeePercentage>
<LineID>123</LineID>
<GUID>00000000-0000-0000-0000-000000000000</GUID>
<FeeGUID>00000000-0000-0000-0000-000000000000</FeeGUID>
<InventoryGUID>00000000-0000-0000-0000-000000000000</InventoryGUID>
<HasPriceBeenEdited>true</HasPriceBeenEdited>
<IsAssetItem>true</IsAssetItem>
<IsDiscontinued>true</IsDiscontinued>
<IsOnSpecial>true</IsOnSpecial>
<IsVariantMaster>true</IsVariantMaster>
<ItemID>123</ItemID>
<LineTotalExString>aeiou</LineTotalExString>
<LineTotalIncString>aeiou</LineTotalIncString>
<LineTotalTaxString>aeiou</LineTotalTaxString>
<LineType>aeiou</LineType>
<MaxOrderQuantity>3.149</MaxOrderQuantity>
<MinOrderQuantity>3.149</MinOrderQuantity>
<OrderTotalInc>3.149</OrderTotalInc>
<OrderTotalIncDesc>aeiou</OrderTotalIncDesc>
<QuantityInCart>3.149</QuantityInCart>
<QuantityInCartString>aeiou</QuantityInCartString>
<QuantityCancelled>3.149</QuantityCancelled>
<ReturnInNumberOfWeeks>3.149</ReturnInNumberOfWeeks>
<SellPriceExString>aeiou</SellPriceExString>
<SellPriceIncString>aeiou</SellPriceIncString>
<SellPriceTaxString>aeiou</SellPriceTaxString>
<Title>aeiou</Title>
<StandardSellPriceInc>3.149</StandardSellPriceInc>
<IsCreatedByOtherParty>true</IsCreatedByOtherParty>
<IsAmendedByOtherParty>true</IsAmendedByOtherParty>
<CommentFromOtherParty>aeiou</CommentFromOtherParty>
<CurrentSuppliersInventoryGUID>00000000-0000-0000-0000-000000000000</CurrentSuppliersInventoryGUID>
<IsCanUpdateInventoryOnMerge>true</IsCanUpdateInventoryOnMerge>
<SupplierInventoryGUID>00000000-0000-0000-0000-000000000000</SupplierInventoryGUID>
<IsShowOriginalPriceInReceipts>true</IsShowOriginalPriceInReceipts>
<QuantityOnBackOrder>3.149</QuantityOnBackOrder>
<GUIDstring>aeiou</GUIDstring>
<FeeID>123</FeeID>
<FeeGUIDstring>aeiou</FeeGUIDstring>
<LabourRateID>123</LabourRateID>
<InventoryID>123</InventoryID>
<SequenceNumber>123</SequenceNumber>
<Code>aeiou</Code>
<InventoryBSID>aeiou</InventoryBSID>
<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>
<Quantity>3.149</Quantity>
<StandardSellPriceEx>3.149</StandardSellPriceEx>
<CostPriceInc>3.149</CostPriceInc>
<CostPriceTax>3.149</CostPriceTax>
<CostPriceEx>3.149</CostPriceEx>
<SellPriceEx>3.149</SellPriceEx>
<SellPriceInc>3.149</SellPriceInc>
<SellPriceTax>3.149</SellPriceTax>
<LineTotalEx>3.149</LineTotalEx>
<LineTotalInc>3.149</LineTotalInc>
<LineTotalTax>3.149</LineTotalTax>
<Comment>aeiou</Comment>
<WarehouseID>123</WarehouseID>
<IsActive>true</IsActive>
<PriceDescription>aeiou</PriceDescription>
<PricingMode>aeiou</PricingMode>
<PriceType>aeiou</PriceType>
<IsSpecialPrice>true</IsSpecialPrice>
<TaxRate>3.149</TaxRate>
<DeliveryMethod>aeiou</DeliveryMethod>
<RefInventoryCode>aeiou</RefInventoryCode>
<RefBarCode>aeiou</RefBarCode>
<RefInventoryBSID>aeiou</RefInventoryBSID>
<AccountCode>aeiou</AccountCode>
<TaxType>aeiou</TaxType>
<IsPhysical>true</IsPhysical>
<ReturnReason>aeiou</ReturnReason>
<IsRejected>true</IsRejected>
<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>
<QuantityPicked>3.149</QuantityPicked>
<DiscountPercentage>3.149</DiscountPercentage>
<PostingInventoryID>123</PostingInventoryID>
<PostingInventoryCode>aeiou</PostingInventoryCode>
<QuantityOrdered>3.149</QuantityOrdered>
<QuantityReceived>3.149</QuantityReceived>
<QuantityFaulty>3.149</QuantityFaulty>
<QuantityIncorrect>3.149</QuantityIncorrect>
<QuantityOutofDate>3.149</QuantityOutofDate>
<QuantityClaimed>3.149</QuantityClaimed>
<TotalQuantityReceived>3.149</TotalQuantityReceived>
<ExpectedBuyPriceEx>3.149</ExpectedBuyPriceEx>
<CalculatedBuyPriceTax>3.149</CalculatedBuyPriceTax>
<AdjustedQuantityReceived>3.149</AdjustedQuantityReceived>
<SupplierInventoryGUIDString>aeiou</SupplierInventoryGUIDString>
<QuantityRefunded>3.149</QuantityRefunded>
<IsTaxable>true</IsTaxable>
<ClaimReason>aeiou</ClaimReason>
</null>
<IsOverridingLines>true</IsOverridingLines>
<RefTransRefNumber>aeiou</RefTransRefNumber>
<null>
<AmountString>aeiou</AmountString>
<AppliedAmountString>aeiou</AppliedAmountString>
<AppliedDateString>aeiou</AppliedDateString>
<Summary>aeiou</Summary>
<GUID>00000000-0000-0000-0000-000000000000</GUID>
<Status>aeiou</Status>
<TotalInc>3.149</TotalInc>
<ID>123</ID>
<GUIDstring>aeiou</GUIDstring>
<BSID>aeiou</BSID>
<Amount>3.149</Amount>
<TransTypeID>123</TransTypeID>
<TransType>aeiou</TransType>
<RefNumber>aeiou</RefNumber>
<AppliedDate>2000-01-23T04:56:07.000Z</AppliedDate>
<AppliedAmount>3.149</AppliedAmount>
<Balance>3.149</Balance>
<MerchantSurcharge>3.149</MerchantSurcharge>
<MerchantSurchargeLineID>123</MerchantSurchargeLineID>
<TransSubType>aeiou</TransSubType>
<AppliedTransID>123</AppliedTransID>
<AppliedCredit>3.149</AppliedCredit>
<ClaimRequestID>123</ClaimRequestID>
<ClaimDescription>aeiou</ClaimDescription>
<IsEarlyClaimShortPayment>true</IsEarlyClaimShortPayment>
</null>
<TotalRefund>3.149</TotalRefund>
<LineSort>aeiou</LineSort>
<IsLineSortDesc>true</IsLineSortDesc>
<IsGetMessages>true</IsGetMessages>
<CustomerID>123</CustomerID>
<SupplierID>123</SupplierID>
<IsPriceRefresh>true</IsPriceRefresh>
<null>
<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>
</null>
<IsExcludeFailedPayments>true</IsExcludeFailedPayments>
<IsShowSummaryLines>true</IsShowSummaryLines>
<ID>123</ID>
<GUID>00000000-0000-0000-0000-000000000000</GUID>
<IsGetExtraInfo>true</IsGetExtraInfo>
<TenantID>123</TenantID>
<WebsiteID>123</WebsiteID>
<UserID>123</UserID>
</AddLinesRequest>' \
-d 'Custom MIME type example not yet supported: text/xml' \
-d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
// Create an instance of the API class
DefaultApi apiInstance = new DefaultApi();
Integer id = 56; // Integer |
AddLinesRequest addLinesRequest = ; // AddLinesRequest |
try {
AddLinesResponse_DebitNoteT_ result = apiInstance.debitNoteAddLines(id, addLinesRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#debitNoteAddLines");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final Integer id = new Integer(); // Integer |
final AddLinesRequest addLinesRequest = new AddLinesRequest(); // AddLinesRequest |
try {
final result = await api_instance.debitNoteAddLines(id, addLinesRequest);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->debitNoteAddLines: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
Integer id = 56; // Integer |
AddLinesRequest addLinesRequest = ; // AddLinesRequest |
try {
AddLinesResponse_DebitNoteT_ result = apiInstance.debitNoteAddLines(id, addLinesRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#debitNoteAddLines");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // (default to null)
AddLinesRequest *addLinesRequest = ; // (optional)
// DebitNote_AddLines
[apiInstance debitNoteAddLinesWith:id
addLinesRequest:addLinesRequest
completionHandler: ^(AddLinesResponse_DebitNoteT_ output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiDebitNote = require('as_server_api_debit_note');
// Create an instance of the API class
var api = new AsServerApiDebitNote.DefaultApi()
var id = 56; // {Integer}
var opts = {
'addLinesRequest': // {AddLinesRequest}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.debitNoteAddLines(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class debitNoteAddLinesExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var id = 56; // Integer | (default to null)
var addLinesRequest = new AddLinesRequest(); // AddLinesRequest | (optional)
try {
// DebitNote_AddLines
AddLinesResponse_DebitNoteT_ result = apiInstance.debitNoteAddLines(id, addLinesRequest);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.debitNoteAddLines: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer |
$addLinesRequest = ; // AddLinesRequest |
try {
$result = $api_instance->debitNoteAddLines($id, $addLinesRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->debitNoteAddLines: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer |
my $addLinesRequest = WWW::OPenAPIClient::Object::AddLinesRequest->new(); # AddLinesRequest |
eval {
my $result = $api_instance->debitNoteAddLines(id => $id, addLinesRequest => $addLinesRequest);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->debitNoteAddLines: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | (default to null)
addLinesRequest = # AddLinesRequest | (optional)
try:
# DebitNote_AddLines
api_response = api_instance.debit_note_add_lines(id, addLinesRequest=addLinesRequest)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->debitNoteAddLines: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let id = 56; // Integer
let addLinesRequest = ; // AddLinesRequest
let mut context = DefaultApi::Context::default();
let result = client.debitNoteAddLines(id, addLinesRequest, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
Path parameters
| Name | Description |
|---|---|
| id* |
Integer
(int32)
Required
|
Body parameters
| Name | Description |
|---|---|
| addLinesRequest |