← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 823: Minor

 

------------------------------------------------------------
revno: 823
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2013-10-03 12:39:25 +0200
message:
  Minor
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2013-10-03 08:22:58 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-10-03 10:39:25 +0000
@@ -2172,7 +2172,7 @@
         <colspec colname="c1" colnum="1" colwidth="1.8*"/>
         <colspec colname="c2" colnum="2" colwidth="1*"/>
         <colspec colname="c3" colnum="3" colwidth="4.3*"/>
-        <colspec colname="c4" colnum="4" colwidth="1.69*"/>
+        <colspec colname="c4" colnum="4" colwidth="1.7*"/>
         <thead>
           <row>
             <entry><emphasis role="italic">Query parameter</emphasis></entry>
@@ -2230,10 +2230,10 @@
       <table frame="all">
         <title>Query parameters for event query analytics only</title>
         <tgroup cols="4">
-          <colspec colname="c1" colnum="1" colwidth="1.85*"/>
+          <colspec colname="c1" colnum="1" colwidth="1.8*"/>
           <colspec colname="c2" colnum="2" colwidth="1*"/>
-          <colspec colname="c3" colnum="3" colwidth="4.4*"/>
-          <colspec colname="c4" colnum="4" colwidth="1.72*"/>
+          <colspec colname="c3" colnum="3" colwidth="4.3*"/>
+          <colspec colname="c4" colnum="4" colwidth="1.7*"/>
           <thead>
             <row>
               <entry><emphasis role="italic">Query parameter</emphasis></entry>
@@ -2282,12 +2282,12 @@
         </tgroup>
       </table>
       <table frame="all">
-        <title>Query parameters for event query analytics</title>
+        <title>Query parameters for aggregate event analytics only</title>
         <tgroup cols="4">
-          <colspec colname="c1" colnum="1" colwidth="1.89*"/>
+          <colspec colname="c1" colnum="1" colwidth="1.8*"/>
           <colspec colname="c2" colnum="2" colwidth="1*"/>
-          <colspec colname="c3" colnum="3" colwidth="4.46*"/>
-          <colspec colname="c4" colnum="4" colwidth="1.74*"/>
+          <colspec colname="c3" colnum="3" colwidth="4.3*"/>
+          <colspec colname="c4" colnum="4" colwidth="1.7*"/>
           <thead>
             <row>
               <entry><emphasis role="italic">Query parameter</emphasis></entry>
@@ -2553,6 +2553,9 @@
         discharge" and Gender" as dimensions, where "Gender" is filtered on the "Male" item, you can
         use a query like this:</para>
       <screen>api/analytics/events/aggregate/eBAyeGv0exc?filter=pe:2012&amp;filter=ou:O6uvpzGd5pu&amp;dimension=fWIAEtYVEGk&amp;dimension=oZg33kd9taw:EQ:Male</screen>
+      <para>To create a "Top 3 report" for "Mode of discharge" you can use the limit and sortOrder
+        query parameters similar to this:</para>
+      <screen>api/analytics/events/aggregate/eBAyeGv0exc?filter=pe:2012&amp;filter=ou:O6uvpzGd5pu&amp;dimension=fWIAEtYVEGk&amp;limit=3&amp;sortOrder=DESC</screen>
     <section>
 	<title>Response formats</title>
     <para>The default response representation format is JSON. The requests must be using the HTTP