GET api/Bank

Obtener los bancos disponibles para cuentas concentradoras

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Lista de bancos

ResponseModelApiOfListOfBanksModelApi
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

Collection of BanksModelApi

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": [
    {
      "BankCode": "sample string 1",
      "ShortName": "sample string 2",
      "BusinessName": "sample string 3",
      "AllowConcentrationAccount": true
    },
    {
      "BankCode": "sample string 1",
      "ShortName": "sample string 2",
      "BusinessName": "sample string 3",
      "AllowConcentrationAccount": true
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelApiOfListOfBanksModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <BanksModelApi>
      <BankCode>sample string 1</BankCode>
      <ShortName>sample string 2</ShortName>
      <BusinessName>sample string 3</BusinessName>
      <AllowConcentrationAccount>true</AllowConcentrationAccount>
    </BanksModelApi>
    <BanksModelApi>
      <BankCode>sample string 1</BankCode>
      <ShortName>sample string 2</ShortName>
      <BusinessName>sample string 3</BusinessName>
      <AllowConcentrationAccount>true</AllowConcentrationAccount>
    </BanksModelApi>
  </data>
</ResponseModelApiOfListOfBanksModelApi>