/data/archive/projects/{PROJECT_ID}/searches/{SEARCH_ID}

HTTP CommandRequest & Response format
GET: REQ 
GET: RESP

xml

PUT: REQxml
PUT: RESP200, 422, 500
DELETE: REQ 
DELETE: RESP200, 404, 500

Description

GET / PUT / DELETE: Create a Stored Search, generate an XML report output, or delete a stored search.

Parameters

NONE

Examples

The following REST URL on XNAT Central ...

https://central.xnat.org/REST/projects/CENTRAL_OASIS_CS/searches/@xnat:mrsessiondata

... will produce this table of results, which is formatted as XML .


<xdat:bundle xmlns:sapssans="http://nrg.wustl.edu/sapssans" xmlns:cnda="http://nrg.wustl.edu/cnda" xmlns:arc="http://nrg.wustl.edu/arc" xmlns:val="http://nrg.wustl.edu/val"xmlns:pipe="http://nrg.wustl.edu/pipe" xmlns:fs="http://nrg.wustl.edu/fs" xmlns:sf="http://nrg.wustl.edu/sf" xmlns:wrk="http://nrg.wustl.edu/workflow"xmlns:xdat="http://nrg.wustl.edu/security" xmlns:cat="http://nrg.wustl.edu/catalog" xmlns:nunda="http://nrg.wustl.edu/nunda" xmlns:prov="http://www.nbirn.net/prov"xmlns:xnat="http://nrg.wustl.edu/xnat" xmlns:xnat_a="http://nrg.wustl.edu/xnat_assessments" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="CENTRAL_OASIS_CS_xnat:mrsessiondata"allow-diff-columns="0" secure="0" brief-description="xnat:mrsessiondata" tag="CENTRAL_OASIS_CS" xsi:schemaLocation="http://nrg.wustl.edu/fs https://central.xnat.org/schemas/fs/fs.xsd http://nrg.wustl.edu/workflow https://central.xnat.org/schemas/pipeline/workflow.xsd http://nrg.wustl.edu/catalog https://central.xnat.org/schemas/catalog/catalog.xsd http://nrg.wustl.edu/pipe https://central.xnat.org/schemas/pipeline/repository.xsd http://nrg.wustl.edu/nunda https://central.xnat.org/schemas/nunda/nunda.xsd http://nrg.wustl.edu/arc https://central.xnat.org/schemas/project/project.xsd http://nrg.wustl.edu/cnda https://central.xnat.org/schemas/cnda_xnat/cnda_xnat.xsd http://nrg.wustl.edu/val https://central.xnat.org/schemas/validation/protocolValidation.xsd http://nrg.wustl.edu/sf https://central.xnat.org/schemas/subjforms/subjforms.xsd http://nrg.wustl.edu/sapssans https://central.xnat.org/schemas/sapssans/sapssans.xsd http://nrg.wustl.edu/xnat https://central.xnat.org/schemas/xnat/xnat.xsd http://nrg.wustl.edu/xnat_assessments https://central.xnat.org/schemas/assessments/assessments.xsd http://www.nbirn.net/prov https://central.xnat.org/schemas/birn/birnprov.xsd http://nrg.wustl.edu/security https://central.xnat.org/schemas/security/security.xsd">
 <xdat:root_element_name>xnat:mrSessionData</xdat:root_element_name>
  <xdat:search_field>
  <!--
hidden_fields[xdat_search_field_id="null",xdat_stored_search_id="null"]
-->


 <xdat:element_name>xnat:mrSessionData</xdat:element_name>
 <xdat:field_ID>MR_PROJECT_IDENTIFIER=CENTRAL_OASIS_CS</xdat:field_ID>
 <xdat:sequence>0</xdat:sequence>
 <xdat:type>string</xdat:type>
 <xdat:header>MR ID</xdat:header>
 <xdat:value>CENTRAL_OASIS_CS</xdat:value>
 
</xdat:search_field>


  <xdat:search_field>
  <!--
hidden_fields[xdat_search_field_id="null",xdat_stored_search_id="null"]
-->


 <xdat:element_name>xnat:mrSessionData</xdat:element_name>
 <xdat:field_ID>DATE</xdat:field_ID>
 <xdat:sequence>1</xdat:sequence>
 <xdat:type>date</xdat:type>
 <xdat:header>Date</xdat:header>
 
</xdat:search_field>

$label.name