Skip to end of banner
Go to start of banner

GET accounts_receivable/configuration/banks/list

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Available from CRM.COM R6.0.0

This method returns the banks that are allowed to be used in the system, as specified in the active accounts receivable definition. Note that banks can be used in payment preferences, only if the selected payment preference is of type direct debit. Multiple banks are returned by each call 

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

Name

Type

Description

id

String

The id of the retrieved bank

name

String

The name of the retrieved bank

alternative_code

String

The alternative code of the retrieved bank

descriptionStringThe description of the retrieved bank
bank_branches_setSet of Bank Branch ObjectsThe bank branches related with the retrieved bank

Referred Objects Response Data

 bank branches referred response objet

Name

Type

Description

id

String

The id of the retrieved bank branch

name

String

The name of the retrieved bank branch

alternative_code

String

The alternative code of the retrieved bank branch

descriptionStringThe description of the retrieved bank branch

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "bank_branches_set":
            [
                {
                    "name": "laiki 1",
                    "id": "5B410756A58A97832F333E4153850AF4",
                    "description": null,
                    "alternative_code": "1"
                },
                {
                    "name": "laiki 2",
                    "id": "DDA4D4240B4694A7C401EFF2A7D7D4CE",
                    "description": null,
                    "alternative_code": "2"
                }
            ],
            "name": "Laiki Bank",
            "id": "26E4307E2DCA062A5877BF3A9BC1369D",
            "description": "Laiki Bank",
            "alternative_code": "LB"
        },
        {
            "bank_branches_set":
            [
                {
                    "name": " BOC 3",
                    "id": "9F1E3ADDC484B3CA1DFC5C64CF2627F8",
                    "description": null,
                    "alternative_code": " B3"
                },
                {
                    "name": " BOC 1",
                    "id": "7559D997AD2DA661F2FC3AFE90257F79",
                    "description": null,
                    "alternative_code": "B1"
                },
                {
                    "name": " BOC 2",
                    "id": "53321CDD52CE3A125E9277E55BB302C7",
                    "description": null,
                    "alternative_code": "B2"
                }
            ],
            "name": "Bank of Cyprus",
            "id": "A5B487FA26F43959188DB9584D2522D5",
            "description": "Bank of Cyprus",
            "alternative_code": "BOC"
        }
    ]
}
  • No labels