Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Creating subjects via the XNAT REST API is simple. Performing a PUT to the following URI would create a subject. (This would create a subject called '1' within a project with the ID 'TEST')


The TEST project must exist before this command will succeed.

You can also assign demographics to this subject using the XML PATH shortcuts defined here:  

To assign the gender and handedness to this subject, you would execute the following PUT.


Review the list of XML PATH shortcuts for a comprehensive list of the available fields.

  • No labels