GET api/Clientes_Tarjetas/GetClientes_Tarjetas/{id}?activa={activa}
Retorna todas las tarjetas de un cliente determinado.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Código del cliente a consultar. |
integer |
Required |
| activa |
indica si queremos consultar las tarjetas activas. |
boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Clientes_Tarjetas| Name | Description | Type | Additional information |
|---|---|---|---|
| FK_Clientes_Id | integer |
None. |
|
| PZN | string |
String length: inclusive between 0 and 50 |
|
| Activa | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"FK_Clientes_Id": 1,
"PZN": "sample string 2",
"Activa": true
}
application/xml, text/xml
Sample:
<Clientes_Tarjetas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <Activa>true</Activa> <FK_Clientes_Id>1</FK_Clientes_Id> <PZN>sample string 2</PZN> </Clientes_Tarjetas>