CFL Bank Accounts API

  • 2 minutes to read

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.0';
EntityName = 'bankAccount';
EntitySetName = 'bankAccounts';

GET

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/bankAccounts

Entity:

 {
    "@odata.etag": "W/\"JzE5Ozc1MDQ4NDU2OTc2Njg0MDYzODYxOzAwOyc=\"",
    "id": "332fe12f-13e0-ec11-adf8-c90fab2a25c5",
    "number": "BBL-EUR",
    "name": "BBL",
    "searchName": "BBL",
    "address": "Britse Lei 1",
    "address2": "",
    "city": "ANTWERPEN",
    "postCode": "2000",
    "countryRegionCode": "BE",
    "contact": "Gerard Zalm",
    "phoneNo": "",
    "email": "",
    "bankAccountNo": "320004614139",
    "iban": "BE13 3200 0461 4139",
    "swiftCode": "BBRUBEBB",
    "currencyCode": "",
    "useAsDefaultForCurrency": false,
    "bankAccPostingGroup": "LV",
    "statisticsGroup": 0,
    "languageCode": "",
    "blocked": false,
    "protocolNo": "",
    "versionCode": "",
    "globalDimension1Code": "",
    "globalDimension2Code": "",
    "amount": 0,
    "balance": 5888.25,
    "systemModifiedAt": "2022-05-30T12:29:44.92Z"
}

CREATE

method: POST
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/bankAccounts
Body:

{
    "number": "TEST",
    "name": "TEST",
    "searchName": "TEST",
    "address": "Britse Lei 1",
    "address2": "",
    "city": "ANTWERPEN",
    "postCode": "2000",
    "countryRegionCode": "BE",
    "contact": "Gerard Zalm",
    "phoneNo": "",
    "email": "",
    "bankAccountNo": "320004614139",
    "iban": "BE13 3200 0461 4139",
    "swiftCode": "BBRUBEBB",
    "currencyCode": "",
    "useAsDefaultForCurrency": false,
    "bankAccPostingGroup": "LV",
    "statisticsGroup": 0,
    "languageCode": "",
    "blocked": false,
    "protocalNo": "",
    "versionCode": "",
    "globalDimension1Code": "",
    "globalDimension2Code": ""
}

DELETE

method: DELETE
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/bankAccounts(332fe12f-13e0-ec11-adf8-c90fab2a25c5)

UPDATE

method: PATCH
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/bankAccounts(332fe12f-13e0-ec11-adf8-c90fab2a25c5)
Headers:
"If-Match" : W/"JzE5Ozc1MDQ4NDU2OTc2Njg0MDYzODYxOzAwOyc="
Body:

{
    "searchName": "Test aanpassing"
}