Represents banks (spr) in Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET sprBanks | Collection(sprBank) | Gets a collection of sprBank objects. |
DELETE sprBank | none | Deletes a sprBank object. |
POST sprBank | sprBank | Creates a sprBank object. |
PATCH sprBank | sprBank | Updates a sprBank object. |
Properties
Property | Type | Description |
---|---|---|
id | Guid | Specifies the bank's ID. Non-editable. |
code | String[10] | Specifies the bank's code. |
name | String[50] | Specifies the bank's name. |
defaultCompanyBank | Boolean | Specifies if the bank is the default company bank. |
paymentOrderFileType | NAV.sprPaymentOrderFileType | Specifies the bank's payment order file type. It can be: 0- " " 9- SEPA atlyginimas 10- SEPA bendras |
bankAccountNo | String[30] | Specifies the bank's account number. |
bankCode | String[20] | Specifies the bank's bank code. |
lastModifiedDateTime | DateTimeOffset | Specifies the bank's last modified date. Read-Only. |
Examples
Create sprBanks
POST URI: /companies({{companyId}})/sprBanks
Request
{
"code": "DARB 3",
"description": "Darbininkas 3",
"employeeProfessionCode": "611106"
}