POST api/GrupoTrabajo/filtred

Request Information

URI Parameters

None.

Body Parameters

GrupoTrabajoFilter
NameDescriptionTypeAdditional information
IdEmpresa

integer

None.

Nombre

string

None.

Descripcion

string

None.

IdGrupoTrabajoA3

string

None.

FechaBaja

date

None.

Empresas

Collection of Empresa

None.

EmpresaSelected

integer

None.

IsChanged

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IdEmpresa": 1,
  "Nombre": "sample string 2",
  "Descripcion": "sample string 3",
  "IdGrupoTrabajoA3": "sample string 4",
  "FechaBaja": "2026-12-02T17:55:51.4099594+01:00",
  "Empresas": [
    {
      "CIF": "sample string 1",
      "Nombre": "sample string 2",
      "IdDomicilioFiscal": 3,
      "DomicilioFiscal": "sample string 4",
      "FechaBaja": "2026-12-02T17:55:51.4099594+01:00",
      "Hoja": "sample string 5",
      "Folio": "sample string 6",
      "Inscripcion": "sample string 7",
      "Tomo": "sample string 8",
      "IdEmpresaA3": "sample string 9",
      "CodigoSap": 1,
      "HasError": true,
      "Id": 10,
      "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
    },
    {
      "CIF": "sample string 1",
      "Nombre": "sample string 2",
      "IdDomicilioFiscal": 3,
      "DomicilioFiscal": "sample string 4",
      "FechaBaja": "2026-12-02T17:55:51.4099594+01:00",
      "Hoja": "sample string 5",
      "Folio": "sample string 6",
      "Inscripcion": "sample string 7",
      "Tomo": "sample string 8",
      "IdEmpresaA3": "sample string 9",
      "CodigoSap": 1,
      "HasError": true,
      "Id": 10,
      "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
    }
  ],
  "EmpresaSelected": 1,
  "IsChanged": true
}

application/xml, text/xml

Sample:
<GrupoTrabajoFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Company.Filters">
  <IsChanged xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">true</IsChanged>
  <Descripcion>sample string 3</Descripcion>
  <EmpresaSelected>1</EmpresaSelected>
  <Empresas xmlns:d2p1="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Company">
    <d2p1:Empresa>
      <Exceptions xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">
        <d4p1:Exception>
          <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName>
          <Message i:nil="true" xmlns="" />
          <Data i:nil="true" xmlns="" />
          <InnerException i:nil="true" xmlns="" />
          <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL>
          <StackTraceString i:nil="true" xmlns="" />
          <RemoteStackTraceString i:nil="true" xmlns="" />
          <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex>
          <ExceptionMethod i:nil="true" xmlns="" />
          <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult>
          <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source>
          <WatsonBuckets i:nil="true" xmlns="" />
        </d4p1:Exception>
        <d4p1:Exception>
          <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName>
          <Message i:nil="true" xmlns="" />
          <Data i:nil="true" xmlns="" />
          <InnerException i:nil="true" xmlns="" />
          <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL>
          <StackTraceString i:nil="true" xmlns="" />
          <RemoteStackTraceString i:nil="true" xmlns="" />
          <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex>
          <ExceptionMethod i:nil="true" xmlns="" />
          <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult>
          <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source>
          <WatsonBuckets i:nil="true" xmlns="" />
        </d4p1:Exception>
      </Exceptions>
      <Id xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">10</Id>
      <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
      <d2p1:CIF>sample string 1</d2p1:CIF>
      <d2p1:CodigoSap>1</d2p1:CodigoSap>
      <d2p1:DomicilioFiscal>sample string 4</d2p1:DomicilioFiscal>
      <d2p1:FechaBaja>2026-12-02T17:55:51.4099594+01:00</d2p1:FechaBaja>
      <d2p1:Folio>sample string 6</d2p1:Folio>
      <d2p1:Hoja>sample string 5</d2p1:Hoja>
      <d2p1:IdDomicilioFiscal>3</d2p1:IdDomicilioFiscal>
      <d2p1:IdEmpresaA3>sample string 9</d2p1:IdEmpresaA3>
      <d2p1:Inscripcion>sample string 7</d2p1:Inscripcion>
      <d2p1:Nombre>sample string 2</d2p1:Nombre>
      <d2p1:Tomo>sample string 8</d2p1:Tomo>
    </d2p1:Empresa>
    <d2p1:Empresa>
      <Exceptions xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">
        <d4p1:Exception>
          <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName>
          <Message i:nil="true" xmlns="" />
          <Data i:nil="true" xmlns="" />
          <InnerException i:nil="true" xmlns="" />
          <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL>
          <StackTraceString i:nil="true" xmlns="" />
          <RemoteStackTraceString i:nil="true" xmlns="" />
          <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex>
          <ExceptionMethod i:nil="true" xmlns="" />
          <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult>
          <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source>
          <WatsonBuckets i:nil="true" xmlns="" />
        </d4p1:Exception>
        <d4p1:Exception>
          <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName>
          <Message i:nil="true" xmlns="" />
          <Data i:nil="true" xmlns="" />
          <InnerException i:nil="true" xmlns="" />
          <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL>
          <StackTraceString i:nil="true" xmlns="" />
          <RemoteStackTraceString i:nil="true" xmlns="" />
          <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex>
          <ExceptionMethod i:nil="true" xmlns="" />
          <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult>
          <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source>
          <WatsonBuckets i:nil="true" xmlns="" />
        </d4p1:Exception>
      </Exceptions>
      <Id xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">10</Id>
      <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
      <d2p1:CIF>sample string 1</d2p1:CIF>
      <d2p1:CodigoSap>1</d2p1:CodigoSap>
      <d2p1:DomicilioFiscal>sample string 4</d2p1:DomicilioFiscal>
      <d2p1:FechaBaja>2026-12-02T17:55:51.4099594+01:00</d2p1:FechaBaja>
      <d2p1:Folio>sample string 6</d2p1:Folio>
      <d2p1:Hoja>sample string 5</d2p1:Hoja>
      <d2p1:IdDomicilioFiscal>3</d2p1:IdDomicilioFiscal>
      <d2p1:IdEmpresaA3>sample string 9</d2p1:IdEmpresaA3>
      <d2p1:Inscripcion>sample string 7</d2p1:Inscripcion>
      <d2p1:Nombre>sample string 2</d2p1:Nombre>
      <d2p1:Tomo>sample string 8</d2p1:Tomo>
    </d2p1:Empresa>
  </Empresas>
  <FechaBaja>2026-12-02T17:55:51.4099594+01:00</FechaBaja>
  <IdEmpresa>1</IdEmpresa>
  <IdGrupoTrabajoA3>sample string 4</IdGrupoTrabajoA3>
  <Nombre>sample string 2</Nombre>
