Installing the Web API Client in your Project

The Web API client project demonstrates the basic requirements to authenticate and retrieve data using the AuctionWorx Web API. These instructions assume that you have already set up your development environment.

Note: The AuctionWorx Web API files reside in an /Area folder with a parallel structure to the traditional MVC folders. It's easy to inadvertently put Web API files in the wrong place.

Follow these steps to install the Web API Client sample:

  1. Download the archive file, AWXWebAPIClient20.zip.
  2. From the source code archive, copy the following files to the indicated Visual Studio project folder:

    ListingsController.cs/Areas/API/Controllers
    APILiteListing.cs/Areas/API/Models
    jquery.formatDateTime.min.js/Scripts
    mylistings.html/

  3. Ensure that AuctionWorx Web API is enabled site-wide.
  4. Ensure that Web API is enabled for the user (e.g., admin) who will access the site with the Web API client.
  5. In your browser, using the HTTPS (SSL) URL, navigate to mylistings.html.

 

Copyright © 2002-2022. RainWorx Software. All rights reserved.