← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 531: Financial period types

 

------------------------------------------------------------
revno: 531
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2012-07-09 17:47:21 +0200
message:
  Financial period types
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	2012-06-15 18:20:45 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2012-07-09 15:47:21 +0000
@@ -86,6 +86,24 @@
             <entry>2004</entry>
             <entry>2004</entry>
           </row>
+          <row>
+            <entry>Financial Year April</entry>
+            <entry>yyyyApril</entry>
+            <entry>2004April</entry>
+            <entry>Apr 2004-Mar 2005</entry>
+          </row>
+          <row>
+            <entry>Financial Year July</entry>
+            <entry>yyyyJuly</entry>
+            <entry>2004July</entry>
+            <entry>July 2004-June 2005</entry>
+          </row>
+          <row>
+            <entry>Financial Year Oct</entry>
+            <entry>yyyyOct</entry>
+            <entry>2004Oct</entry>
+            <entry>Oct 2004-Sep 2005</entry>
+          </row>
         </tbody>
       </tgroup>
     </table>
@@ -234,6 +252,10 @@
     <para>The header tells us that the request was processed successfully and that we are receiving a response in XML format. The XML message looks familiar - it is the data values we sent in the previous section.</para>
   </section>
   <section>
+    <title>Example: Reading aggregated data values</title>
+    <para>In order to read aggregated data values you can utilize the reportTables resource. This resouce lets you retrieve data from predefined report tables as well as custom data responses for any number of indicators, data elements, data sets, periods and organisatio units.</para>
+  </section>
+  <section>
     <title>Example: Writing and reading messages</title>
     <para>DHIS 2 features a mechanism for sending messages for purposes such as user feedback, notifications and general information to  users. Messages are delivered to the DHIS 2 message inbox but can also be sent to the user&apos;s email addresses and mobile phones as SMS. In this example we will see how we can utilize the Web API to send and read messages. We will pretend to be the <emphasis role="italic">DHIS Administrator</emphasis>   user  and  send a message to the  <emphasis role="italic">Mobile</emphasis> user. We will then pretend to be the  mobile user and read our new message.</para>
     <para>The resource we need to interact with when sending and reading messages is the <emphasis role="italic">messageConversations</emphasis> resource. We start by visiting the Web API entry point at <ulink url="http://apps.dhis2.org/demo/api"/> where we find and follow the link to the <emphasis role="italic">messageConversations</emphasis> resource at <ulink url="http://apps.dhis2.org/demo/api/messageConversations"/>. The description tells us that we can use a POST request to create a new message using the following XML format:</para>