POST api/UnidadPoblacional/filtred

Request Information

URI Parameters

None.

Body Parameters

UnidadPoblacionalFilter
NameDescriptionTypeAdditional information
Id

integer

None.

IdMunicipio

integer

None.

Nombre

string

None.

FechaBaja

date

None.

CodigoINE

string

None.

IsChanged

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdMunicipio": 1,
  "Nombre": "sample string 1",
  "FechaBaja": "2026-12-02T17:55:48.594714+01:00",
  "CodigoINE": "sample string 2",
  "IsChanged": true
}

application/xml, text/xml

Sample:
<UnidadPoblacionalFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Global.Filters">
  <IsChanged xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">true</IsChanged>
  <CodigoINE>sample string 2</CodigoINE>
  <FechaBaja>2026-12-02T17:55:48.594714+01:00</FechaBaja>
  <Id>1</Id>
  <IdMunicipio>1</IdMunicipio>
  <Nombre>sample string 1</Nombre>
</UnidadPoblacionalFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UnidadPoblacionalFilter'.

Response Information

Resource Description

Collection of UnidadPoblacional
NameDescriptionTypeAdditional information
IdMunicipio

integer

None.

Nombre

string

None.

FechaBaja

date

None.

CodigoINE

string

None.

Municipio

string

None.

HasError

boolean

None.

Id

integer

None.

Exceptions

Collection of Exception

None.

RowState

RowState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdMunicipio": 1,
    "Nombre": "sample string 2",
    "FechaBaja": "2026-12-02T17:55:48.594714+01:00",
    "CodigoINE": "sample string 3",
    "Municipio": "sample string 4",
    "HasError": true,
    "Id": 5,
    "Exceptions": [
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    ],
    "RowState": 0
  },
  {
    "IdMunicipio": 1,
    "Nombre": "sample string 2",
    "FechaBaja": "2026-12-02T17:55:48.594714+01:00",
    "CodigoINE": "sample string 3",
    "Municipio": "sample string 4",
    "HasError": true,
    "Id": 5,
    "Exceptions": [
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    ],
    "RowState": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnidadPoblacional xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Global">
  <UnidadPoblacional>
    <Exceptions xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
    </Exceptions>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">5</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <CodigoINE>sample string 3</CodigoINE>
    <FechaBaja>2026-12-02T17:55:48.594714+01:00</FechaBaja>
    <IdMunicipio>1</IdMunicipio>
    <Municipio>sample string 4</Municipio>
    <Nombre>sample string 2</Nombre>
  </UnidadPoblacional>
  <UnidadPoblacional>
    <Exceptions xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
    </Exceptions>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">5</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <CodigoINE>sample string 3</CodigoINE>
    <FechaBaja>2026-12-02T17:55:48.594714+01:00</FechaBaja>
    <IdMunicipio>1</IdMunicipio>
    <Municipio>sample string 4</Municipio>
    <Nombre>sample string 2</Nombre>
  </UnidadPoblacional>
</ArrayOfUnidadPoblacional>