Overview
This article provides access to downloadable C# example code demonstrating how to interact with both the v1 API and v2 API. Most customers use the v2 API, but both samples are included to support full compatibility.
The example project includes creating a learner using both versions of the API, and can be easily adapted to use additional API endpoints.
Download the Sample Code
Click the document below to download the C# example solution.
The solution is designed for use in Visual Studio, which will automatically recognise, load, and build the project.
What’s Included?
- v1 API example calls
- v2 API example calls
- Sample functions for creating a learner
- Structure that can be quickly adapted for other API endpoints
Tips & Notes
- Visual Studio is recommended for building and running the solution.
- The code demonstrates authentication and object creation for both v1 and v2.
- Additional API calls can be added using the same structure and authentication process.
Terminology
Please note the terminology used in this article may differ depending on your Centre.
Related Articles
Need Help?
If you need assistance or have any questions, please contact Onefile Support or your internal technical team.