~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnits.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#set( $size = $object.size() )
 
2
{ "organisationUnits": [
 
3
#foreach ( $unit in $object )
 
4
  {
 
5
    "id": $!{unit.id},
 
6
    "name": "$!{unit.name}",
 
7
    "shortName": "$!{unit.shortName}",
 
8
    "code": "$!{unit.code}",
 
9
    "openingDate": "$!{unit.openingDate}",
 
10
    "closedDate": "$!{unit.closedDate}",
 
11
    "active": "$!{unit.active}",
 
12
    "comment": "$!{unit.comment}",
 
13
    "geoCode": "$!{unit.geoCode}",
 
14
    "latitude": "$!{unit.latitude}",
 
15
    "longitude": "$!{unit.longitude}"
 
16
  }#if( $velocityCount < $size ),#end
 
17
#end
 
18
] }
 
19
 
 
 
b'\\ No newline at end of file'