GET api/Prestador?razonSocial={razonSocial}&tipoPrestador={tipoPrestador}
Se obtiene una lista en donde el nombre razón social o el rfc coincidan con el parametro ingresado (ARAZONSOCIAL) además la lista se separa por tipo de prestador. 0 = Naviera. 1 = Prestador.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| razonSocial | string |
Required |
|
| tipoPrestador | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Prestador| Name | Description | Type | Additional information |
|---|---|---|---|
| ID_OFICINA | integer |
None. |
|
| RFC | string |
None. |
|
| RAZONSOCIAL | string |
None. |
|
| FECHADEACTUALIZACION | date |
None. |
|
| FECHADEINICIODEOPERACIONES | date |
None. |
|
| CURP | string |
None. |
|
| TAXID | string |
None. |
|
| CALLE | string |
None. |
|
| CIUDAD | string |
None. |
|
| CODIGOPOSTAL | string |
None. |
|
| COLONIA | string |
None. |
|
| ESTADO | string |
None. |
|
| PAIS | string |
None. |
|
| FAX | string |
None. |
|
| INTERIOR | string |
None. |
|
| MUNICIPIO | string |
None. |
|
| NUMERO | string |
None. |
|
| TELEFONO1 | string |
None. |
|
| TELEFONO2 | string |
None. |
|
| LADA | string |
None. |
|
| NOMBRECORTO | string |
None. |
|
| CAAT | string |
None. |
|
| TIPODEPRESTADOR | integer |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID_OFICINA": 1,
"RFC": "sample string 2",
"RAZONSOCIAL": "sample string 3",
"FECHADEACTUALIZACION": "2026-07-06T12:21:01.6554484-05:00",
"FECHADEINICIODEOPERACIONES": "2026-07-06T12:21:01.6554484-05:00",
"CURP": "sample string 6",
"TAXID": "sample string 7",
"CALLE": "sample string 8",
"CIUDAD": "sample string 9",
"CODIGOPOSTAL": "sample string 10",
"COLONIA": "sample string 11",
"ESTADO": "sample string 12",
"PAIS": "sample string 13",
"FAX": "sample string 14",
"INTERIOR": "sample string 15",
"MUNICIPIO": "sample string 16",
"NUMERO": "sample string 17",
"TELEFONO1": "sample string 18",
"TELEFONO2": "sample string 19",
"LADA": "sample string 20",
"NOMBRECORTO": "sample string 21",
"CAAT": "sample string 22",
"TIPODEPRESTADOR": 1,
"ID": 23
}
text/html
Sample:
{"ID_OFICINA":1,"RFC":"sample string 2","RAZONSOCIAL":"sample string 3","FECHADEACTUALIZACION":"2026-07-06T12:21:01.6554484-05:00","FECHADEINICIODEOPERACIONES":"2026-07-06T12:21:01.6554484-05:00","CURP":"sample string 6","TAXID":"sample string 7","CALLE":"sample string 8","CIUDAD":"sample string 9","CODIGOPOSTAL":"sample string 10","COLONIA":"sample string 11","ESTADO":"sample string 12","PAIS":"sample string 13","FAX":"sample string 14","INTERIOR":"sample string 15","MUNICIPIO":"sample string 16","NUMERO":"sample string 17","TELEFONO1":"sample string 18","TELEFONO2":"sample string 19","LADA":"sample string 20","NOMBRECORTO":"sample string 21","CAAT":"sample string 22","TIPODEPRESTADOR":1,"ID":23}
application/xml, text/xml
Sample:
<Prestador xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIavisoEntrada.Models"> <CAAT>sample string 22</CAAT> <CALLE>sample string 8</CALLE> <CIUDAD>sample string 9</CIUDAD> <CODIGOPOSTAL>sample string 10</CODIGOPOSTAL> <COLONIA>sample string 11</COLONIA> <CURP>sample string 6</CURP> <ESTADO>sample string 12</ESTADO> <FAX>sample string 14</FAX> <FECHADEACTUALIZACION>2026-07-06T12:21:01.6554484-05:00</FECHADEACTUALIZACION> <FECHADEINICIODEOPERACIONES>2026-07-06T12:21:01.6554484-05:00</FECHADEINICIODEOPERACIONES> <ID>23</ID> <ID_OFICINA>1</ID_OFICINA> <INTERIOR>sample string 15</INTERIOR> <LADA>sample string 20</LADA> <MUNICIPIO>sample string 16</MUNICIPIO> <NOMBRECORTO>sample string 21</NOMBRECORTO> <NUMERO>sample string 17</NUMERO> <PAIS>sample string 13</PAIS> <RAZONSOCIAL>sample string 3</RAZONSOCIAL> <RFC>sample string 2</RFC> <TAXID>sample string 7</TAXID> <TELEFONO1>sample string 18</TELEFONO1> <TELEFONO2>sample string 19</TELEFONO2> <TIPODEPRESTADOR>1</TIPODEPRESTADOR> </Prestador>