POST api/v5/ContaBancaria

Adiciona uma nova conta bancária.

Request Information

URI Parameters

None.

Body Parameters

Dados da conta bancária.

ContaBancariaNoCadastroDto
NameDescriptionTypeAdditional information
CodigoBanco

integer

Required

Range: inclusive between 0 and 999

Operacao

string

Max length: 3

CodigoAgencia

string

Required

Max length: 10

DigitoAgencia

string

Max length: 2

NumeroConta

string

Required

Max length: 15

DigitoConta

string

Required

Max length: 2

Descricao

string

Required

Max length: 250

TipoConta

TipoContaBancaria

Required

TipoTitular

TipoTitularContaBancaria

Required

Titular

TitularContaBancariaNoCadastroDto

None.

DataValidadeSolicitada

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CodigoBanco": 1,
  "Operacao": "sample string 2",
  "CodigoAgencia": "sample string 3",
  "DigitoAgencia": "sample string 4",
  "NumeroConta": "sample string 5",
  "DigitoConta": "sample string 6",
  "Descricao": "sample string 7",
  "TipoConta": "NaoDefinido",
  "TipoTitular": "Propria",
  "Titular": {
    "Nome": "sample string 1",
    "Documento": "sample string 2",
    "TipoPessoa": "NaoDefinido"
  },
  "DataValidadeSolicitada": "22/01/2019"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Id da conta cadastrada.

RetornoIdDto
NameDescriptionTypeAdditional information
Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1
}