Product

Product API Controler.

APIDescription
GET api/Product/{id}

Returns a product in json format. Has one paramater called id eg: ~/api/product/316

GET api/Product?ProductID={ProductID}&ProductName={ProductName}&ListPrice={ListPrice}&ProductNumber={ProductNumber}

Updates a specific product's ProductName, ListPrice and ProductNumber.

POST api/Product?ProductName={ProductName}&ListPrice={ListPrice}&ProductNumber={ProductNumber}

Adds new product with ProductName, ListPrice and ProductNumber informations.

GET api/Product?ProductID={ProductID}&approve={approve}

No documentation available.