Asp.Net Web Api Services in NopCommerce

Note: download url is the at the end of this article

Upload the plugin to the Plugins directory of NopCommerce (in hosting0 and Go to Configuration -> Plugins and Ensure that you have installed (by clicking on install button) the plugin. 

After successfull installation, you will see a new System Role called "WebService Manager".

Goto Configuration -> Access Control List and verify that "WebService Manager" role has the four permissions;

Web Api Permissions Verification in NopCommerce

Now, go to Customers -> Customers grid and edit any or admin customer (that you want to give permissions to these api resources) and click on edit and make sure that the customer is added to the "WebService Manager" role (if not then add it). 

Customer in WebService Manager role

Now you are good to go. Open up broswer and type http://localhost/api/default (the base url i.e http://localhost maybe changed in your case) and there you have it.

Web Api Browser Test

In order to test versionning type http://localhost/api/v1/default and http://localhost/api/v2/default and you will see the following result.

Web Api Test Version 1

Web Api Test Version 2

And there you have it. If you have any concern regard to the template plugin, please comment and i will try to reach and help you. 

Source Files + Plugin

Download Here


3.7 9

Existing reviews

excellent start up plugin
loved it
From: Guest | Date: 9/19/2014 5:42 PM
Was this review helpful? Yes / No (3/0)
unable to download
I have created a account, it's says the account creation is successful. But I haven't received any activation email and I am unable to login.
From: Guest | Date: 11/12/2014 7:51 PM
Was this review helpful? Yes / No (0/1)
check your email
Hi, kindly check your spam folder. Maybe you got it in spam.
From: John | Date: 11/12/2014 9:18 PM
Was this review helpful? Yes / No (0/0)
No
Hi,
It's not in the spam too !
From: Guest | Date: 11/12/2014 10:29 PM
Was this review helpful? Yes / No (0/0)
Send us an Email
Kindly try send us an email at info@nopwarehouse.com
From: Guest | Date: 11/13/2014 9:11 AM
Was this review helpful? Yes / No (0/0)
Need sourcecode for webapi plugin
webapi plugin download source code not available.
Please share link from where I can download the same
From: Guest | Date: 11/18/2014 12:09 PM
Was this review helpful? Yes / No (0/0)
unable to download
I have checked out several time, it's generating order invoice but from where i can download the source code
From: Guest | Date: 11/22/2014 8:22 AM
Was this review helpful? Yes / No (1/0)
Send us an Email
Login to your account and send us an email via contact us page, we will send you screenshot or direct link.
From: Guest | Date: 11/22/2014 10:01 AM
Was this review helpful? Yes / No (0/1)
where is public key?
i am want get public key and private key using web api where is keys in thi plugin??
From: Guest | Date: 2/20/2015 9:24 AM
Was this review helpful? Yes / No (0/0)


Write your own review
Bad Excellent