﻿README (FOR API USERS)

This solution is meant to give guidance on how to use the API (mainly v1). It is not meant to be used as-is, but have to be adjusted according to your needs.

InfoPlusClient-solution consist of 3 projects:
- InfoPlus.Client.NET35. The client itself containing the ServiceReference. Low level logic for contacting the API.
- InfoPlusClient.Example.NET45. Console application with samples of usage of the API. 
- InfoPlusClient.Example.Net.CoreTools. Help library.

HOW TO USE?
1. Clean and Rebuild solution. 
2. Open InfoPlusClient.Example.NET45 => App.config. Set desired endpoints (Test is advised).
3. Open InfoPlus.Client.Example.NET45 => ClientFactory.GetClientFor(). Remove keys from dictionary and input your available credentials.
4. Run or debug console client (InfoPlus.Client.Example.NET45). You will be given alternatives, each alternative will either give you another set 
of alternatives, or execute one or more API request and print a result to command prompt.

NOTE! You will probably need to adjust hardcoded values in code to values that match your use cases! 

QUICK START
Do a simple read test. In console select in order:
R(ead) => S(EG) or V(VS) => D = Simple read
Enter your own manufacturer slug (MANUnnn), and a RSK-/E-number when prompted.
Check that you get output: 1 articles found.

NOTE! Read Services=>V1/V2=> howto update.txt for info on how to update the client:s ServiceReference. 