Restful web API for EMCO database.
- http://localhost:3000/vendor
- http://localhost:3000/vendor/<vendor_id>
- http://localhost:3000/vendor/<vendor_id>/products
- http://localhost:3000/product/<product_id>
- http://localhost:3000/product/<product_id>/models
- http://localhost:3000/model/<model_id>
- http://localhost:3000/model/<model_id>/documents
- http://localhost:3000/document/<document_id>
[
{
"status": 0,
"address": null,
"id": 1,
"name": "Arcoaire",
"url": "www.goarcoaire.com",
"logo": "arcoaireLogo.png"
},
{
"status": 0,
"address": null,
"id": 2,
"name": "Aeroflow Inc.",
"url": "www.aeroflo.com",
"logo": "aeroflowLogo.png"
},
{
"status": 2,
"address": null,
"id": 4,
"name": "Deflecto",
"url": "www.deflecto.com/air-distribution/",
"logo": "deflectoLogo.png"
},
...
]
{
"status": 0,
"address": null,
"id": 2,
"name": "Aeroflow Inc.",
"url": "www.aeroflo.com",
"logo": "aeroflowLogo.png"
}
[
{
"Image": "Model [165 ].png",
"pType": 9,
"id": 22,
"name": "165 Series Water Softener",
"vID": 6,
"price": 1,
"pricePer": "unit"
},
{
"Image": "Model [465 Series Water Softener].png",
"pType": 9,
"id": 23,
"name": "465 Series Water Softener",
"vID": 6,
"price": 1,
"pricePer": "unit"
},
...
]
{
"Image": "Model [465 Series Water Softener].png",
"pType": 9,
"id": 23,
"name": "465 Series Water Softener",
"vID": 6,
"price": 100,
"pricePer": "unit"
}