Export data for one object in a report as comma-separated values

get/reports/{reportId}/csv
Internal-Use Only

Export the data for a report object in the requested exported format (comma-separated values). The report object can be any table, graph or crosstab in the report.

Request Samples

1

Response Samples

1{
2 "STATE","CITY","Catalog","CUSTNUM"
3 "OR","","Collectibles","20832000"
4 "WA","Olympia","Collectibles","."
5 "WA","Redmond","Collectibles","."
6 "WA","Renton","Collectibles","."
7 "WA","Seattle","Collectibles","2524000"
8 "OR","","Gardening","."
9 "WA","Olympia","Gardening","5548000"
10 "WA","Redmond","Gardening","."
11 "WA","Renton","Gardening","."
12 "WA","Seattle","Gardening","8762000"
13 "OR","","Pets","90272000"
14 "WA","Olympia","Pets","5548000"
15 "WA","Redmond","Pets","5420000"
16 "WA","Renton","Pets","3666000"
17 "WA","Seattle","Pets","8750000"
18 "OR","","Software","34720000"
19 "WA","Olympia","Software","9709000"
20 "WA","Redmond","Software","."
21 "WA","Renton","Software","1222000"
22 "WA","Seattle","Software","5048000"
23 "OR","","Sports","13888000"
24 "WA","Olympia","Sports","9709000"
25 "WA","Redmond","Sports","2710000"
26 "WA","Renton","Sports","2444000"
27 "WA","Seattle","Sports","15108000"
28 "OR","","Toys","48608000"
29}
30

Path Parameters

NameTypeRequiredDescription
reportId
string
true

Identifier of report resource.

Query Parameters

NameTypeRequiredDescription
reportObject
string
true

The name of the report object as shown in the VA user interface. Report objects include visual elements like graphs, tables, and visual containers that the author has created in the layout, as well as complete pages. Specifying the object by its label makes it more convenient for the report author or viewer and does not to expose the internal names of objects in the model. However, if the client knows the internal identifier of a report object, it can be used instead of the label.

Examples:
"Bar+Chart+1"

Header Parameters

NameTypeRequiredDescription
Accept-Language
string
false

The user's language, which is used in both rendering and caching. For technical details, see "/tools.ietf.org/html/rfc7231#section-5.3.5" It affects the language of reports if they have been translated. This setting overrides any other user preference that has been set, such as the "offline process locale" preference in Visual Analytics. If this header is not set and there is no user preference, the language is the default language of the service.

Accept-Locale
string
false

A "format locale" that is distinct from the user's language (Accept-Language). Its syntax is similar to Accept-Language. It is honored in running of queries and formatting of values. This setting overrides any other user preference that has been set, such as the "regional locale for formats" preference in Visual Analytics. If this header is not set and there is no user preference, the format locale is the default locale of the service.

Responses

StatusMeaningDescription
200OKSuccessful execution. Response is the data in CSV format.HeadersSchema
400Bad RequestBad request error.Schema
403ForbiddenForbidden error.Schema
404Not FoundNot found ErrorSchema