GET api/Agente/GetAgentByPatent?patent={patent}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patent | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AgentData| Name | Description | Type | Additional information |
|---|---|---|---|
| NUM_AGTE | integer |
None. |
|
| NUM_CIA | integer |
None. |
|
| NOM_AGTE | string |
None. |
|
| CALLE | string |
None. |
|
| COLONIA | string |
None. |
|
| DEL_MUN | string |
None. |
|
| CIUDAD | string |
None. |
|
| PAIS | integer |
None. |
|
| TEL | string |
None. |
|
| FAX | string |
None. |
|
| string |
None. |
||
| CONTACTO | string |
None. |
|
| PUESTO_C | string |
None. |
|
| STATUS | string |
None. |
|
| PATENTE | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"NUM_AGTE": 1,
"NUM_CIA": 2,
"NOM_AGTE": "sample string 3",
"CALLE": "sample string 4",
"COLONIA": "sample string 5",
"DEL_MUN": "sample string 6",
"CIUDAD": "sample string 7",
"PAIS": 8,
"TEL": "sample string 9",
"FAX": "sample string 10",
"EMAIL": "sample string 11",
"CONTACTO": "sample string 12",
"PUESTO_C": "sample string 13",
"STATUS": "sample string 14",
"PATENTE": 15
}
application/xml, text/xml
Sample:
<AgentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExtranetWS.Models"> <CALLE>sample string 4</CALLE> <CIUDAD>sample string 7</CIUDAD> <COLONIA>sample string 5</COLONIA> <CONTACTO>sample string 12</CONTACTO> <DEL_MUN>sample string 6</DEL_MUN> <EMAIL>sample string 11</EMAIL> <FAX>sample string 10</FAX> <NOM_AGTE>sample string 3</NOM_AGTE> <NUM_AGTE>1</NUM_AGTE> <NUM_CIA>2</NUM_CIA> <PAIS>8</PAIS> <PATENTE>15</PATENTE> <PUESTO_C>sample string 13</PUESTO_C> <STATUS>sample string 14</STATUS> <TEL>sample string 9</TEL> </AgentData>