#set( $types = $model.types )

$model.serviceName JSON service

Introduction

This URL exposes a web service as JSON service. To use this service, first include the following script in HTML:

<script href="$requestURL?js"/></script>

Then you can make asynchronous calls to the exposed operations like this:

svc.method( {...request parameters...}, function(returnValue) { ... } );

Operations

#foreach($op in $model.operations) #end
Method name Input type Output type
$op.methodName $op.input.link $op.output.link
#foreach($t in $types)

$t.name type

$t.name = { #foreach( $p in $t.properties.keySet() ) $p : ${t.properties.get($p).link}#if($velocityCount!=$t.properties.size()),#end #end };
#end

Operations

Types

    #foreach($t in $model.types)
  • $t.name
  • #end

Links