POST api/Tarjeta
Request Information
URI Parameters
None.
Body Parameters
TarjetaModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| IdCliente | integer |
None. |
|
| NumeroTarjeta | string |
None. |
|
| NombreTarjeta | string |
None. |
|
| FechaVencimiento | string |
None. |
|
| CVC | string |
None. |
|
| Principal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"IdCliente": 2,
"NumeroTarjeta": "sample string 3",
"NombreTarjeta": "sample string 4",
"FechaVencimiento": "sample string 5",
"CVC": "sample string 6",
"Principal": true
}
application/xml, text/xml
Sample:
<TarjetaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosSicEWalletWA.ViewModels"> <CVC>sample string 6</CVC> <FechaVencimiento>sample string 5</FechaVencimiento> <IdCliente>2</IdCliente> <NombreTarjeta>sample string 4</NombreTarjeta> <NumeroTarjeta>sample string 3</NumeroTarjeta> <Principal>true</Principal> <id>1</id> </TarjetaModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |