List of products file ===================== Use sample below to get list of agreement products. .. code-block:: c# using Crayon.Api.Sdk; using Crayon.Api.Sdk.Domain.Csp; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ClientSdkSample { internal class Program { static async Task Main(string[] args) { var clientId = "XXXXXX"; var clientSecret = "XXXXXX"; var userName = "XXXX@XXXX.XXX EMAIL"; var password = "XXXXXX"; var apiUrl = "https://api.crayon.com/"; var client = new CrayonApiClient(apiUrl); var token = client.Tokens.GetUserToken(clientId, clientSecret, userName, password).GetData().AccessToken; var filter = new AgreementProductFilter { OrganizationId = XXXX }; filter.Include.PartNumbers = new List(); filter.Include.PartNumbers.Add("CFQ7TTC0LH34"); var getFileResult = await client.AgreementProducts.GetAsExcelFile(token, filter); if (getResult.IsSuccessStatusCode) { // download the file } else { Console.WriteLine("Connection problem."); } } } } Related endpoints ^^^^^^^^^^^^^^^^^ :doc:`/scenarios/agreementproducts-file-get`