GET api/Withdrawal?contract={contract}&product={product}&planCode={planCode}

Método que devuelve la lista de cuentas registradas para un contrato.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contract

Número de contrato

integer

Required

product

Código del producto

string

Required

planCode

Plan producto

string

Required

Body Parameters

None.

Response Information

Resource Description

Lista de cuentas registradas

Collection of Account
NameDescriptionTypeAdditional information
BankId

string

None.

CityName

string

None.

Number

string

None.

OwnerDocNumber

string

None.

OwnerDocType

string

None.

OwnerLastName

string

None.

OwnerName

string

None.

OwnerType

OwnerType

None.

Status

AccountStatus

None.

Type

AccountType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BankId": "sample string 1",
    "CityName": "sample string 2",
    "Number": "sample string 3",
    "OwnerDocNumber": "sample string 4",
    "OwnerDocType": "sample string 5",
    "OwnerLastName": "sample string 6",
    "OwnerName": "sample string 7",
    "OwnerType": 0,
    "Status": 0,
    "Type": 0
  },
  {
    "BankId": "sample string 1",
    "CityName": "sample string 2",
    "Number": "sample string 3",
    "OwnerDocNumber": "sample string 4",
    "OwnerDocType": "sample string 5",
    "OwnerLastName": "sample string 6",
    "OwnerName": "sample string 7",
    "OwnerType": 0,
    "Status": 0,
    "Type": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OM.BankAccounts.Entities">
  <Account>
    <BankId>sample string 1</BankId>
    <CityName>sample string 2</CityName>
    <Number>sample string 3</Number>
    <OwnerDocNumber>sample string 4</OwnerDocNumber>
    <OwnerDocType>sample string 5</OwnerDocType>
    <OwnerLastName>sample string 6</OwnerLastName>
    <OwnerName>sample string 7</OwnerName>
    <OwnerType>Holder</OwnerType>
    <Status>New</Status>
    <Type>Savings</Type>
  </Account>
  <Account>
    <BankId>sample string 1</BankId>
    <CityName>sample string 2</CityName>
    <Number>sample string 3</Number>
    <OwnerDocNumber>sample string 4</OwnerDocNumber>
    <OwnerDocType>sample string 5</OwnerDocType>
    <OwnerLastName>sample string 6</OwnerLastName>
    <OwnerName>sample string 7</OwnerName>
    <OwnerType>Holder</OwnerType>
    <Status>New</Status>
    <Type>Savings</Type>
  </Account>
</ArrayOfAccount>