GET api/FtesMovOperativos/ObtenerDatosDIVIPOLA?IdElementoPadre={IdElementoPadre}

Retorna el Listado de los Departamentos o Municipios determinados por el Parámetro IdElementoPadre.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IdElementoPadre

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Divipola
NameDescriptionTypeAdditional information
ID_DIVIPOLA

Clave Primaria

integer

None.

ID_DIVIPOLAPADRE

Código del elemento Padre de la tabla Divipola.

integer

None.

S_CODIGO

Código del País, Departamento o Municipio

string

None.

S_NOMBRE

Nombre del País, Departamento o Municipio

string

None.

S_CODIGOEPM

Código EPM.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID_DIVIPOLA": 1,
    "ID_DIVIPOLAPADRE": 2,
    "S_CODIGO": "sample string 3",
    "S_NOMBRE": "sample string 4",
    "S_CODIGOEPM": "sample string 5"
  },
  {
    "ID_DIVIPOLA": 1,
    "ID_DIVIPOLAPADRE": 2,
    "S_CODIGO": "sample string 3",
    "S_NOMBRE": "sample string 4",
    "S_CODIGOEPM": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDivipola xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIMAPI.Models.FtesMovOperativos">
  <Divipola>
    <ID_DIVIPOLA>1</ID_DIVIPOLA>
    <ID_DIVIPOLAPADRE>2</ID_DIVIPOLAPADRE>
    <S_CODIGO>sample string 3</S_CODIGO>
    <S_CODIGOEPM>sample string 5</S_CODIGOEPM>
    <S_NOMBRE>sample string 4</S_NOMBRE>
  </Divipola>
  <Divipola>
    <ID_DIVIPOLA>1</ID_DIVIPOLA>
    <ID_DIVIPOLAPADRE>2</ID_DIVIPOLAPADRE>
    <S_CODIGO>sample string 3</S_CODIGO>
    <S_CODIGOEPM>sample string 5</S_CODIGOEPM>
    <S_NOMBRE>sample string 4</S_NOMBRE>
  </Divipola>
</ArrayOfDivipola>