POST api/Proveedor?dateFrom={dateFrom}&dateTo={dateTo}&loadDirecciones={loadDirecciones}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dateFrom | date |
Required |
|
| dateTo | date |
Required |
|
| loadDirecciones | boolean |
Default value is False |
Body Parameters
ProveedorFilter| Name | Description | Type | Additional 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. |
|
| TipoProveedores | Collection of TipoProveedor |
None. |
|
| TipoProveedorSelected | integer |
None. |
|
| IsChanged | boolean |
None. |
Request 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",
"TipoProveedores": [
{
"Nombre": "sample string 1",
"FechaBaja": "2026-12-02T17:55:32.3798538+01:00",
"HasError": true,
"Id": 2,
"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",
"FechaBaja": "2026-12-02T17:55:32.3798538+01:00",
"HasError": true,
"Id": 2,
"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
}
],
"TipoProveedorSelected": 1,
"IsChanged": true
}
application/xml, text/xml
Sample:
<ProveedorFilter 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>
<CIF>sample string 4</CIF>
<Correo>sample string 8</Correo>
<Descripcion>sample string 3</Descripcion>
<Fax>sample string 6</Fax>
<IdDireccion>1</IdDireccion>
<IdTipoProveedor>1</IdTipoProveedor>
<Nombre>sample string 2</Nombre>
<Telefono>sample string 5</Telefono>
<TipoProveedorSelected>1</TipoProveedorSelected>
<TipoProveedores xmlns:d2p1="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Global">
<d2p1:TipoProveedor>
<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">2</Id>
<RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
<d2p1:FechaBaja>2026-12-02T17:55:32.3798538+01:00</d2p1:FechaBaja>
<d2p1:Nombre>sample string 1</d2p1:Nombre>
</d2p1:TipoProveedor>
<d2p1:TipoProveedor>
<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">2</Id>
<RowState xmlns="http://schemas.datacontract.org/2004/07/DiagonalGest.Web.Common.Models.Base">FromDB</RowState>
<d2p1:FechaBaja>2026-12-02T17:55:32.3798538+01:00</d2p1:FechaBaja>
<d2p1:Nombre>sample string 1</d2p1:Nombre>
</d2p1:TipoProveedor>
</TipoProveedores>
<Web>sample string 7</Web>
</ProveedorFilter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />