Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get List of Stored Searches

Code Block
GET /data/search/saved

...

Response Formats: JSON (default), XML, CSV

 

Get A Specific Stored Search

This function will return the XML definition of a specified stored search.

...

ParameterDescriptionParameter TypeData Type
IDThe unique ID of the stored search. These will be returned in the list of stored searchesPathstring

Response Formats: XML

 

Create A Stored Search

This function will allow you to create a new stored search by posting XML to the XNAT search API.

...

ParameterDescriptionParameter TypeData Type
modelThe XML structure of the stored search you want to create. See Share Custom Data Tables as Stored Searches for Project Reporting for notes on formatting.BodyXML

 

Update A Stored Search

This function will allow you to post an updated XML definition to an already-created stored search.

...

ParameterDescriptionParameter TypeData Type
IDThe unique ID of the stored search. These will be returned in the list of stored searchesPathstring
modelThe XML structure of the stored search you want to create. See Share Custom Data Tables as Stored Searches for Project Reporting for notes on formatting.bodyXML

 

Get Results From A Stored Search

Code Block
GET /data/search/saved/{ID}/results

...