POST api/SubTipoBienUO?dateFrom={dateFrom}&dateTo={dateTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dateFrom

date

Required

dateTo

date

Required

Body Parameters

SubtipoBienUOFilter
NameDescriptionTypeAdditional information
Id

integer

None.

IdSubTipoBien

integer

None.

IdUnidadOperativa

integer

None.

Nombre

string

None.

FechaBaja

date

None.

IsChanged

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdSubTipoBien": 1,
  "IdUnidadOperativa": 1,
  "Nombre": "sample string 1",
  "FechaBaja": "2026-12-02T17:54:56.8641701+01:00",
  "IsChanged": true
}

application/xml, text/xml

Sample:
<SubtipoBienUOFilter 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:54:56.8641701+01:00</FechaBaja>
  <Id>1</Id>
  <IdSubTipoBien>1</IdSubTipoBien>
  <IdUnidadOperativa>1</IdUnidadOperativa>
  <Nombre>sample string 1</Nombre>
</SubtipoBienUOFilter>

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

Response Information

Resource Description

Collection of SubTipoBienUO
NameDescriptionTypeAdditional information
IdSubtipoBien

integer

None.

IdUnidadOperativa

integer

None.

Nombre

string

None.

FechaBaja

date

None.

SubTipoBien

string

None.

UnidadOperativa

string

None.

HasError

boolean

None.

Id

integer

None.

Exceptions

Collection of Exception

None.

RowState

RowState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdSubtipoBien": 1,
    "IdUnidadOperativa": 2,
    "Nombre": "sample string 3",
    "FechaBaja": "2026-12-02T17:54:56.8797993+01:00",
    "SubTipoBien": "sample string 4",
    "UnidadOperativa": "sample string 5",
    "HasError": true,
    "Id": 6,
    "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
  },
  {
    "IdSubtipoBien": 1,
    "IdUnidadOperativa": 2,
    "Nombre": "sample string 3",
    "FechaBaja": "2026-12-02T17:54:56.8797993+01:00",
    "SubTipoBien": "sample string 4",
    "UnidadOperativa": "sample string 5",
    "HasError": true,
    "Id": 6,
    "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:
<ArrayOfSubTipoBienUO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.GIT">
  <SubTipoBienUO>
    <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">6</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <FechaBaja>2026-12-02T17:54:56.8797993+01:00</FechaBaja>
    <IdSubtipoBien>1</IdSubtipoBien>
    <IdUnidadOperativa>2</IdUnidadOperativa>
    <Nombre>sample string 3</Nombre>
    <SubTipoBien>sample string 4</SubTipoBien>
    <UnidadOperativa>sample string 5</UnidadOperativa>
  </SubTipoBienUO>
  <SubTipoBienUO>
    <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">6</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <FechaBaja>2026-12-02T17:54:56.8797993+01:00</FechaBaja>
    <IdSubtipoBien>1</IdSubtipoBien>
    <IdUnidadOperativa>2</IdUnidadOperativa>
    <Nombre>sample string 3</Nombre>
    <SubTipoBien>sample string 4</SubTipoBien>
    <UnidadOperativa>sample string 5</UnidadOperativa>
  </SubTipoBienUO>
</ArrayOfSubTipoBienUO>