POST api/Tramos/filtred

Request Information

URI Parameters

None.

Body Parameters

TramosFilter
NameDescriptionTypeAdditional information
Id

integer

None.

IdComunidadAutonoma

integer

None.

Nombre

string

None.

ReferenciaExterna

string

None.

LimiteInferior

decimal number

None.

LimiteSuperior

decimal number

None.

FechaBaja

date

None.

IsChanged

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdComunidadAutonoma": 1,
  "Nombre": "sample string 1",
  "ReferenciaExterna": "sample string 2",
  "LimiteInferior": 1.0,
  "LimiteSuperior": 1.0,
  "FechaBaja": "2026-12-02T17:55:31.4555521+01:00",
  "IsChanged": true
}

application/xml, text/xml

Sample:
<TramosFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Git.Filters">
  <IsChanged xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">true</IsChanged>
  <FechaBaja>2026-12-02T17:55:31.4555521+01:00</FechaBaja>
  <Id>1</Id>
  <IdComunidadAutonoma>1</IdComunidadAutonoma>
  <LimiteInferior>1</LimiteInferior>
  <LimiteSuperior>1</LimiteSuperior>
  <Nombre>sample string 1</Nombre>
  <ReferenciaExterna>sample string 2</ReferenciaExterna>
</TramosFilter>

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 'TramosFilter'.

Response Information

Resource Description

Collection of Tramos
NameDescriptionTypeAdditional information
Nombre

string

None.

IdComunidadAutonoma

integer

None.

ReferenciaExterna

string

None.

LimiteInferior

decimal number

None.

LimiteSuperior

decimal number

None.

FechaBaja

date

None.

ComunidadAutonoma

string

None.

HasError

boolean

None.

Id

integer

None.

Exceptions

Collection of Exception

None.

RowState

RowState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Nombre": "sample string 1",
    "IdComunidadAutonoma": 1,
    "ReferenciaExterna": "sample string 2",
    "LimiteInferior": 1.0,
    "LimiteSuperior": 1.0,
    "FechaBaja": "2026-12-02T17:55:31.4555521+01:00",
    "ComunidadAutonoma": "sample string 3",
    "HasError": true,
    "Id": 4,
    "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
  },
  {
    "Nombre": "sample string 1",
    "IdComunidadAutonoma": 1,
    "ReferenciaExterna": "sample string 2",
    "LimiteInferior": 1.0,
    "LimiteSuperior": 1.0,
    "FechaBaja": "2026-12-02T17:55:31.4555521+01:00",
    "ComunidadAutonoma": "sample string 3",
    "HasError": true,
    "Id": 4,
    "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:
<ArrayOfTramos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.GIT">
  <Tramos>
    <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">4</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <ComunidadAutonoma>sample string 3</ComunidadAutonoma>
    <FechaBaja>2026-12-02T17:55:31.4555521+01:00</FechaBaja>
    <IdComunidadAutonoma>1</IdComunidadAutonoma>
    <LimiteInferior>1</LimiteInferior>
    <LimiteSuperior>1</LimiteSuperior>
    <Nombre>sample string 1</Nombre>
    <ReferenciaExterna>sample string 2</ReferenciaExterna>
  </Tramos>
  <Tramos>
    <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">4</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <ComunidadAutonoma>sample string 3</ComunidadAutonoma>
    <FechaBaja>2026-12-02T17:55:31.4555521+01:00</FechaBaja>
    <IdComunidadAutonoma>1</IdComunidadAutonoma>
    <LimiteInferior>1</LimiteInferior>
    <LimiteSuperior>1</LimiteSuperior>
    <Nombre>sample string 1</Nombre>
    <ReferenciaExterna>sample string 2</ReferenciaExterna>
  </Tramos>
</ArrayOfTramos>