Guest User

Kentico Kontent Fetch Entry JSON

a guest
Jul 21st, 2020
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IDeliveryClient client = DeliveryClientBuilder
  2.     .WithOptions(builder => builder
  3.         .WithProjectId("6795dbb3-a7d8-0072-8f8c-0550a61f4f98")
  4.     .UseProductionApi()
  5.     .Build())
  6.     .Build();
  7. IDeliveryItemListingResponse<JObject> response = client.GetItemsAsync<JObject>(
  8.     new EqualsFilter("system.codename", "fieldtypesentry")).GetAwaiter().GetResult();
  9. Console.WriteLine(response.ApiResponse.Content);
RAW Paste Data