Sage.PL.WebAPI.Interface.Contractors.Interfaces Namespace > IContractorDeliveryAddressesController Interface > IContractorDeliveryAddressesController Methods > AddNew Method > AddNew Method (String, ContractorDeliveryAddress) | | Drukuj |
.NET Framework Class Library
IContractorDeliveryAddressesController.AddNew Method (String, ContractorDeliveryAddress)
Metoda umożliwia utworzenie nowego adresu dostawy dla kontrahenta o podanym kodzie.
[POST] /api/ContractorDeliveryAddresses/Create?contractorCode=kod_kontrahenta
Namespace: Sage.PL.WebAPI.Interface.Contractors.Interfaces
Assembly: Sage.PL.WebAPI.Interface.Contractors (in Sage.PL.WebAPI.Interface.Contractors.dll) Version: 24.2.1.0 (24.2.1.0)
Visual Basic |
Function AddNew ( _ |
C# |
IHttpActionResult AddNew( |
Visual C++ |
IHttpActionResult^ AddNew( |
JavaScript |
function addNew(contractorCode, contractorDeliveryAddress); |
contractorCode
Type: System.String
[FromUri] Kod kontrahenta.
contractorDeliveryAddress
Type: Sage.PL.WebAPI.Interface.Contractors.ViewModels.ContractorDeliveryAddress
[FromBody] Obiekt adresu dostawy kontrahenta do utworzenia.
Zwraca kolekcję obiektów ContractorDeliveryAddress.
IContractorDeliveryAddressesController Interface