</GrupoTrabajoFilter>

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

Response Information

Resource Description

Collection of GrupoTrabajo
NameDescriptionTypeAdditional information
IdEmpresa

integer

None.

Nombre

string

None.

Descripcion

string

None.

IdGrupoTrabajoA3

string

None.

FechaBaja

date

None.

Empresa

string

None.

HasError

boolean

None.

Id

integer

None.

Exceptions

Collection of Exception

None.

RowState

RowState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdEmpresa": 1,
    "Nombre": "sample string 2",
    "Descripcion": "sample string 3",
    "IdGrupoTrabajoA3": "sample string 4",
    "FechaBaja": "2026-12-02T17:55:51.4099594+01:00",
    "Empresa": "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
  },
  {
    "IdEmpresa": 1,
    "Nombre": "sample string 2",
    "Descripcion": "sample string 3",
    "IdGrupoTrabajoA3": "sample string 4",
    "FechaBaja": "2026-12-02T17:55:51.4099594+01:00",
    "Empresa": "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:
<ArrayOfGrupoTrabajo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Company">
  <GrupoTrabajo>
    <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>
    <Descripcion>sample string 3</Descripcion>
    <Empresa>sample string 5</Empresa>
    <FechaBaja>2026-12-02T17:55:51.4099594+01:00</FechaBaja>
    <IdEmpresa>1</IdEmpresa>
    <IdGrupoTrabajoA3>sample string 4</IdGrupoTrabajoA3>
    <Nombre>sample string 2</Nombre>
  </GrupoTrabajo>
  <GrupoTrabajo>
    <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>
    <Descripcion>sample string 3</Descripcion>
    <Empresa>sample string 5</Empresa>
    <FechaBaja>2026-12-02T17:55:51.4099594+01:00</FechaBaja>
    <IdEmpresa>1</IdEmpresa>
    <IdGrupoTrabajoA3>sample string 4</IdGrupoTrabajoA3>
    <Nombre>sample string 2</Nombre>
  </GrupoTrabajo>
</ArrayOfGrupoTrabajo>