/data/archive/projects/{ID}/scan_types

HTTP CommandRequest & Response format
GET: REQ 
GET: RESP

html
json
xml

Description

GET: Retrieves a list of scan types associated with this project

This URI returns a static set of columns (they cannot be customized by the client).

series_descriptionsThe name of a tool that has a configuration file.
 type

Parameters

   
formatoptionalUser can specify the format of the returned data set, by adding the ?format= parameter at the end of the URI. Options are HTML, JSON, XML, or CSV.

Examples

The following REST URL on XNAT Central ...

https://central.xnat.org/REST/projects/CENTRAL_OASIS_CS/scan_types

... will produce this table of results, which is formatted as HTML by default.

series_descriptionstype
 MPRAGE

Other Formats

You can retrieve a result set in XML, CSV, or JSON format as well by appending a tag on the end of the URL. For example, this REST URL on XNAT Central ...

https://central.xnat.org/REST/projects/CENTRAL_OASIS_CS/scan_types?format=json

... will produce a JSON-formatted result string.

{"ResultSet":{"Result":[{"series_descriptions":"","type":"MPRAGE"}], "totalRecords": "1","title": "Scan Types"}}

$label.name