File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4167,7 +4167,7 @@ Transactional templates are templates created specifically for transactional ema
41674167
41684168
41694169``` csharp
4170- var response = await client .RequestAsync (method : SendGridClient .Method .GET , urlPath : " templates" );
4170+ var response = await client .RequestAsync (method : SendGridClient .Method .GET , urlPath : " templates?generations=legacy,dynamic " );
41714171Console .WriteLine (response .StatusCode );
41724172Console .WriteLine (response .Body .ReadAsStringAsync ().Result );
41734173Console .WriteLine (response .Headers .ToString ());
Original file line number Diff line number Diff line change 2626// Retrieve all transactional templates.
2727// GET /templates
2828
29- var response = await client . RequestAsync ( method : SendGridClient . Method . GET , urlPath : "templates" ) ;
29+ var response = await client . RequestAsync ( method : SendGridClient . Method . GET , urlPath : "templates?generations=legacy,dynamic " ) ;
3030Console . WriteLine ( response . StatusCode ) ;
3131Console . WriteLine ( response . Body . ReadAsStringAsync ( ) . Result ) ;
3232Console . WriteLine ( response . Headers . ToString ( ) ) ;
You can’t perform that action at this time.
0 commit comments