GET api/Proveedor?dateFrom={dateFrom}&dateTo={dateTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dateFrom

date

Required

dateTo

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Proveedor
NameDescriptionTypeAdditional information
IdDireccion

integer

None.

IdTipoProveedor

integer

None.

Nombre

string

None.

Descripcion

string

None.

CIF

string

None.

Telefono

string

None.

Fax

string

None.

Web

string

None.

Correo

string

None.

FechaBaja

date

None.

Direccion

string

None.

TipoProveedor

string

None.

HasError

boolean

None.

Id

integer

None.

Exceptions

Collection of Exception

None.

RowState

RowState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdDireccion": 1,
    "IdTipoProveedor": 1,
    "Nombre": "sample string 2",
    "Descripcion": "sample string 3",
    "CIF": "sample string 4",
    "Telefono": "sample string 5",
    "Fax": "sample string 6",
    "Web": "sample string 7",
    "Correo": "sample string 8",
    "FechaBaja": "2026-12-02T17:55:07.9131433+01:00",
    "Direccion": "sample string 9",
    "TipoProveedor": "sample string 10",
    "HasError": true,
    "Id": 11,
    "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
  },
  {
    "IdDireccion": 1,
    "IdTipoProveedor": 1,
    "Nombre": "sample string 2",
    "Descripcion": "sample string 3",
    "CIF": "sample string 4",
    "Telefono": "sample string 5",
    "Fax": "sample string 6",
    "Web": "sample string 7",
    "Correo": "sample string 8",
    "FechaBaja": "2026-12-02T17:55:07.9131433+01:00",
    "Direccion": "sample string 9",
    "TipoProveedor": "sample string 10",
    "HasError": true,
    "Id": 11,
    "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:
<ArrayOfProveedor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Global">
  <Proveedor>
    <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">11</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <CIF>sample string 4</CIF>
    <Correo>sample string 8</Correo>
    <Descripcion>sample string 3</Descripcion>
    <Direccion>sample string 9</Direccion>
    <Fax>sample string 6</Fax>
    <FechaBaja>2026-12-02T17:55:07.9131433+01:00</FechaBaja>
    <IdDireccion>1</IdDireccion>
    <IdTipoProveedor>1</IdTipoProveedor>
    <Nombre>sample string 2</Nombre>
    <Telefono>sample string 5</Telefono>
    <TipoProveedor>sample string 10</TipoProveedor>
    <Web>sample string 7</Web>
  </Proveedor>
  <Proveedor>
    <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">11</Id>
    <RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
    <CIF>sample string 4</CIF>
    <Correo>sample string 8</Correo>
    <Descripcion>sample string 3</Descripcion>
    <Direccion>sample string 9</Direccion>
    <Fax>sample string 6</Fax>
    <FechaBaja>2026-12-02T17:55:07.9131433+01:00</FechaBaja>
    <IdDireccion>1</IdDireccion>
    <IdTipoProveedor>1</IdTipoProveedor>
    <Nombre>sample string 2</Nombre>
    <Telefono>sample string 5</Telefono>
    <TipoProveedor>sample string 10</TipoProveedor>
    <Web>sample string 7</Web>
  </Proveedor>
</ArrayOfProveedor>