GET api/Proveedor?razonSocial={razonSocial}&cliente={cliente}
Este procedimiento miento regresa los proveedores cuyo nombre empiece con la razón social indicada y que este asignados al cliente proporcionado (rfc).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| razonSocial | string |
Required |
|
| cliente | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ProveedorPorCliente| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| RFC_TAXID | string |
None. |
|
| RAZONSOCIAL | string |
None. |
|
| CALLE | string |
None. |
|
| NUM_EXT | string |
None. |
|
| CODIGOPOSTAL | string |
None. |
|
| PAIS | string |
None. |
|
| CURP | string |
None. |
|
| NUM_INT | string |
None. |
|
| MUNICIPIO | string |
None. |
|
| ESTADO | string |
None. |
|
| CIUDAD | string |
None. |
|
| TELEFONO1 | string |
None. |
|
| TELEFONO2 | string |
None. |
|
| CONTACTO | string |
None. |
|
| VINCULACION | integer |
None. |
|
| ESTATUS | integer |
None. |
|
| COLONIA | string |
None. |
|
| CORREO | string |
None. |
|
| W9 | integer |
None. |
|
| ESTADONOMBRE | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"RFC_TAXID": "sample string 2",
"RAZONSOCIAL": "sample string 3",
"CALLE": "sample string 4",
"NUM_EXT": "sample string 5",
"CODIGOPOSTAL": "sample string 6",
"PAIS": "sample string 7",
"CURP": "sample string 8",
"NUM_INT": "sample string 9",
"MUNICIPIO": "sample string 10",
"ESTADO": "sample string 11",
"CIUDAD": "sample string 12",
"TELEFONO1": "sample string 13",
"TELEFONO2": "sample string 14",
"CONTACTO": "sample string 15",
"VINCULACION": 1,
"ESTATUS": 1,
"COLONIA": "sample string 16",
"CORREO": "sample string 17",
"W9": 1,
"ESTADONOMBRE": "sample string 18"
}
text/html
Sample:
{"ID":1,"RFC_TAXID":"sample string 2","RAZONSOCIAL":"sample string 3","CALLE":"sample string 4","NUM_EXT":"sample string 5","CODIGOPOSTAL":"sample string 6","PAIS":"sample string 7","CURP":"sample string 8","NUM_INT":"sample string 9","MUNICIPIO":"sample string 10","ESTADO":"sample string 11","CIUDAD":"sample string 12","TELEFONO1":"sample string 13","TELEFONO2":"sample string 14","CONTACTO":"sample string 15","VINCULACION":1,"ESTATUS":1,"COLONIA":"sample string 16","CORREO":"sample string 17","W9":1,"ESTADONOMBRE":"sample string 18"}
application/xml, text/xml
Sample:
<ProveedorPorCliente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIavisoEntrada.Models"> <CALLE>sample string 4</CALLE> <CIUDAD>sample string 12</CIUDAD> <CODIGOPOSTAL>sample string 6</CODIGOPOSTAL> <COLONIA>sample string 16</COLONIA> <CONTACTO>sample string 15</CONTACTO> <CORREO>sample string 17</CORREO> <CURP>sample string 8</CURP> <ESTADO>sample string 11</ESTADO> <ESTADONOMBRE>sample string 18</ESTADONOMBRE> <ESTATUS>1</ESTATUS> <ID>1</ID> <MUNICIPIO>sample string 10</MUNICIPIO> <NUM_EXT>sample string 5</NUM_EXT> <NUM_INT>sample string 9</NUM_INT> <PAIS>sample string 7</PAIS> <RAZONSOCIAL>sample string 3</RAZONSOCIAL> <RFC_TAXID>sample string 2</RFC_TAXID> <TELEFONO1>sample string 13</TELEFONO1> <TELEFONO2>sample string 14</TELEFONO2> <VINCULACION>1</VINCULACION> <W9>1</W9> </ProveedorPorCliente>