POST api/Associado/AdicionarCartao

Request Information

URI Parameters

None.

Body Parameters

Cartao
NameDescriptionTypeAdditional information
CodClienteCartaoCreditoAnterior

integer

None.

CodClienteCartaoCredito

integer

None.

TipoCartaoCredito

integer

None.

CodCliente

integer

None.

NumeroCartao

string

None.

VencimentoCartao

date

None.

NomeTitular

string

None.

CodigoSeguranca

string

None.

Ativo

boolean

None.

Email

string

None.

Bandeira

string

None.

CpfTitularCartao

string

None.

NovoDiaPagamento

integer

None.

CodTitulos

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "codClienteCartaoCreditoAnterior": 1,
  "codClienteCartaoCredito": 2,
  "tipoCartaoCredito": 3,
  "codCliente": 4,
  "numeroCartao": "sample string 5",
  "vencimentoCartao": "2021-10-24T02:24:06.5929997-03:00",
  "nomeTitular": "sample string 7",
  "codigoSeguranca": "sample string 8",
  "ativo": true,
  "email": "sample string 10",
  "bandeira": "sample string 11",
  "cpfTitularCartao": "sample string 12",
  "novoDiaPagamento": 13,
  "codTitulos": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBaseOfBoolean
NameDescriptionTypeAdditional information
Message

string

None.

Status

FuzzyResponse

None.

Data

Collection of boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "status": 0,
  "data": [
    true,
    true
  ]
}