Ignore:
Timestamp:
Oct 21, 2010, 2:49:59 PM (6 years ago)
Author:
business@…
Message:

added parentStudyToken to getAssay REST call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/RestController.groovy

    r960 r963  
    213213        * Returns the JSON object: {"name":"Lipid profiling","module":{"class":"dbnp.studycapturing.AssayModule","id":1,
    214214        * "name":"SAM module for clinical data","platform":"clinical measurements","url":"http://sam.nmcdsp.org"},
    215         * "assayToken":"PPS3_SAM","Description":null}
     215        * "assayToken":"PPS3_SAM","parentStudyToken":"PPS","Description":null}
    216216        */
    217217        def getAssay = {
     
    225225                                        items[name] = value
    226226                                }
     227                                items["parentStudyToken"] = assay.parent.getToken()
    227228                        }
    228229        }
Note: See TracChangeset for help on using the changeset viewer.