← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1078: minor updates to TEI docs

 

------------------------------------------------------------
revno: 1078
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Sun 2014-05-25 16:04:13 +0200
message:
  minor updates to TEI docs
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	2014-05-23 18:07:14 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2014-05-25 14:04:13 +0000
@@ -4410,20 +4410,22 @@
       needed for working with tracked entity instances and programs are supported.</para>
     <section>
       <title>Creating a new tracked entity instance</title>
-      <para>For creating a new person in the system, you will be working with the <emphasis role="italic">trackedEntityInstances</emphasis>
-        resource. A template payload can be seen
+      <para>For creating a new person in the system, you will be working with the <emphasis
+          role="italic">trackedEntityInstances</emphasis> resource. A template payload can be seen
         below:<screen>{
-    "trackedEntity": "Tracked Entity UID",
-    "orgUnit": "Organisation unit identifier",
+    "trackedEntity": "tracked-entity-id",
+    "orgUnit": "org-unit-id",
     "attributes": [ {
-        "type": "Name attribute UID",
-        "value": "My Name"
+        "attribute": "attribute-id",
+        "value": "attribute-value"
     } ]
 }</screen></para>
-      <para>For getting the IDs for <emphasis role="italic">relationship</emphasis>, <emphasis role="italic">attributes</emphasis> you can
-        have a look at the respective resources <emphasis role="italic">relationshipTypes</emphasis>,, <emphasis role="italic"
-          >trackedEntityAttributes</emphasis>. To create a person you must use the HTTP <emphasis role="bold">POST</emphasis> method. You
-        can post the payload the the following URL:</para>
+      <para>For getting the IDs for <emphasis role="italic">relationship</emphasis>, <emphasis
+          role="italic">attributes</emphasis> you can have a look at the respective resources
+          <emphasis role="italic">relationshipTypes</emphasis>,, <emphasis role="italic"
+          >trackedEntityAttributes</emphasis>. To create a tracked entity instance you must use the
+        HTTP <emphasis role="bold">POST</emphasis> method. You can post the payload the the
+        following URL:</para>
       <screen>/api/trackedEntityInstances</screen>
     </section>
     <section>