POST api/Associado/AdicionarCartao
Request Information
URI Parameters
None.
Body Parameters
CartaoName | Description | Type | Additional 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. |
|
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": "2022-06-30T10:33:03.3810308-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
ResponseBaseOfBooleanName | Description | Type | Additional 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 ] }