GET api/CambiosMercadoPCM?cedis={cedis}&ruta={ruta}
Web service de descarga de instrucciones de cambio de mercado
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cedis | integer |
Required |
|
| ruta | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseCambiosMercadoPCM| Name | Description | Type | Additional information |
|---|---|---|---|
| CambiosMercado | Collection of CambioMercadoEsqueleto |
None. |
|
| Error | boolean |
None. |
|
| Mensaje | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CambiosMercado": [
{
"ID_Cambio": 1,
"FechaEntrega": "sample string 2",
"Clave_Bodega": 3,
"Clave_Ruta_Entrega": 1,
"Clave_Cliente": 4,
"Clave_Producto": 5,
"Descripcion_Producto": "sample string 6",
"CantidadPiezas": 7,
"Bloque": 1,
"Clave_motivo_cambio": 8
},
{
"ID_Cambio": 1,
"FechaEntrega": "sample string 2",
"Clave_Bodega": 3,
"Clave_Ruta_Entrega": 1,
"Clave_Cliente": 4,
"Clave_Producto": 5,
"Descripcion_Producto": "sample string 6",
"CantidadPiezas": 7,
"Bloque": 1,
"Clave_motivo_cambio": 8
}
],
"Error": true,
"Mensaje": "sample string 2"
}
application/xml, text/xml
Sample:
<CambiosMercadoPCMController.ResponseCambiosMercadoPCM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Controllers">
<Error xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Models">true</Error>
<Mensaje xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Models">sample string 2</Mensaje>
<CambiosMercado>
<CambiosMercadoPCMController.CambioMercadoEsqueleto>
<Bloque>1</Bloque>
<CantidadPiezas>7</CantidadPiezas>
<Clave_Bodega>3</Clave_Bodega>
<Clave_Cliente>4</Clave_Cliente>
<Clave_Producto>5</Clave_Producto>
<Clave_Ruta_Entrega>1</Clave_Ruta_Entrega>
<Clave_motivo_cambio>8</Clave_motivo_cambio>
<Descripcion_Producto>sample string 6</Descripcion_Producto>
<FechaEntrega>sample string 2</FechaEntrega>
<ID_Cambio>1</ID_Cambio>
</CambiosMercadoPCMController.CambioMercadoEsqueleto>
<CambiosMercadoPCMController.CambioMercadoEsqueleto>
<Bloque>1</Bloque>
<CantidadPiezas>7</CantidadPiezas>
<Clave_Bodega>3</Clave_Bodega>
<Clave_Cliente>4</Clave_Cliente>
<Clave_Producto>5</Clave_Producto>
<Clave_Ruta_Entrega>1</Clave_Ruta_Entrega>
<Clave_motivo_cambio>8</Clave_motivo_cambio>
<Descripcion_Producto>sample string 6</Descripcion_Producto>
<FechaEntrega>sample string 2</FechaEntrega>
<ID_Cambio>1</ID_Cambio>
</CambiosMercadoPCMController.CambioMercadoEsqueleto>
</CambiosMercado>
</CambiosMercadoPCMController.ResponseCambiosMercadoPCM>