Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 880 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<api xmlns="http://ws.apache.org/ns/synapse"
name="tvstations"
context="/channels">
<resource methods="GET">
<inSequence>
<payloadFactory media-type="json">
<format>{ "details":{ "totalChannelCount":4, "channelDetails":{ "channelDetail":[ { "name":"TV-01", "owner":"ajith", "location":"Colombo 05" }, { "name":"TV-02", "owner":"vajira", "location":"Colombo 05" }, { "name":"TV-03", "owner":"ranjith", "location":"Colombo 05" }, { "name":"TV-04", "owner":"lakmali", "location":"Colombo 05" } ] } }}</format>
<args/>
</payloadFactory>
<respond/>
</inSequence>
</resource>
</api>