Changeset 648 for trunk/src


Ignore:
Timestamp:
Jul 13, 2010, 1:32:05 PM (13 years ago)
Author:
jahn
Message:

Corrected error in example of documentation for Rest resource (getQueryResult).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/groovy/dbnp/rest/common/CommunicationManager.groovy

    r646 r648  
    190190                //               additional assay information from SAM provided as a map.
    191191                // Example of a returned map:
    192                 //               [studyIds:[PPSH],
    193                 //                               assays:[[isIntake:false, isDrug:false, correctionMethod:test Correction Method 1,
    194                 //                               detectableLimit:1, isNew:false, class:data.SimpleAssay, externalAssayID:1, id:1,
    195                 //                               measurements:null, unit:Insulin, inSerum:false, name:test Simple Assay 1,
    196                 //                               referenceValues:test Reference Values 1]]]
     192                //                               ["studies":[NuGO PPS human study],
     193                //               "assays":[[["isIntake":false, "isDrug":false, "correctionMethod":"test Correction Method 1", "detectableLimit":1, "isNew":false,
     194                //               "class":"data.SimpleAssay", "externalAssayID":"1", "id":1, "measurements":null, "unit":"Insulin", "inSerum":false,
     195        //                               "name":"test Simple Assay 1", "referenceValues":"test Reference Values 1"], dbnp.studycapturing.Assay : 1]]]
    197196                def closure = { map ->
    198197                    def studies = []   
     
    210209
    211210                addRestWrapper( url+'/rest', 'getQueryResult',  ['query'], closure )
    212                
    213211    }
    214212
Note: See TracChangeset for help on using the changeset viewer.