Documentation

How to use NSwagStudio & Promotional Office API

1) First download NSwagStudio using the following link: https://github.com/RicoSuter/NSwag/wiki/NSwagStudio.

2) Open NSwagStudio and enter the following options: 

Replace {YOUR PO URL} with the correct Promotional Office URL. If unsure, most of the time it's the domain your reading this on.

3) Generate the output file by selecting an output file path and press "Generate Outputs".

4) Import the generated .cs file into Visual Studio and add the missing references.
the minimum required references are:

5) Write your code!
We have made a little sample screenshot to show how it's done:

Please note that these are fake login credentials! Please use your own.