Before You Begin: The following instructions are specific to .NET. If you are developing with Java, read the readme.txt file with the Java sample code for information about which third party components to add.
- In Visual Studio, in the Solution Explorer view, right-click the DayforceRestSampleClient project, and select Manage NuGet Packages.
- Search for the following packages and install them:
- Json.NET: this package is needed for serializing and deserializing JSON
- RestSharp: this package is the REST client API
- Right-click the
Referencesfolder and click Add Reference and add System.Runtime.Serialization.
Note: To complete the sample client application, insert the logic shown in the following sections into the main method in the Program.cs source file, then compile and execute.