summaryrefslogtreecommitdiffstats
path: root/examples/categories/categories.cs
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-09 20:04:46 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-09 20:04:46 -0700
commitbbca327f542b3d7e6f147250dc94a378e70ad240 (patch)
tree8788d6946d0de743946f7c66e0096c2b6a96928d /examples/categories/categories.cs
parentcb1aa7069247d69ea0d863511d02f124f2f209fb (diff)
downloadsendgrid-csharp-bbca327f542b3d7e6f147250dc94a378e70ad240.zip
sendgrid-csharp-bbca327f542b3d7e6f147250dc94a378e70ad240.tar.gz
sendgrid-csharp-bbca327f542b3d7e6f147250dc94a378e70ad240.tar.bz2
Formatting updates and links to /mail/send helper
Diffstat (limited to 'examples/categories/categories.cs')
-rw-r--r--examples/categories/categories.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/categories/categories.cs b/examples/categories/categories.cs
index c8fe5cc..82899ea 100644
--- a/examples/categories/categories.cs
+++ b/examples/categories/categories.cs
@@ -5,9 +5,9 @@ using System.Collections.Generic;
string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User);
dynamic sg = new SendGrid.SendGridAPIClient(_apiKey);
-##################################################
-# Retrieve all categories #
-# GET /categories #
+////////////////////////////////////////////////////////
+// Retrieve all categories
+// GET /categories
string queryParams = @"{
'category': 'test_string',
@@ -20,9 +20,9 @@ Console.WriteLine(response.Body.ReadAsStringAsync().Result);
Console.WriteLine(response.Headers.ToString());
Console.ReadLine();
-##################################################
-# Retrieve Email Statistics for Categories #
-# GET /categories/stats #
+////////////////////////////////////////////////////////
+// Retrieve Email Statistics for Categories
+// GET /categories/stats
string queryParams = @"{
'aggregated_by': 'day',
@@ -38,9 +38,9 @@ Console.WriteLine(response.Body.ReadAsStringAsync().Result);
Console.WriteLine(response.Headers.ToString());
Console.ReadLine();
-##################################################
-# Retrieve sums of email stats for each category [Needs: Stats object defined, has category ID?] #
-# GET /categories/stats/sums #
+////////////////////////////////////////////////////////
+// Retrieve sums of email stats for each category [Needs: Stats object defined, has category ID?]
+// GET /categories/stats/sums
string queryParams = @"{
'aggregated_by': 'day',