For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted

How can I get the templates' headers using the C# toolkit?

Hello,

I wonder how can I get the templates' headers?(could they be "Content fields"?) using the .NET SDK.

From the web I can see them:

Thanks for advance, Maxi.

dss-rest-apidssdatascope-selecttemplate
pic1.png (19.4 KiB)
pic2.png (42.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
29k 33 11 15

Hello @maximiliano-hernan.ruiz,

Yes, you can get fields.

"All Available":

"Report Template Examples" => "Lookups: Get Available Fields"

And fields per your created template:

"Report Template Examples " => "Get: Content Fields"

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
29k 33 11 15

Hello @maximiliano-hernan.ruiz,

If I understand your question correctly, please review

C# Example Application

"Report Template Examples" => "Get All".

You will have to page, one by one, via link, to get all the templates, as the example shows done once.

If this is not it, please elaborate on what you are looking for, if possible, give an example.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

Hi Zoya! thanks for the answer.

Yes, I did that and I get all the templates what I have.

What I need to get the fields name that you can see on the 2nd image.
As you can see in the 1st image,there are some fields that I need to get when I call to: ReportTemplateOperations.GetAll (just I took one as an example,to explain it better). It's the same template in both pictures, but I don't know how can I get the fields from the 2nd image by code.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

Thanks so much!. it worked.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.