GET api/Values/GetProductoByOrigen?ciudadDestino={ciudadDestino}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ciudadDestino | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MProductoVm| Name | Description | Type | Additional information |
|---|---|---|---|
| IdProducto | string |
None. |
|
| Producto | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IdProducto": "sample string 1",
"Producto": "sample string 2"
},
{
"IdProducto": "sample string 1",
"Producto": "sample string 2"
}
]
text/xml
Sample:
<ArrayOfMProductoVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiVesta.TterrestreModel.ViewModel">
<MProductoVm>
<IdProducto>sample string 1</IdProducto>
<Producto>sample string 2</Producto>
</MProductoVm>
<MProductoVm>
<IdProducto>sample string 1</IdProducto>
<Producto>sample string 2</Producto>
</MProductoVm>
</ArrayOfMProductoVm>