GET api/Fabricantes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Fabricante| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| nombre | string |
Required String length: inclusive between 0 and 100 |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"nombre": "sample string 2"
},
{
"id": 1,
"nombre": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfFabricante xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VendingAPI.Models">
<Fabricante>
<id>1</id>
<nombre>sample string 2</nombre>
</Fabricante>
<Fabricante>
<id>1</id>
<nombre>sample string 2</nombre>
</Fabricante>
</ArrayOfFabricante>