GET api/metadataexport/{projectId}?onlyInclude={onlyInclude}

Get entity metadata for export to csv file

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

The project id we are looking for

integer

Required

onlyInclude

Optional argument to filter by entity type - should be a comma separated list of entity types, e.g. "Virtual,Host"

string

Default value is

Body Parameters

None.

Response Information

Resource Description

List of lines to be written to a csv file. The first line contains column headers

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>