OpenSource » SampleCode » NexportWebApiMvcSampleSite Sample MVC 4 Website project that demonstrates the use of the NexPort WebApi
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

Updated some documentation.

Changeset d3b91bf238d4

Parent e50cb9741a7f

by Profile picture of User 240Clayton Miller <clayton.miller@nexportengineering.com>

Changes to 15 files · Browse files at d3b91bf238d4 Showing diff from parent e50cb9741a7f Diff from another changeset...

 
47
48
49
 
50
51
 
52
53
54
 
47
48
49
50
51
52
53
54
55
56
@@ -47,8 +47,10 @@
    var catResponse = WebApiRequests.GetCatalogs(catRequest, authToken.access_token);   var catalogs = catResponse.catalogs.ToList(); +   //Uncomment the next line to change the email   //WebApiRequests.EditUserEmail(editEmailRequest, authToken.access_token); +   //Throw the results of GetCatalogs into the view   ViewBag.Catalogs = catalogs;   return View();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
7
8
9
 
 
10
11
12
 
6
7
8
 
9
10
11
12
13
@@ -6,7 +6,8 @@
 {   /// <summary>   /// This is where all of the methods that call the WebApi methods live. The idea is to take the request information - /// and an access token, and call the WebApi method from its URL. + /// and an access token, and call the WebApi method from its URL. Keep in mind that you'll need the appropriate + /// permissions in order to call the WebApi methods successfully.   /// </summary>   public class WebApiRequests   {