Sage.PL.WebAPI.Interface.BankAccounts.Interfaces Namespace > IBankAccountsController Interface > IBankAccountsController Methods > Insert Method > Insert Method (Int32, BankAccount) | | Drukuj |
.NET Framework Class Library
IBankAccountsController.Insert Method (Int32, BankAccount)
Metoda umożliwia utworzenie nowego rachunku bankowego dla kontrahenta o podanym id.
[POST] /api/BankAccounts/Create
Namespace: Sage.PL.WebAPI.Interface.BankAccounts.Interfaces
Assembly: Sage.PL.WebAPI.Interface.BankAccounts (in Sage.PL.WebAPI.Interface.BankAccounts.dll) Version: 24.2.1.0 (24.2.1.0)
Visual Basic |
Function Insert ( _ |
C# |
IHttpActionResult Insert( |
Visual C++ |
IHttpActionResult^ Insert( |
JavaScript |
function insert(contractorId, bankAccount); |
contractorId
Type: System.Int32
[FromUri] Id kontrahenta.
bankAccount
Type: Sage.PL.WebAPI.Interface.BankAccounts.ViewModels.BankAccount
[FromBody] Obiekt rachunku bankowego do utworzenia.
Zwraca nowo utworzony obiekt rachunku bankowego BankAccount.
IBankAccountsController Interface