GET api/datoscita/getobteneragenciaciudad/{idCiudad}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idCiudad

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GenericaMensaje
NameDescriptionTypeAdditional information
Id

integer

None.

Nombre

string

None.

Campo

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Nombre": "sample string 2",
    "Campo": "sample string 3"
  },
  {
    "Id": 1,
    "Nombre": "sample string 2",
    "Campo": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGenericaMensaje xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MENSAJE">
  <GenericaMensaje>
    <Campo>sample string 3</Campo>
    <Id>1</Id>
    <Nombre>sample string 2</Nombre>
  </GenericaMensaje>
  <GenericaMensaje>
    <Campo>sample string 3</Campo>
    <Id>1</Id>
    <Nombre>sample string 2</Nombre>
  </GenericaMensaje>
</ArrayOfGenericaMensaje>