TX Text Control Blog

New ReportingCloud endpoint: List available fonts

Björn Meyer

Blogged by Björn Meyer on March 29, 2017 and tagged with reportingcloud, reporting, rest, web api.


We just rolled out a new Web API endpoint which returns available font names that can be used to create and merge templates for merge processes with ReportingCloud.

GET https://api.reporting.cloud/v1/fonts/list

The cross-browser HTML5-based template editor provides fonts that can be used to design merge templates. But ReportingCloud also provides a functionality to upload MS Word documents in standard formats such as RTF, DOC, and DOCX. In order to ensure that only supported fonts are used, this new endpoint can be used to retrieve this list.

The following curl call shows the usage of this endpoint:

On success, it returns an array of available font names:

The .NET wrapper for ReportingCloud has been extended with the ListFonts method:

Test this on your own and create a trial account today.

Happy coding!

 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner